diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-14 21:09:00 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-14 21:09:00 +0400 |
commit | c993487ec87ba6d9ea47b03dad562123d503f4a2 (patch) | |
tree | b7e9332b6fbbb8bf105b7db8e79bc0e1d6f55033 /arch/sh/mm/Kconfig | |
parent | b6b77b2d5ffd2f8ee74fcc27661f7f4962c34705 (diff) | |
download | linux-c993487ec87ba6d9ea47b03dad562123d503f4a2.tar.xz |
sh: Provide a generic SRAM pool for tiny memories.
This sets up a generic SRAM pool for CPUs and platform code to insert
their otherwise unused memories into. A simple alloc/free interface is
provided (lifed from avr32) for generic code.
This only applies to tiny SRAMs that are otherwise unmanaged, and does
not take in to account the more complex SRAMs sitting behind transfer
engines, or that employ an I/D split.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r-- | arch/sh/mm/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 1445ca6257df..09370392aff1 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig @@ -168,6 +168,10 @@ config IOREMAP_FIXED config UNCACHED_MAPPING bool +config HAVE_SRAM_POOL + bool + select GENERIC_ALLOCATOR + choice prompt "Kernel page size" default PAGE_SIZE_4KB |