diff options
author | Frank Li <Frank.Li@freescale.com> | 2010-03-15 17:44:45 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-25 11:17:22 +0200 |
commit | 5ee97fee2dbe6df81b8d2bdab3ae8ebeaf894df7 (patch) | |
tree | 5b829bfeddcbf0683d4791cfdf3c526a6431752f /arch/arm/mach-mx23/device.c | |
parent | 6d6122849bf4d35a388158c0f293a4a78d3c722c (diff) |
ENGR00121581 MX23 and iMX28 add iram alloc support
Add iram allocate support
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/mach-mx23/device.c')
-rw-r--r-- | arch/arm/mach-mx23/device.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mx23/device.c b/arch/arm/mach-mx23/device.c index 4fde597d1b7b..7d504365ddd4 100644 --- a/arch/arm/mach-mx23/device.c +++ b/arch/arm/mach-mx23/device.c @@ -714,6 +714,12 @@ static struct __initdata map_desc mx23_io_desc[] = { .length = MX23_SOC_IO_AREA_SIZE, .type = MT_DEVICE, }, + { + .virtual = MX23_OCRAM_BASE, + .pfn = __phys_to_pfn(MX23_OCRAM_PHBASE), + .length = MX23_OCRAM_SIZE, + .type = MT_DEVICE, + }, }; void __init mx23_map_io(void) |