diff options
author | Dinh Nguyen <Dinh.Nguyen@freescale.com> | 2010-10-12 12:29:01 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-19 12:44:57 -0400 |
commit | 68a2f7301ae3a97bf7b1713d20de7618c9b9a5f5 (patch) | |
tree | 88551319ae3eda9fe9a1939682026040d1f74f47 /arch/arm/plat-mxc/Kconfig | |
parent | 81490fcdf406f42fff9d9f57d541788f90242885 (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/Kconfig | 4 |
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 | |||
122 | config ARCH_MXC_AUDMUX_V2 | 122 | config ARCH_MXC_AUDMUX_V2 |
123 | bool | 123 | bool |
124 | 124 | ||
125 | config IRAM_ALLOC | ||
126 | bool | ||
127 | select GENERIC_ALLOCATOR | ||
128 | |||
125 | endif | 129 | endif |