diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-imx/mach-cpuimx27.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-eukrea_cpuimx25.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-imx27_visstrim_m10.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-imx27ipcam.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-imx27lite.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-mx1ads.c | 22 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-mx21ads.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-mx25_3ds.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-mx27_3ds.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-mx27ads.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-mxt_td60.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-pca100.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-pcm038.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-scb9328.c | 13 | ||||
-rw-r--r-- | arch/arm/mach-imx/mm-imx1.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-imx/mm-imx21.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-imx/mm-imx25.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-imx/mm-imx27.c | 7 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/common.h | 4 |
19 files changed, 115 insertions, 87 deletions
diff --git a/arch/arm/mach-imx/mach-cpuimx27.c b/arch/arm/mach-imx/mach-cpuimx27.c index 6cf04da2456a..cabb800adbb6 100644 --- a/arch/arm/mach-imx/mach-cpuimx27.c +++ b/arch/arm/mach-imx/mach-cpuimx27.c | |||
@@ -304,9 +304,10 @@ static struct sys_timer eukrea_cpuimx27_timer = { | |||
304 | }; | 304 | }; |
305 | 305 | ||
306 | MACHINE_START(CPUIMX27, "EUKREA CPUIMX27") | 306 | MACHINE_START(CPUIMX27, "EUKREA CPUIMX27") |
307 | .boot_params = MX27_PHYS_OFFSET + 0x100, | 307 | .boot_params = MX27_PHYS_OFFSET + 0x100, |
308 | .map_io = mx27_map_io, | 308 | .map_io = mx27_map_io, |
309 | .init_irq = mx27_init_irq, | 309 | .init_early = imx27_init_early, |
310 | .init_machine = eukrea_cpuimx27_init, | 310 | .init_irq = mx27_init_irq, |
311 | .timer = &eukrea_cpuimx27_timer, | 311 | .timer = &eukrea_cpuimx27_timer, |
312 | .init_machine = eukrea_cpuimx27_init, | ||
312 | MACHINE_END | 313 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-eukrea_cpuimx25.c b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c index eb395aba9237..439167dbe8f6 100644 --- a/arch/arm/mach-imx/mach-eukrea_cpuimx25.c +++ b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c | |||
@@ -153,9 +153,10 @@ static struct sys_timer eukrea_cpuimx25_timer = { | |||
153 | 153 | ||
154 | MACHINE_START(EUKREA_CPUIMX25, "Eukrea CPUIMX25") | 154 | MACHINE_START(EUKREA_CPUIMX25, "Eukrea CPUIMX25") |
155 | /* Maintainer: Eukrea Electromatique */ | 155 | /* Maintainer: Eukrea Electromatique */ |
156 | .boot_params = MX25_PHYS_OFFSET + 0x100, | 156 | .boot_params = MX25_PHYS_OFFSET + 0x100, |
157 | .map_io = mx25_map_io, | 157 | .map_io = mx25_map_io, |
158 | .init_irq = mx25_init_irq, | 158 | .init_early = imx25_init_early, |
159 | .init_machine = eukrea_cpuimx25_init, | 159 | .init_irq = mx25_init_irq, |
160 | .timer = &eukrea_cpuimx25_timer, | 160 | .timer = &eukrea_cpuimx25_timer, |
161 | .init_machine = eukrea_cpuimx25_init, | ||
161 | MACHINE_END | 162 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-imx27_visstrim_m10.c b/arch/arm/mach-imx/mach-imx27_visstrim_m10.c index 40a3666ea632..494723bf7ea7 100644 --- a/arch/arm/mach-imx/mach-imx27_visstrim_m10.c +++ b/arch/arm/mach-imx/mach-imx27_visstrim_m10.c | |||
@@ -251,9 +251,10 @@ static struct sys_timer visstrim_m10_timer = { | |||
251 | }; | 251 | }; |
252 | 252 | ||
253 | MACHINE_START(IMX27_VISSTRIM_M10, "Vista Silicon Visstrim_M10") | 253 | MACHINE_START(IMX27_VISSTRIM_M10, "Vista Silicon Visstrim_M10") |
254 | .boot_params = MX27_PHYS_OFFSET + 0x100, | 254 | .boot_params = MX27_PHYS_OFFSET + 0x100, |
255 | .map_io = mx27_map_io, | 255 | .map_io = mx27_map_io, |
256 | .init_irq = mx27_init_irq, | 256 | .init_early = imx27_init_early, |
257 | .init_machine = visstrim_m10_board_init, | 257 | .init_irq = mx27_init_irq, |
258 | .timer = &visstrim_m10_timer, | 258 | .timer = &visstrim_m10_timer, |
259 | .init_machine = visstrim_m10_board_init, | ||
259 | MACHINE_END | 260 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-imx27ipcam.c b/arch/arm/mach-imx/mach-imx27ipcam.c index d099ea600891..9be6cd6fbf8c 100644 --- a/arch/arm/mach-imx/mach-imx27ipcam.c +++ b/arch/arm/mach-imx/mach-imx27ipcam.c | |||
@@ -69,9 +69,10 @@ static struct sys_timer mx27ipcam_timer = { | |||
69 | 69 | ||
70 | MACHINE_START(IMX27IPCAM, "Freescale IMX27IPCAM") | 70 | MACHINE_START(IMX27IPCAM, "Freescale IMX27IPCAM") |
71 | /* maintainer: Freescale Semiconductor, Inc. */ | 71 | /* maintainer: Freescale Semiconductor, Inc. */ |
72 | .boot_params = MX27_PHYS_OFFSET + 0x100, | 72 | .boot_params = MX27_PHYS_OFFSET + 0x100, |
73 | .map_io = mx27_map_io, | 73 | .map_io = mx27_map_io, |
74 | .init_irq = mx27_init_irq, | 74 | .init_early = imx27_init_early, |
75 | .init_machine = mx27ipcam_init, | 75 | .init_irq = mx27_init_irq, |
76 | .timer = &mx27ipcam_timer, | 76 | .timer = &mx27ipcam_timer, |
77 | .init_machine = mx27ipcam_init, | ||
77 | MACHINE_END | 78 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-imx27lite.c b/arch/arm/mach-imx/mach-imx27lite.c index 3a1202e47212..841140516ede 100644 --- a/arch/arm/mach-imx/mach-imx27lite.c +++ b/arch/arm/mach-imx/mach-imx27lite.c | |||
@@ -75,9 +75,10 @@ static struct sys_timer mx27lite_timer = { | |||
75 | }; | 75 | }; |
76 | 76 | ||
77 | MACHINE_START(IMX27LITE, "LogicPD i.MX27LITE") | 77 | MACHINE_START(IMX27LITE, "LogicPD i.MX27LITE") |
78 | .boot_params = MX27_PHYS_OFFSET + 0x100, | 78 | .boot_params = MX27_PHYS_OFFSET + 0x100, |
79 | .map_io = mx27_map_io, | 79 | .map_io = mx27_map_io, |
80 | .init_irq = mx27_init_irq, | 80 | .init_early = imx27_init_early, |
81 | .init_machine = mx27lite_init, | 81 | .init_irq = mx27_init_irq, |
82 | .timer = &mx27lite_timer, | 82 | .timer = &mx27lite_timer, |
83 | .init_machine = mx27lite_init, | ||
83 | MACHINE_END | 84 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx1ads.c b/arch/arm/mach-imx/mach-mx1ads.c index 1f446e5eb636..47cf56ac6d5b 100644 --- a/arch/arm/mach-imx/mach-mx1ads.c +++ b/arch/arm/mach-imx/mach-mx1ads.c | |||
@@ -144,17 +144,19 @@ struct sys_timer mx1ads_timer = { | |||
144 | 144 | ||
145 | MACHINE_START(MX1ADS, "Freescale MX1ADS") | 145 | MACHINE_START(MX1ADS, "Freescale MX1ADS") |
146 | /* Maintainer: Sascha Hauer, Pengutronix */ | 146 | /* Maintainer: Sascha Hauer, Pengutronix */ |
147 | .boot_params = MX1_PHYS_OFFSET + 0x100, | 147 | .boot_params = MX1_PHYS_OFFSET + 0x100, |
148 | .map_io = mx1_map_io, | 148 | .map_io = mx1_map_io, |
149 | .init_irq = mx1_init_irq, | 149 | .init_early = imx1_init_early, |
150 | .timer = &mx1ads_timer, | 150 | .init_irq = mx1_init_irq, |
151 | .init_machine = mx1ads_init, | 151 | .timer = &mx1ads_timer, |
152 | .init_machine = mx1ads_init, | ||
152 | MACHINE_END | 153 | MACHINE_END |
153 | 154 | ||
154 | MACHINE_START(MXLADS, "Freescale MXLADS") | 155 | MACHINE_START(MXLADS, "Freescale MXLADS") |
155 | .boot_params = MX1_PHYS_OFFSET + 0x100, | 156 | .boot_params = MX1_PHYS_OFFSET + 0x100, |
156 | .map_io = mx1_map_io, | 157 | .map_io = mx1_map_io, |
157 | .init_irq = mx1_init_irq, | 158 | .init_early = imx1_init_early, |
158 | .timer = &mx1ads_timer, | 159 | .init_irq = mx1_init_irq, |
159 | .init_machine = mx1ads_init, | 160 | .timer = &mx1ads_timer, |
161 | .init_machine = mx1ads_init, | ||
160 | MACHINE_END | 162 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx21ads.c b/arch/arm/mach-imx/mach-mx21ads.c index 0a372577c2ac..fa52a1086eae 100644 --- a/arch/arm/mach-imx/mach-mx21ads.c +++ b/arch/arm/mach-imx/mach-mx21ads.c | |||
@@ -304,9 +304,10 @@ static struct sys_timer mx21ads_timer = { | |||
304 | 304 | ||
305 | MACHINE_START(MX21ADS, "Freescale i.MX21ADS") | 305 | MACHINE_START(MX21ADS, "Freescale i.MX21ADS") |
306 | /* maintainer: Freescale Semiconductor, Inc. */ | 306 | /* maintainer: Freescale Semiconductor, Inc. */ |
307 | .boot_params = MX21_PHYS_OFFSET + 0x100, | 307 | .boot_params = MX21_PHYS_OFFSET + 0x100, |
308 | .map_io = mx21ads_map_io, | 308 | .map_io = mx21ads_map_io, |
309 | .init_irq = mx21_init_irq, | 309 | .init_early = imx21_init_early, |
310 | .init_machine = mx21ads_board_init, | 310 | .init_irq = mx21_init_irq, |
311 | .timer = &mx21ads_timer, | 311 | .timer = &mx21ads_timer, |
312 | .init_machine = mx21ads_board_init, | ||
312 | MACHINE_END | 313 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx25_3ds.c b/arch/arm/mach-imx/mach-mx25_3ds.c index aa76cfd9f348..0c92a80eac46 100644 --- a/arch/arm/mach-imx/mach-mx25_3ds.c +++ b/arch/arm/mach-imx/mach-mx25_3ds.c | |||
@@ -226,10 +226,10 @@ static struct sys_timer mx25pdk_timer = { | |||
226 | 226 | ||
227 | MACHINE_START(MX25_3DS, "Freescale MX25PDK (3DS)") | 227 | MACHINE_START(MX25_3DS, "Freescale MX25PDK (3DS)") |
228 | /* Maintainer: Freescale Semiconductor, Inc. */ | 228 | /* Maintainer: Freescale Semiconductor, Inc. */ |
229 | .boot_params = MX25_PHYS_OFFSET + 0x100, | 229 | .boot_params = MX25_PHYS_OFFSET + 0x100, |
230 | .map_io = mx25_map_io, | 230 | .map_io = mx25_map_io, |
231 | .init_irq = mx25_init_irq, | 231 | .init_early = imx25_init_early, |
232 | .init_machine = mx25pdk_init, | 232 | .init_irq = mx25_init_irq, |
233 | .timer = &mx25pdk_timer, | 233 | .timer = &mx25pdk_timer, |
234 | .init_machine = mx25pdk_init, | ||
234 | MACHINE_END | 235 | MACHINE_END |
235 | |||
diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c index 49e6a7546869..4e0e225ca4a2 100644 --- a/arch/arm/mach-imx/mach-mx27_3ds.c +++ b/arch/arm/mach-imx/mach-mx27_3ds.c | |||
@@ -295,9 +295,10 @@ static struct sys_timer mx27pdk_timer = { | |||
295 | 295 | ||
296 | MACHINE_START(MX27_3DS, "Freescale MX27PDK") | 296 | MACHINE_START(MX27_3DS, "Freescale MX27PDK") |
297 | /* maintainer: Freescale Semiconductor, Inc. */ | 297 | /* maintainer: Freescale Semiconductor, Inc. */ |
298 | .boot_params = MX27_PHYS_OFFSET + 0x100, | 298 | .boot_params = MX27_PHYS_OFFSET + 0x100, |
299 | .map_io = mx27_map_io, | 299 | .map_io = mx27_map_io, |
300 | .init_irq = mx27_init_irq, | 300 | .init_early = imx27_init_early, |
301 | .init_machine = mx27pdk_init, | 301 | .init_irq = mx27_init_irq, |
302 | .timer = &mx27pdk_timer, | 302 | .timer = &mx27pdk_timer, |
303 | .init_machine = mx27pdk_init, | ||
303 | MACHINE_END | 304 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx27ads.c b/arch/arm/mach-imx/mach-mx27ads.c index b832f960fec4..367d1e4384c7 100644 --- a/arch/arm/mach-imx/mach-mx27ads.c +++ b/arch/arm/mach-imx/mach-mx27ads.c | |||
@@ -344,9 +344,10 @@ static void __init mx27ads_map_io(void) | |||
344 | 344 | ||
345 | MACHINE_START(MX27ADS, "Freescale i.MX27ADS") | 345 | MACHINE_START(MX27ADS, "Freescale i.MX27ADS") |
346 | /* maintainer: Freescale Semiconductor, Inc. */ | 346 | /* maintainer: Freescale Semiconductor, Inc. */ |
347 | .boot_params = MX27_PHYS_OFFSET + 0x100, | 347 | .boot_params = MX27_PHYS_OFFSET + 0x100, |
348 | .map_io = mx27ads_map_io, | 348 | .map_io = mx27ads_map_io, |
349 | .init_irq = mx27_init_irq, | 349 | .init_early = imx27_init_early, |
350 | .init_machine = mx27ads_board_init, | 350 | .init_irq = mx27_init_irq, |
351 | .timer = &mx27ads_timer, | 351 | .timer = &mx27ads_timer, |
352 | .init_machine = mx27ads_board_init, | ||
352 | MACHINE_END | 353 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mxt_td60.c b/arch/arm/mach-imx/mach-mxt_td60.c index 4ce71b0401db..69787c30c320 100644 --- a/arch/arm/mach-imx/mach-mxt_td60.c +++ b/arch/arm/mach-imx/mach-mxt_td60.c | |||
@@ -266,10 +266,10 @@ static struct sys_timer mxt_td60_timer = { | |||
266 | 266 | ||
267 | MACHINE_START(MXT_TD60, "Maxtrack i-MXT TD60") | 267 | MACHINE_START(MXT_TD60, "Maxtrack i-MXT TD60") |
268 | /* maintainer: Maxtrack Industrial */ | 268 | /* maintainer: Maxtrack Industrial */ |
269 | .boot_params = MX27_PHYS_OFFSET + 0x100, | 269 | .boot_params = MX27_PHYS_OFFSET + 0x100, |
270 | .map_io = mx27_map_io, | 270 | .map_io = mx27_map_io, |
271 | .init_irq = mx27_init_irq, | 271 | .init_early = imx27_init_early, |
272 | .init_machine = mxt_td60_board_init, | 272 | .init_irq = mx27_init_irq, |
273 | .timer = &mxt_td60_timer, | 273 | .timer = &mxt_td60_timer, |
274 | .init_machine = mxt_td60_board_init, | ||
274 | MACHINE_END | 275 | MACHINE_END |
275 | |||
diff --git a/arch/arm/mach-imx/mach-pca100.c b/arch/arm/mach-imx/mach-pca100.c index faa4e04006e0..3514178caeda 100644 --- a/arch/arm/mach-imx/mach-pca100.c +++ b/arch/arm/mach-imx/mach-pca100.c | |||
@@ -433,10 +433,10 @@ static struct sys_timer pca100_timer = { | |||
433 | }; | 433 | }; |
434 | 434 | ||
435 | MACHINE_START(PCA100, "phyCARD-i.MX27") | 435 | MACHINE_START(PCA100, "phyCARD-i.MX27") |
436 | .boot_params = MX27_PHYS_OFFSET + 0x100, | 436 | .boot_params = MX27_PHYS_OFFSET + 0x100, |
437 | .map_io = mx27_map_io, | 437 | .map_io = mx27_map_io, |
438 | .init_irq = mx27_init_irq, | 438 | .init_early = imx27_init_early, |
439 | .init_machine = pca100_init, | 439 | .init_irq = mx27_init_irq, |
440 | .timer = &pca100_timer, | 440 | .init_machine = pca100_init, |
441 | .timer = &pca100_timer, | ||
441 | MACHINE_END | 442 | MACHINE_END |
442 | |||
diff --git a/arch/arm/mach-imx/mach-pcm038.c b/arch/arm/mach-imx/mach-pcm038.c index ca20117d6067..9656ef38ca96 100644 --- a/arch/arm/mach-imx/mach-pcm038.c +++ b/arch/arm/mach-imx/mach-pcm038.c | |||
@@ -340,9 +340,10 @@ static struct sys_timer pcm038_timer = { | |||
340 | }; | 340 | }; |
341 | 341 | ||
342 | MACHINE_START(PCM038, "phyCORE-i.MX27") | 342 | MACHINE_START(PCM038, "phyCORE-i.MX27") |
343 | .boot_params = MX27_PHYS_OFFSET + 0x100, | 343 | .boot_params = MX27_PHYS_OFFSET + 0x100, |
344 | .map_io = mx27_map_io, | 344 | .map_io = mx27_map_io, |
345 | .init_irq = mx27_init_irq, | 345 | .init_early = imx27_init_early, |
346 | .init_machine = pcm038_init, | 346 | .init_irq = mx27_init_irq, |
347 | .timer = &pcm038_timer, | 347 | .timer = &pcm038_timer, |
348 | .init_machine = pcm038_init, | ||
348 | MACHINE_END | 349 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-scb9328.c b/arch/arm/mach-imx/mach-scb9328.c index eae878f306c6..dcaee043628e 100644 --- a/arch/arm/mach-imx/mach-scb9328.c +++ b/arch/arm/mach-imx/mach-scb9328.c | |||
@@ -145,10 +145,11 @@ static struct sys_timer scb9328_timer = { | |||
145 | }; | 145 | }; |
146 | 146 | ||
147 | MACHINE_START(SCB9328, "Synertronixx scb9328") | 147 | MACHINE_START(SCB9328, "Synertronixx scb9328") |
148 | /* Sascha Hauer */ | 148 | /* Sascha Hauer */ |
149 | .boot_params = 0x08000100, | 149 | .boot_params = 0x08000100, |
150 | .map_io = mx1_map_io, | 150 | .map_io = mx1_map_io, |
151 | .init_irq = mx1_init_irq, | 151 | .init_early = imx1_init_early, |
152 | .timer = &scb9328_timer, | 152 | .init_irq = mx1_init_irq, |
153 | .init_machine = scb9328_init, | 153 | .timer = &scb9328_timer, |
154 | .init_machine = scb9328_init, | ||
154 | MACHINE_END | 155 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mm-imx1.c b/arch/arm/mach-imx/mm-imx1.c index 729ae0915af8..378c61b1e74c 100644 --- a/arch/arm/mach-imx/mm-imx1.c +++ b/arch/arm/mach-imx/mm-imx1.c | |||
@@ -30,10 +30,13 @@ static struct map_desc imx_io_desc[] __initdata = { | |||
30 | 30 | ||
31 | void __init mx1_map_io(void) | 31 | void __init mx1_map_io(void) |
32 | { | 32 | { |
33 | iotable_init(imx_io_desc, ARRAY_SIZE(imx_io_desc)); | ||
34 | } | ||
35 | |||
36 | void __init imx1_init_early(void) | ||
37 | { | ||
33 | mxc_set_cpu_type(MXC_CPU_MX1); | 38 | mxc_set_cpu_type(MXC_CPU_MX1); |
34 | mxc_arch_reset_init(MX1_IO_ADDRESS(MX1_WDT_BASE_ADDR)); | 39 | mxc_arch_reset_init(MX1_IO_ADDRESS(MX1_WDT_BASE_ADDR)); |
35 | |||
36 | iotable_init(imx_io_desc, ARRAY_SIZE(imx_io_desc)); | ||
37 | } | 40 | } |
38 | 41 | ||
39 | int imx1_register_gpios(void); | 42 | int imx1_register_gpios(void); |
diff --git a/arch/arm/mach-imx/mm-imx21.c b/arch/arm/mach-imx/mm-imx21.c index e728af81d1b1..b6152c6b5b29 100644 --- a/arch/arm/mach-imx/mm-imx21.c +++ b/arch/arm/mach-imx/mm-imx21.c | |||
@@ -56,10 +56,13 @@ static struct map_desc imx21_io_desc[] __initdata = { | |||
56 | */ | 56 | */ |
57 | void __init mx21_map_io(void) | 57 | void __init mx21_map_io(void) |
58 | { | 58 | { |
59 | iotable_init(imx21_io_desc, ARRAY_SIZE(imx21_io_desc)); | ||
60 | } | ||
61 | |||
62 | void __init imx21_init_early(void) | ||
63 | { | ||
59 | mxc_set_cpu_type(MXC_CPU_MX21); | 64 | mxc_set_cpu_type(MXC_CPU_MX21); |
60 | mxc_arch_reset_init(MX21_IO_ADDRESS(MX21_WDOG_BASE_ADDR)); | 65 | mxc_arch_reset_init(MX21_IO_ADDRESS(MX21_WDOG_BASE_ADDR)); |
61 | |||
62 | iotable_init(imx21_io_desc, ARRAY_SIZE(imx21_io_desc)); | ||
63 | } | 66 | } |
64 | 67 | ||
65 | int imx21_register_gpios(void); | 68 | int imx21_register_gpios(void); |
diff --git a/arch/arm/mach-imx/mm-imx25.c b/arch/arm/mach-imx/mm-imx25.c index 2edec6ce8fe7..09dd8d4e15bb 100644 --- a/arch/arm/mach-imx/mm-imx25.c +++ b/arch/arm/mach-imx/mm-imx25.c | |||
@@ -45,11 +45,14 @@ static struct map_desc mx25_io_desc[] __initdata = { | |||
45 | */ | 45 | */ |
46 | void __init mx25_map_io(void) | 46 | void __init mx25_map_io(void) |
47 | { | 47 | { |
48 | iotable_init(mx25_io_desc, ARRAY_SIZE(mx25_io_desc)); | ||
49 | } | ||
50 | |||
51 | void __init imx25_init_early(void) | ||
52 | { | ||
48 | mxc_set_cpu_type(MXC_CPU_MX25); | 53 | mxc_set_cpu_type(MXC_CPU_MX25); |
49 | mxc_iomux_v3_init(MX25_IO_ADDRESS(MX25_IOMUXC_BASE_ADDR)); | 54 | mxc_iomux_v3_init(MX25_IO_ADDRESS(MX25_IOMUXC_BASE_ADDR)); |
50 | mxc_arch_reset_init(MX25_IO_ADDRESS(MX25_WDOG_BASE_ADDR)); | 55 | mxc_arch_reset_init(MX25_IO_ADDRESS(MX25_WDOG_BASE_ADDR)); |
51 | |||
52 | iotable_init(mx25_io_desc, ARRAY_SIZE(mx25_io_desc)); | ||
53 | } | 56 | } |
54 | 57 | ||
55 | int imx25_register_gpios(void); | 58 | int imx25_register_gpios(void); |
diff --git a/arch/arm/mach-imx/mm-imx27.c b/arch/arm/mach-imx/mm-imx27.c index 374e48b7a412..bcaa3b69c456 100644 --- a/arch/arm/mach-imx/mm-imx27.c +++ b/arch/arm/mach-imx/mm-imx27.c | |||
@@ -56,10 +56,13 @@ static struct map_desc imx27_io_desc[] __initdata = { | |||
56 | */ | 56 | */ |
57 | void __init mx27_map_io(void) | 57 | void __init mx27_map_io(void) |
58 | { | 58 | { |
59 | iotable_init(imx27_io_desc, ARRAY_SIZE(imx27_io_desc)); | ||
60 | } | ||
61 | |||
62 | void __init imx27_init_early(void) | ||
63 | { | ||
59 | mxc_set_cpu_type(MXC_CPU_MX27); | 64 | mxc_set_cpu_type(MXC_CPU_MX27); |
60 | mxc_arch_reset_init(MX27_IO_ADDRESS(MX27_WDOG_BASE_ADDR)); | 65 | mxc_arch_reset_init(MX27_IO_ADDRESS(MX27_WDOG_BASE_ADDR)); |
61 | |||
62 | iotable_init(imx27_io_desc, ARRAY_SIZE(imx27_io_desc)); | ||
63 | } | 66 | } |
64 | 67 | ||
65 | int imx27_register_gpios(void); | 68 | int imx27_register_gpios(void); |
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h index aea2cd3b6d15..e4f1de0e6f69 100644 --- a/arch/arm/plat-mxc/include/mach/common.h +++ b/arch/arm/plat-mxc/include/mach/common.h | |||
@@ -24,6 +24,10 @@ extern void mx50_map_io(void); | |||
24 | extern void mx51_map_io(void); | 24 | extern void mx51_map_io(void); |
25 | extern void mx53_map_io(void); | 25 | extern void mx53_map_io(void); |
26 | extern void mxc91231_map_io(void); | 26 | extern void mxc91231_map_io(void); |
27 | extern void imx1_init_early(void); | ||
28 | extern void imx21_init_early(void); | ||
29 | extern void imx25_init_early(void); | ||
30 | extern void imx27_init_early(void); | ||
27 | extern void mxc_init_irq(void __iomem *); | 31 | extern void mxc_init_irq(void __iomem *); |
28 | extern void tzic_init_irq(void __iomem *); | 32 | extern void tzic_init_irq(void __iomem *); |
29 | extern void mx1_init_irq(void); | 33 | extern void mx1_init_irq(void); |