aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/mx1.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-10-25 09:44:25 -0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-17 02:58:11 -0500
commita99631489bbd1b4647b82d0822b6a3942e2dd731 (patch)
tree9af7ee56eea709ae48587ca5409e768fbf68917a /arch/arm/plat-mxc/include/mach/mx1.h
parentcf3a6aba2f8402d4e45f7f263a0e69f779cd1bdc (diff)
ARM: imx: change static io mapping to use a function
Now only the virtual addresses [0xf4000000, 0xf5ffffff] are used for static per-SoC mappings. The few mappings of whole chip selects are moved accordingly. The now wrong defines for virtual base addresses are removed. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx1.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/mx1.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx1.h b/arch/arm/plat-mxc/include/mach/mx1.h
index b41c2887f65c..b786ae783d1b 100644
--- a/arch/arm/plat-mxc/include/mach/mx1.h
+++ b/arch/arm/plat-mxc/include/mach/mx1.h
@@ -19,7 +19,6 @@
19 */ 19 */
20#define MX1_IO_BASE_ADDR 0x00200000 20#define MX1_IO_BASE_ADDR 0x00200000
21#define MX1_IO_SIZE SZ_1M 21#define MX1_IO_SIZE SZ_1M
22#define MX1_IO_BASE_ADDR_VIRT VMALLOC_END
23 22
24#define MX1_CS0_PHYS 0x10000000 23#define MX1_CS0_PHYS 0x10000000
25#define MX1_CS0_SIZE 0x02000000 24#define MX1_CS0_SIZE 0x02000000
@@ -73,8 +72,7 @@
73#define MX1_CSI_BASE_ADDR (0x24000 + MX1_IO_BASE_ADDR) 72#define MX1_CSI_BASE_ADDR (0x24000 + MX1_IO_BASE_ADDR)
74 73
75/* macro to get at IO space when running virtually */ 74/* macro to get at IO space when running virtually */
76#define MX1_IO_P2V(x) ( \ 75#define MX1_IO_P2V(x) IMX_IO_P2V(x)
77 IMX_IO_P2V_MODULE(x, MX1_IO))
78#define MX1_IO_ADDRESS(x) IOMEM(MX1_IO_P2V(x)) 76#define MX1_IO_ADDRESS(x) IOMEM(MX1_IO_P2V(x))
79 77
80/* fixed interrput numbers */ 78/* fixed interrput numbers */
@@ -171,7 +169,6 @@
171/* these should go away */ 169/* these should go away */
172#define IMX_IO_PHYS MX1_IO_BASE_ADDR 170#define IMX_IO_PHYS MX1_IO_BASE_ADDR
173#define IMX_IO_SIZE MX1_IO_SIZE 171#define IMX_IO_SIZE MX1_IO_SIZE
174#define IMX_IO_BASE MX1_IO_BASE_ADDR_VIRT
175#define IMX_CS0_PHYS MX1_CS0_PHYS 172#define IMX_CS0_PHYS MX1_CS0_PHYS
176#define IMX_CS0_SIZE MX1_CS0_SIZE 173#define IMX_CS0_SIZE MX1_CS0_SIZE
177#define IMX_CS1_PHYS MX1_CS1_PHYS 174#define IMX_CS1_PHYS MX1_CS1_PHYS