aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/Kconfig
diff options
context:
space:
mode:
authorDinh Nguyen <Dinh.Nguyen@freescale.com>2010-10-12 12:29:01 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-19 12:44:57 -0400
commit68a2f7301ae3a97bf7b1713d20de7618c9b9a5f5 (patch)
tree88551319ae3eda9fe9a1939682026040d1f74f47 /arch/arm/plat-mxc/Kconfig
parent81490fcdf406f42fff9d9f57d541788f90242885 (diff)
ARM: imx: Add iram allocator functions
Add IRAM(Internal RAM) allocation functions using GENERIC_ALLOCATOR. The allocation size is 4KB multiples to guarantee alignment. The idea for these functions is for i.MX platforms to use them to dynamically allocate IRAM usage. Applies on 2.6.36-rc7 Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Reviewed-by: Amit Kucheria <amit.kucheria@canonical.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/Kconfig')
-rw-r--r--arch/arm/plat-mxc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig
index 95f8d614d4fc..64e3a64520e0 100644
--- a/arch/arm/plat-mxc/Kconfig
+++ b/arch/arm/plat-mxc/Kconfig
@@ -122,4 +122,8 @@ config ARCH_MXC_AUDMUX_V1
122config ARCH_MXC_AUDMUX_V2 122config ARCH_MXC_AUDMUX_V2
123 bool 123 bool
124 124
125config IRAM_ALLOC
126 bool
127 select GENERIC_ALLOCATOR
128
125endif 129endif