aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/Makefile
diff options
context:
space:
mode:
authorLeo Yan <leoy@marvell.com>2011-08-14 23:09:52 -0400
committerEric Miao <eric.y.miao@gmail.com>2011-10-25 08:29:20 -0400
commit3c7241bd36e2a618fe20c91f6c69cc20f2d981f2 (patch)
tree90d777c71c914d5ec252d252f84944f52bb475a5 /arch/arm/mach-mmp/Makefile
parentc3b92c8787367a8bb53d57d9789b558f1295cc96 (diff)
ARM: mmp: add sram allocator
On mmp platform, there have two sram banks: audio sram and internal sram. The audio sram is mainly for audio; the internal sram is for video, wtm and power management. So add the sram allocator using genalloc to manage them. Every sram bank will register its own platform device info, after the sram allocator create the generic pool for the sram bank, the user module can use the pool's name to get the pool handler; then it can use the handler to alloc/free memory with genalloc APIs. Signed-off-by: Leo Yan <leoy@marvell.com> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp/Makefile')
-rw-r--r--arch/arm/mach-mmp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/Makefile b/arch/arm/mach-mmp/Makefile
index b0ac942327aa..169c6743bde8 100644
--- a/arch/arm/mach-mmp/Makefile
+++ b/arch/arm/mach-mmp/Makefile
@@ -7,7 +7,7 @@ obj-y += common.o clock.o devices.o time.o
7# SoC support 7# SoC support
8obj-$(CONFIG_CPU_PXA168) += pxa168.o irq-pxa168.o 8obj-$(CONFIG_CPU_PXA168) += pxa168.o irq-pxa168.o
9obj-$(CONFIG_CPU_PXA910) += pxa910.o irq-pxa168.o 9obj-$(CONFIG_CPU_PXA910) += pxa910.o irq-pxa168.o
10obj-$(CONFIG_CPU_MMP2) += mmp2.o irq-mmp2.o 10obj-$(CONFIG_CPU_MMP2) += mmp2.o irq-mmp2.o sram.o
11 11
12# board support 12# board support
13obj-$(CONFIG_MACH_ASPENITE) += aspenite.o 13obj-$(CONFIG_MACH_ASPENITE) += aspenite.o