aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/mx31pdk.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx3/mx31pdk.c')
-rw-r--r--arch/arm/mach-mx3/mx31pdk.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/arch/arm/mach-mx3/mx31pdk.c b/arch/arm/mach-mx3/mx31pdk.c
index 9108f157b76c..bc63f1785691 100644
--- a/arch/arm/mach-mx3/mx31pdk.c
+++ b/arch/arm/mach-mx3/mx31pdk.c
@@ -59,32 +59,6 @@ static inline void mxc_init_imx_uart(void)
59} 59}
60 60
61/*! 61/*!
62 * This structure defines static mappings for the i.MX31PDK board.
63 */
64static struct map_desc mx31pdk_io_desc[] __initdata = {
65 {
66 .virtual = AIPS1_BASE_ADDR_VIRT,
67 .pfn = __phys_to_pfn(AIPS1_BASE_ADDR),
68 .length = AIPS1_SIZE,
69 .type = MT_DEVICE_NONSHARED
70 }, {
71 .virtual = AIPS2_BASE_ADDR_VIRT,
72 .pfn = __phys_to_pfn(AIPS2_BASE_ADDR),
73 .length = AIPS2_SIZE,
74 .type = MT_DEVICE_NONSHARED
75 },
76};
77
78/*!
79 * Set up static virtual mappings.
80 */
81static void __init mx31pdk_map_io(void)
82{
83 mxc_map_io();
84 iotable_init(mx31pdk_io_desc, ARRAY_SIZE(mx31pdk_io_desc));
85}
86
87/*!
88 * Board specific initialization. 62 * Board specific initialization.
89 */ 63 */
90static void __init mxc_board_init(void) 64static void __init mxc_board_init(void)
@@ -110,7 +84,7 @@ MACHINE_START(MX31_3DS, "Freescale MX31PDK (3DS)")
110 .phys_io = AIPS1_BASE_ADDR, 84 .phys_io = AIPS1_BASE_ADDR,
111 .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, 85 .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc,
112 .boot_params = PHYS_OFFSET + 0x100, 86 .boot_params = PHYS_OFFSET + 0x100,
113 .map_io = mx31pdk_map_io, 87 .map_io = mxc_map_io,
114 .init_irq = mxc_init_irq, 88 .init_irq = mxc_init_irq,
115 .init_machine = mxc_board_init, 89 .init_machine = mxc_board_init,
116 .timer = &mx31pdk_timer, 90 .timer = &mx31pdk_timer,