diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-05-07 12:31:42 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-05-28 18:18:13 -0400 |
commit | 20e9969b3aa5166d50c8df474967c9d80bf6d481 (patch) | |
tree | bc0a72c26cd5fece59dd02fb6df0851c69e3a74d /arch/arm/Kconfig | |
parent | 0d04eb47054f685b23033ed6ceadfb20db77c5b3 (diff) |
davinci: add SRAM allocator
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: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9d02cdb15b23..915b39382e65 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -587,6 +587,7 @@ config ARCH_DAVINCI | |||
587 | select ZONE_DMA | 587 | select ZONE_DMA |
588 | select HAVE_IDE | 588 | select HAVE_IDE |
589 | select COMMON_CLKDEV | 589 | select COMMON_CLKDEV |
590 | select GENERIC_ALLOCATOR | ||
590 | help | 591 | help |
591 | Support for TI's DaVinci platform. | 592 | Support for TI's DaVinci platform. |
592 | 593 | ||