1. 17 9月, 2009 3 次提交
  2. 26 8月, 2009 34 次提交
  3. 06 6月, 2009 1 次提交
  4. 29 5月, 2009 2 次提交
    • D
      davinci: add SRAM allocator · 20e9969b
      David Brownell 提交于
      Provide a generic SRAM allocator using genalloc, and vaguely
      modeled after what AVR32 uses.  This builds on top of the
      static CPU mapping set up in the previous patch, and returns
      DMA mappings as requested (if possible).
      
      Compared to its OMAP cousin, there's no current support for
      (currently non-existent) DaVinci power management code running
      in SRAM; and this has ways to deallocate, instead of being
      allocate-only.
      
      The initial user of this should probably be the audio code,
      because EDMA from DDR is subject to various dropouts on at
      least DM355 and DM6446 chips.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      20e9969b
    • D
      davinci: soc-specific SRAM setup · 0d04eb47
      David Brownell 提交于
      Package on-chip SRAM.  It's always accessible from the ARM, so
      set up a standardized virtual address mapping into a 128 KiB
      area that's reserved for platform use.
      
      In some cases (dm6467) the physical addresses used for EDMA are
      not the same as the ones used by the ARM ... so record that info
      separately in the SOC data, for chips (unlike the OMAP-L137)
      where SRAM may be used with EDMA.
      
      Other blocks of SRAM, such as the ETB buffer or DSP L1/L2 RAM,
      may be unused/available on some system.  They are ignored here.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      0d04eb47