ARM: imx: Add iram allocator functions
authorDinh Nguyen <Dinh.Nguyen@freescale.com>
Tue, 12 Oct 2010 16:29:01 +0000 (11:29 -0500)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 19 Oct 2010 16:44:57 +0000 (18:44 +0200)
commit68a2f7301ae3a97bf7b1713d20de7618c9b9a5f5
tree88551319ae3eda9fe9a1939682026040d1f74f47
parent81490fcdf406f42fff9d9f57d541788f90242885
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>
arch/arm/plat-mxc/Kconfig
arch/arm/plat-mxc/Makefile
arch/arm/plat-mxc/include/mach/iram.h [new file with mode: 0644]
arch/arm/plat-mxc/iram_alloc.c [new file with mode: 0644]
This page took 0.024718 seconds and 5 git commands to generate.