diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-15 02:09:00 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-15 02:09:00 +0900 |
commit | c993487ec87ba6d9ea47b03dad562123d503f4a2 (patch) | |
tree | b7e9332b6fbbb8bf105b7db8e79bc0e1d6f55033 /arch/sh/mm/Makefile | |
parent | b6b77b2d5ffd2f8ee74fcc27661f7f4962c34705 (diff) | |
download | op-kernel-dev-c993487ec87ba6d9ea47b03dad562123d503f4a2.zip op-kernel-dev-c993487ec87ba6d9ea47b03dad562123d503f4a2.tar.gz |
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/Makefile')
-rw-r--r-- | arch/sh/mm/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/mm/Makefile b/arch/sh/mm/Makefile index 939663c..ab89ea4 100644 --- a/arch/sh/mm/Makefile +++ b/arch/sh/mm/Makefile @@ -40,6 +40,7 @@ obj-$(CONFIG_PMB) += pmb.o obj-$(CONFIG_NUMA) += numa.o obj-$(CONFIG_IOREMAP_FIXED) += ioremap_fixed.o obj-$(CONFIG_UNCACHED_MAPPING) += uncached.o +obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o # Special flags for fault_64.o. This puts restrictions on the number of # caller-save registers that the compiler can target when building this file. |