aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-09-26 17:52:55 -0400
committerTony Lindgren <tony@atomide.com>2011-09-26 20:50:37 -0400
commite990a4060fcb78a1576d36e7327db11c0d278a6b (patch)
tree16760f9a9eaf8a6d4fa28085dad36fe2c5559280 /arch/arm/mach-omap2
parent35549ec3c3e67188a8d3eac0167e950c46688c96 (diff)
ARM: OMAP2+: Use SoC specifc map_io
There's no longer any need for the board specific map_io. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/board-2430sdp.c8
-rw-r--r--arch/arm/mach-omap2/board-4430sdp.c8
-rw-r--r--arch/arm/mach-omap2/board-apollon.c8
-rw-r--r--arch/arm/mach-omap2/board-h4.c8
-rw-r--r--arch/arm/mach-omap2/board-n8x0.c12
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c8
-rw-r--r--arch/arm/mach-omap2/board-rm680.c8
-rw-r--r--arch/arm/mach-omap2/board-rx51.c8
8 files changed, 10 insertions, 58 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c
index 618216c8f742..45dafe2e8552 100644
--- a/arch/arm/mach-omap2/board-2430sdp.c
+++ b/arch/arm/mach-omap2/board-2430sdp.c
@@ -243,17 +243,11 @@ static void __init omap_2430sdp_init(void)
243 "Secondary LCD backlight"); 243 "Secondary LCD backlight");
244} 244}
245 245
246static void __init omap_2430sdp_map_io(void)
247{
248 omap2_set_globals_243x();
249 omap243x_map_common_io();
250}
251
252MACHINE_START(OMAP_2430SDP, "OMAP2430 sdp2430 board") 246MACHINE_START(OMAP_2430SDP, "OMAP2430 sdp2430 board")
253 /* Maintainer: Syed Khasim - Texas Instruments Inc */ 247 /* Maintainer: Syed Khasim - Texas Instruments Inc */
254 .boot_params = 0x80000100, 248 .boot_params = 0x80000100,
255 .reserve = omap_reserve, 249 .reserve = omap_reserve,
256 .map_io = omap_2430sdp_map_io, 250 .map_io = omap243x_map_io,
257 .init_early = omap2430_init_early, 251 .init_early = omap2430_init_early,
258 .init_irq = omap2_init_irq, 252 .init_irq = omap2_init_irq,
259 .init_machine = omap_2430sdp_init, 253 .init_machine = omap_2430sdp_init,
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index ab19d305f61e..44a3e2c7b58b 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -825,17 +825,11 @@ static void __init omap_4430sdp_init(void)
825 omap_4430sdp_display_init(); 825 omap_4430sdp_display_init();
826} 826}
827 827
828static void __init omap_4430sdp_map_io(void)
829{
830 omap2_set_globals_443x();
831 omap44xx_map_common_io();
832}
833
834MACHINE_START(OMAP_4430SDP, "OMAP4430 4430SDP board") 828MACHINE_START(OMAP_4430SDP, "OMAP4430 4430SDP board")
835 /* Maintainer: Santosh Shilimkar - Texas Instruments Inc */ 829 /* Maintainer: Santosh Shilimkar - Texas Instruments Inc */
836 .boot_params = 0x80000100, 830 .boot_params = 0x80000100,
837 .reserve = omap_reserve, 831 .reserve = omap_reserve,
838 .map_io = omap_4430sdp_map_io, 832 .map_io = omap4_map_io,
839 .init_early = omap4430_init_early, 833 .init_early = omap4430_init_early,
840 .init_irq = gic_init_irq, 834 .init_irq = gic_init_irq,
841 .init_machine = omap_4430sdp_init, 835 .init_machine = omap_4430sdp_init,
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c
index cf546f86014e..852843638fa9 100644
--- a/arch/arm/mach-omap2/board-apollon.c
+++ b/arch/arm/mach-omap2/board-apollon.c
@@ -337,17 +337,11 @@ static void __init omap_apollon_init(void)
337 omap_sdrc_init(NULL, NULL); 337 omap_sdrc_init(NULL, NULL);
338} 338}
339 339
340static void __init omap_apollon_map_io(void)
341{
342 omap2_set_globals_242x();
343 omap242x_map_common_io();
344}
345
346MACHINE_START(OMAP_APOLLON, "OMAP24xx Apollon") 340MACHINE_START(OMAP_APOLLON, "OMAP24xx Apollon")
347 /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ 341 /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */
348 .boot_params = 0x80000100, 342 .boot_params = 0x80000100,
349 .reserve = omap_reserve, 343 .reserve = omap_reserve,
350 .map_io = omap_apollon_map_io, 344 .map_io = omap242x_map_io,
351 .init_early = omap2420_init_early, 345 .init_early = omap2420_init_early,
352 .init_irq = omap2_init_irq, 346 .init_irq = omap2_init_irq,
353 .init_machine = omap_apollon_init, 347 .init_machine = omap_apollon_init,
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c
index 948fde010c69..fcc5107b0c2a 100644
--- a/arch/arm/mach-omap2/board-h4.c
+++ b/arch/arm/mach-omap2/board-h4.c
@@ -369,17 +369,11 @@ static void __init omap_h4_init(void)
369 h4_init_flash(); 369 h4_init_flash();
370} 370}
371 371
372static void __init omap_h4_map_io(void)
373{
374 omap2_set_globals_242x();
375 omap242x_map_common_io();
376}
377
378MACHINE_START(OMAP_H4, "OMAP2420 H4 board") 372MACHINE_START(OMAP_H4, "OMAP2420 H4 board")
379 /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ 373 /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */
380 .boot_params = 0x80000100, 374 .boot_params = 0x80000100,
381 .reserve = omap_reserve, 375 .reserve = omap_reserve,
382 .map_io = omap_h4_map_io, 376 .map_io = omap242x_map_io,
383 .init_early = omap2420_init_early, 377 .init_early = omap2420_init_early,
384 .init_irq = omap_h4_init_irq, 378 .init_irq = omap_h4_init_irq,
385 .init_machine = omap_h4_init, 379 .init_machine = omap_h4_init,
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
index 77a4e19222e2..d1f4a0292c42 100644
--- a/arch/arm/mach-omap2/board-n8x0.c
+++ b/arch/arm/mach-omap2/board-n8x0.c
@@ -616,12 +616,6 @@ static struct i2c_board_info n810_i2c_board_info_2[] __initdata = {
616 }, 616 },
617}; 617};
618 618
619static void __init n8x0_map_io(void)
620{
621 omap2_set_globals_242x();
622 omap242x_map_common_io();
623}
624
625#ifdef CONFIG_OMAP_MUX 619#ifdef CONFIG_OMAP_MUX
626static struct omap_board_mux board_mux[] __initdata = { 620static struct omap_board_mux board_mux[] __initdata = {
627 /* I2S codec port pins for McBSP block */ 621 /* I2S codec port pins for McBSP block */
@@ -692,7 +686,7 @@ static void __init n8x0_init_machine(void)
692MACHINE_START(NOKIA_N800, "Nokia N800") 686MACHINE_START(NOKIA_N800, "Nokia N800")
693 .boot_params = 0x80000100, 687 .boot_params = 0x80000100,
694 .reserve = omap_reserve, 688 .reserve = omap_reserve,
695 .map_io = n8x0_map_io, 689 .map_io = omap242x_map_io,
696 .init_early = omap2420_init_early, 690 .init_early = omap2420_init_early,
697 .init_irq = omap2_init_irq, 691 .init_irq = omap2_init_irq,
698 .init_machine = n8x0_init_machine, 692 .init_machine = n8x0_init_machine,
@@ -702,7 +696,7 @@ MACHINE_END
702MACHINE_START(NOKIA_N810, "Nokia N810") 696MACHINE_START(NOKIA_N810, "Nokia N810")
703 .boot_params = 0x80000100, 697 .boot_params = 0x80000100,
704 .reserve = omap_reserve, 698 .reserve = omap_reserve,
705 .map_io = n8x0_map_io, 699 .map_io = omap242x_map_io,
706 .init_early = omap2420_init_early, 700 .init_early = omap2420_init_early,
707 .init_irq = omap2_init_irq, 701 .init_irq = omap2_init_irq,
708 .init_machine = n8x0_init_machine, 702 .init_machine = n8x0_init_machine,
@@ -712,7 +706,7 @@ MACHINE_END
712MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX") 706MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX")
713 .boot_params = 0x80000100, 707 .boot_params = 0x80000100,
714 .reserve = omap_reserve, 708 .reserve = omap_reserve,
715 .map_io = n8x0_map_io, 709 .map_io = omap242x_map_io,
716 .init_early = omap2420_init_early, 710 .init_early = omap2420_init_early,
717 .init_irq = omap2_init_irq, 711 .init_irq = omap2_init_irq,
718 .init_machine = n8x0_init_machine, 712 .init_machine = n8x0_init_machine,
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index 1bce76589784..e26929049a4d 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -570,17 +570,11 @@ static void __init omap4_panda_init(void)
570 omap4_panda_display_init(); 570 omap4_panda_display_init();
571} 571}
572 572
573static void __init omap4_panda_map_io(void)
574{
575 omap2_set_globals_443x();
576 omap44xx_map_common_io();
577}
578
579MACHINE_START(OMAP4_PANDA, "OMAP4 Panda board") 573MACHINE_START(OMAP4_PANDA, "OMAP4 Panda board")
580 /* Maintainer: David Anders - Texas Instruments Inc */ 574 /* Maintainer: David Anders - Texas Instruments Inc */
581 .boot_params = 0x80000100, 575 .boot_params = 0x80000100,
582 .reserve = omap_reserve, 576 .reserve = omap_reserve,
583 .map_io = omap4_panda_map_io, 577 .map_io = omap4_map_io,
584 .init_early = omap4430_init_early, 578 .init_early = omap4430_init_early,
585 .init_irq = gic_init_irq, 579 .init_irq = gic_init_irq,
586 .init_machine = omap4_panda_init, 580 .init_machine = omap4_panda_init,
diff --git a/arch/arm/mach-omap2/board-rm680.c b/arch/arm/mach-omap2/board-rm680.c
index a3182e846b14..a98db616e0d4 100644
--- a/arch/arm/mach-omap2/board-rm680.c
+++ b/arch/arm/mach-omap2/board-rm680.c
@@ -143,16 +143,10 @@ static void __init rm680_init(void)
143 rm680_peripherals_init(); 143 rm680_peripherals_init();
144} 144}
145 145
146static void __init rm680_map_io(void)
147{
148 omap2_set_globals_3xxx();
149 omap34xx_map_common_io();
150}
151
152MACHINE_START(NOKIA_RM680, "Nokia RM-680 board") 146MACHINE_START(NOKIA_RM680, "Nokia RM-680 board")
153 .boot_params = 0x80000100, 147 .boot_params = 0x80000100,
154 .reserve = omap_reserve, 148 .reserve = omap_reserve,
155 .map_io = rm680_map_io, 149 .map_io = omap3_map_io,
156 .init_early = omap3630_init_early, 150 .init_early = omap3630_init_early,
157 .init_irq = omap3_init_irq, 151 .init_irq = omap3_init_irq,
158 .init_machine = rm680_init, 152 .init_machine = rm680_init,
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c
index 32a79e28379c..8677a06aa4a7 100644
--- a/arch/arm/mach-omap2/board-rx51.c
+++ b/arch/arm/mach-omap2/board-rx51.c
@@ -139,12 +139,6 @@ static void __init rx51_init(void)
139 platform_device_register(&leds_gpio); 139 platform_device_register(&leds_gpio);
140} 140}
141 141
142static void __init rx51_map_io(void)
143{
144 omap2_set_globals_3xxx();
145 omap34xx_map_common_io();
146}
147
148static void __init rx51_reserve(void) 142static void __init rx51_reserve(void)
149{ 143{
150 rx51_video_mem_init(); 144 rx51_video_mem_init();
@@ -155,7 +149,7 @@ MACHINE_START(NOKIA_RX51, "Nokia RX-51 board")
155 /* Maintainer: Lauri Leukkunen <lauri.leukkunen@nokia.com> */ 149 /* Maintainer: Lauri Leukkunen <lauri.leukkunen@nokia.com> */
156 .boot_params = 0x80000100, 150 .boot_params = 0x80000100,
157 .reserve = rx51_reserve, 151 .reserve = rx51_reserve,
158 .map_io = rx51_map_io, 152 .map_io = omap3_map_io,
159 .init_early = omap3430_init_early, 153 .init_early = omap3430_init_early,
160 .init_irq = omap3_init_irq, 154 .init_irq = omap3_init_irq,
161 .init_machine = rx51_init, 155 .init_machine = rx51_init,