summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx23/include
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@freescale.com>2010-03-15 17:44:45 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-25 11:17:22 +0200
commit5ee97fee2dbe6df81b8d2bdab3ae8ebeaf894df7 (patch)
tree5b829bfeddcbf0683d4791cfdf3c526a6431752f /arch/arm/mach-mx23/include
parent6d6122849bf4d35a388158c0f293a4a78d3c722c (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/include')
-rw-r--r--arch/arm/mach-mx23/include/mach/mx23.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-mx23/include/mach/mx23.h b/arch/arm/mach-mx23/include/mach/mx23.h
index c9f6fd29bf78..51bfb0cce7ca 100644
--- a/arch/arm/mach-mx23/include/mach/mx23.h
+++ b/arch/arm/mach-mx23/include/mach/mx23.h
@@ -26,6 +26,15 @@
#define MX23_SOC_IO_VIRT_BASE 0xF0000000
#define MX23_SOC_IO_AREA_SIZE SZ_1M
+/* Virtual address where OCRAM is mapped */
+#define MX23_OCRAM_PHBASE 0x00000000
+#ifdef __ASSEMBLER__
+#define MX23_OCRAM_BASE 0xf1000000
+#else
+#define MX23_OCRAM_BASE (void __iomem *)0xf1000000
+#endif
+#define MX23_OCRAM_SIZE (32 * SZ_1K)
+
#define ICOLL_PHYS_ADDR (MX23_SOC_IO_PHYS_BASE + 0x000000)
#define APBH_DMA_PHYS_ADDR (MX23_SOC_IO_PHYS_BASE + 0x004000)
#define BCH_PHYS_ADDR (MX23_SOC_IO_PHYS_BASE + 0x00A000)