diff options
Diffstat (limited to 'arch/arm/mach-omap2')
24 files changed, 44 insertions, 109 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index ba188cf7d09d..8538e4131d27 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -257,6 +257,7 @@ MACHINE_START(OMAP_2430SDP, "OMAP2430 sdp2430 board") | |||
257 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 257 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
258 | .boot_params = 0x80000100, | 258 | .boot_params = 0x80000100, |
259 | .map_io = omap_2430sdp_map_io, | 259 | .map_io = omap_2430sdp_map_io, |
260 | .reserve = omap_reserve, | ||
260 | .init_irq = omap_2430sdp_init_irq, | 261 | .init_irq = omap_2430sdp_init_irq, |
261 | .init_machine = omap_2430sdp_init, | 262 | .init_machine = omap_2430sdp_init, |
262 | .timer = &omap_timer, | 263 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 4b8595b6787d..67b95b5f1a2f 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -815,18 +815,13 @@ static void __init omap_3430sdp_init(void) | |||
815 | usb_ehci_init(&ehci_pdata); | 815 | usb_ehci_init(&ehci_pdata); |
816 | } | 816 | } |
817 | 817 | ||
818 | static void __init omap_3430sdp_map_io(void) | ||
819 | { | ||
820 | omap2_set_globals_343x(); | ||
821 | omap34xx_map_common_io(); | ||
822 | } | ||
823 | |||
824 | MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board") | 818 | MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board") |
825 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ | 819 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ |
826 | .phys_io = 0x48000000, | 820 | .phys_io = 0x48000000, |
827 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 821 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
828 | .boot_params = 0x80000100, | 822 | .boot_params = 0x80000100, |
829 | .map_io = omap_3430sdp_map_io, | 823 | .map_io = omap3_map_io, |
824 | .reserve = omap_reserve, | ||
830 | .init_irq = omap_3430sdp_init_irq, | 825 | .init_irq = omap_3430sdp_init_irq, |
831 | .init_machine = omap_3430sdp_init, | 826 | .init_machine = omap_3430sdp_init, |
832 | .timer = &omap_timer, | 827 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c index 2eb3f94b478e..b359c3f7bb39 100644 --- a/arch/arm/mach-omap2/board-3630sdp.c +++ b/arch/arm/mach-omap2/board-3630sdp.c | |||
@@ -66,12 +66,6 @@ static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | |||
66 | .reset_gpio_port[2] = -EINVAL | 66 | .reset_gpio_port[2] = -EINVAL |
67 | }; | 67 | }; |
68 | 68 | ||
69 | static void __init omap_sdp_map_io(void) | ||
70 | { | ||
71 | omap2_set_globals_36xx(); | ||
72 | omap34xx_map_common_io(); | ||
73 | } | ||
74 | |||
75 | static struct omap_board_config_kernel sdp_config[] __initdata = { | 69 | static struct omap_board_config_kernel sdp_config[] __initdata = { |
76 | }; | 70 | }; |
77 | 71 | ||
@@ -226,7 +220,8 @@ MACHINE_START(OMAP_3630SDP, "OMAP 3630SDP board") | |||
226 | .phys_io = 0x48000000, | 220 | .phys_io = 0x48000000, |
227 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 221 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
228 | .boot_params = 0x80000100, | 222 | .boot_params = 0x80000100, |
229 | .map_io = omap_sdp_map_io, | 223 | .map_io = omap3_map_io, |
224 | .reserve = omap_reserve, | ||
230 | .init_irq = omap_sdp_init_irq, | 225 | .init_irq = omap_sdp_init_irq, |
231 | .init_machine = omap_sdp_init, | 226 | .init_machine = omap_sdp_init, |
232 | .timer = &omap_timer, | 227 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index f287461bb038..9447644774c2 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -462,6 +462,7 @@ MACHINE_START(OMAP_4430SDP, "OMAP4430 4430SDP board") | |||
462 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 462 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
463 | .boot_params = 0x80000100, | 463 | .boot_params = 0x80000100, |
464 | .map_io = omap_4430sdp_map_io, | 464 | .map_io = omap_4430sdp_map_io, |
465 | .reserve = omap_reserve, | ||
465 | .init_irq = omap_4430sdp_init_irq, | 466 | .init_irq = omap_4430sdp_init_irq, |
466 | .init_machine = omap_4430sdp_init, | 467 | .init_machine = omap_4430sdp_init, |
467 | .timer = &omap_timer, | 468 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index af383a876943..4d0f58592864 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -461,17 +461,12 @@ static void __init am3517_evm_init(void) | |||
461 | am3517_evm_ethernet_init(&am3517_evm_emac_pdata); | 461 | am3517_evm_ethernet_init(&am3517_evm_emac_pdata); |
462 | } | 462 | } |
463 | 463 | ||
464 | static void __init am3517_evm_map_io(void) | ||
465 | { | ||
466 | omap2_set_globals_343x(); | ||
467 | omap34xx_map_common_io(); | ||
468 | } | ||
469 | |||
470 | MACHINE_START(OMAP3517EVM, "OMAP3517/AM3517 EVM") | 464 | MACHINE_START(OMAP3517EVM, "OMAP3517/AM3517 EVM") |
471 | .phys_io = 0x48000000, | 465 | .phys_io = 0x48000000, |
472 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 466 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, |
473 | .boot_params = 0x80000100, | 467 | .boot_params = 0x80000100, |
474 | .map_io = am3517_evm_map_io, | 468 | .map_io = omap3_map_io, |
469 | .reserve = omap_reserve, | ||
475 | .init_irq = am3517_evm_init_irq, | 470 | .init_irq = am3517_evm_init_irq, |
476 | .init_machine = am3517_evm_init, | 471 | .init_machine = am3517_evm_init, |
477 | .timer = &omap_timer, | 472 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index 8cea6235b4be..c6421a72514a 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -360,6 +360,7 @@ MACHINE_START(OMAP_APOLLON, "OMAP24xx Apollon") | |||
360 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 360 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
361 | .boot_params = 0x80000100, | 361 | .boot_params = 0x80000100, |
362 | .map_io = omap_apollon_map_io, | 362 | .map_io = omap_apollon_map_io, |
363 | .reserve = omap_reserve, | ||
363 | .init_irq = omap_apollon_init_irq, | 364 | .init_irq = omap_apollon_init_irq, |
364 | .init_machine = omap_apollon_init, | 365 | .init_machine = omap_apollon_init, |
365 | .timer = &omap_timer, | 366 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 05442945fc67..e10bc109415c 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -690,12 +690,6 @@ static void __init cm_t35_init_irq(void) | |||
690 | omap_gpio_init(); | 690 | omap_gpio_init(); |
691 | } | 691 | } |
692 | 692 | ||
693 | static void __init cm_t35_map_io(void) | ||
694 | { | ||
695 | omap2_set_globals_343x(); | ||
696 | omap34xx_map_common_io(); | ||
697 | } | ||
698 | |||
699 | static struct omap_board_mux board_mux[] __initdata = { | 693 | static struct omap_board_mux board_mux[] __initdata = { |
700 | /* nCS and IRQ for CM-T35 ethernet */ | 694 | /* nCS and IRQ for CM-T35 ethernet */ |
701 | OMAP3_MUX(GPMC_NCS5, OMAP_MUX_MODE0), | 695 | OMAP3_MUX(GPMC_NCS5, OMAP_MUX_MODE0), |
@@ -818,7 +812,8 @@ MACHINE_START(CM_T35, "Compulab CM-T35") | |||
818 | .phys_io = 0x48000000, | 812 | .phys_io = 0x48000000, |
819 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 813 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, |
820 | .boot_params = 0x80000100, | 814 | .boot_params = 0x80000100, |
821 | .map_io = cm_t35_map_io, | 815 | .map_io = omap3_map_io, |
816 | .reserve = omap_reserve, | ||
822 | .init_irq = cm_t35_init_irq, | 817 | .init_irq = cm_t35_init_irq, |
823 | .init_machine = cm_t35_init, | 818 | .init_machine = cm_t35_init, |
824 | .timer = &omap_timer, | 819 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 96e16f76ff44..a07086d6a0b2 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
@@ -799,17 +799,12 @@ static void __init devkit8000_init(void) | |||
799 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); | 799 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); |
800 | } | 800 | } |
801 | 801 | ||
802 | static void __init devkit8000_map_io(void) | ||
803 | { | ||
804 | omap2_set_globals_343x(); | ||
805 | omap34xx_map_common_io(); | ||
806 | } | ||
807 | |||
808 | MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000") | 802 | MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000") |
809 | .phys_io = 0x48000000, | 803 | .phys_io = 0x48000000, |
810 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 804 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, |
811 | .boot_params = 0x80000100, | 805 | .boot_params = 0x80000100, |
812 | .map_io = devkit8000_map_io, | 806 | .map_io = omap3_map_io, |
807 | .reserve = omap_reserve, | ||
813 | .init_irq = devkit8000_init_irq, | 808 | .init_irq = devkit8000_init_irq, |
814 | .init_machine = devkit8000_init, | 809 | .init_machine = devkit8000_init, |
815 | .timer = &omap_timer, | 810 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 9a7f790d8c3a..3482b99e8c86 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -58,6 +58,7 @@ MACHINE_START(OMAP_GENERIC, "Generic OMAP24xx") | |||
58 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 58 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
59 | .boot_params = 0x80000100, | 59 | .boot_params = 0x80000100, |
60 | .map_io = omap_generic_map_io, | 60 | .map_io = omap_generic_map_io, |
61 | .reserve = omap_reserve, | ||
61 | .init_irq = omap_generic_init_irq, | 62 | .init_irq = omap_generic_init_irq, |
62 | .init_machine = omap_generic_init, | 63 | .init_machine = omap_generic_init, |
63 | .timer = &omap_timer, | 64 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 3240c6a7d9e7..e09bd686389f 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -380,6 +380,7 @@ MACHINE_START(OMAP_H4, "OMAP2420 H4 board") | |||
380 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 380 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
381 | .boot_params = 0x80000100, | 381 | .boot_params = 0x80000100, |
382 | .map_io = omap_h4_map_io, | 382 | .map_io = omap_h4_map_io, |
383 | .reserve = omap_reserve, | ||
383 | .init_irq = omap_h4_init_irq, | 384 | .init_irq = omap_h4_init_irq, |
384 | .init_machine = omap_h4_init, | 385 | .init_machine = omap_h4_init, |
385 | .timer = &omap_timer, | 386 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index d55c57b761a9..175f04339761 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -532,17 +532,12 @@ static void __init igep2_init(void) | |||
532 | pr_warning("IGEP v2: Could not obtain gpio GPIO_WIFI_NRESET\n"); | 532 | pr_warning("IGEP v2: Could not obtain gpio GPIO_WIFI_NRESET\n"); |
533 | } | 533 | } |
534 | 534 | ||
535 | static void __init igep2_map_io(void) | ||
536 | { | ||
537 | omap2_set_globals_343x(); | ||
538 | omap34xx_map_common_io(); | ||
539 | } | ||
540 | |||
541 | MACHINE_START(IGEP0020, "IGEP v2 board") | 535 | MACHINE_START(IGEP0020, "IGEP v2 board") |
542 | .phys_io = 0x48000000, | 536 | .phys_io = 0x48000000, |
543 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 537 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
544 | .boot_params = 0x80000100, | 538 | .boot_params = 0x80000100, |
545 | .map_io = igep2_map_io, | 539 | .map_io = omap3_map_io, |
540 | .reserve = omap_reserve, | ||
546 | .init_irq = igep2_init_irq, | 541 | .init_irq = igep2_init_irq, |
547 | .init_machine = igep2_init, | 542 | .init_machine = igep2_init, |
548 | .timer = &omap_timer, | 543 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 778afabf3b4e..00d9b13b01c5 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -441,17 +441,12 @@ static void __init omap_ldp_init(void) | |||
441 | ldp_vmmc1_supply.dev = mmc[0].dev; | 441 | ldp_vmmc1_supply.dev = mmc[0].dev; |
442 | } | 442 | } |
443 | 443 | ||
444 | static void __init omap_ldp_map_io(void) | ||
445 | { | ||
446 | omap2_set_globals_343x(); | ||
447 | omap34xx_map_common_io(); | ||
448 | } | ||
449 | |||
450 | MACHINE_START(OMAP_LDP, "OMAP LDP board") | 444 | MACHINE_START(OMAP_LDP, "OMAP LDP board") |
451 | .phys_io = 0x48000000, | 445 | .phys_io = 0x48000000, |
452 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 446 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
453 | .boot_params = 0x80000100, | 447 | .boot_params = 0x80000100, |
454 | .map_io = omap_ldp_map_io, | 448 | .map_io = omap3_map_io, |
449 | .reserve = omap_reserve, | ||
455 | .init_irq = omap_ldp_init_irq, | 450 | .init_irq = omap_ldp_init_irq, |
456 | .init_machine = omap_ldp_init, | 451 | .init_machine = omap_ldp_init, |
457 | .timer = &omap_timer, | 452 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index 5b9bbdc983bd..a3e2b49aa39f 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c | |||
@@ -678,6 +678,7 @@ MACHINE_START(NOKIA_N800, "Nokia N800") | |||
678 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 678 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
679 | .boot_params = 0x80000100, | 679 | .boot_params = 0x80000100, |
680 | .map_io = n8x0_map_io, | 680 | .map_io = n8x0_map_io, |
681 | .reserve = omap_reserve, | ||
681 | .init_irq = n8x0_init_irq, | 682 | .init_irq = n8x0_init_irq, |
682 | .init_machine = n8x0_init_machine, | 683 | .init_machine = n8x0_init_machine, |
683 | .timer = &omap_timer, | 684 | .timer = &omap_timer, |
@@ -688,6 +689,7 @@ MACHINE_START(NOKIA_N810, "Nokia N810") | |||
688 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 689 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
689 | .boot_params = 0x80000100, | 690 | .boot_params = 0x80000100, |
690 | .map_io = n8x0_map_io, | 691 | .map_io = n8x0_map_io, |
692 | .reserve = omap_reserve, | ||
691 | .init_irq = n8x0_init_irq, | 693 | .init_irq = n8x0_init_irq, |
692 | .init_machine = n8x0_init_machine, | 694 | .init_machine = n8x0_init_machine, |
693 | .timer = &omap_timer, | 695 | .timer = &omap_timer, |
@@ -698,6 +700,7 @@ MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX") | |||
698 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 700 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
699 | .boot_params = 0x80000100, | 701 | .boot_params = 0x80000100, |
700 | .map_io = n8x0_map_io, | 702 | .map_io = n8x0_map_io, |
703 | .reserve = omap_reserve, | ||
701 | .init_irq = n8x0_init_irq, | 704 | .init_irq = n8x0_init_irq, |
702 | .init_machine = n8x0_init_machine, | 705 | .init_machine = n8x0_init_machine, |
703 | .timer = &omap_timer, | 706 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index dc5a7e8790c0..87969c7df652 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -485,18 +485,13 @@ static void __init omap3_beagle_init(void) | |||
485 | beagle_display_init(); | 485 | beagle_display_init(); |
486 | } | 486 | } |
487 | 487 | ||
488 | static void __init omap3_beagle_map_io(void) | ||
489 | { | ||
490 | omap2_set_globals_343x(); | ||
491 | omap34xx_map_common_io(); | ||
492 | } | ||
493 | |||
494 | MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") | 488 | MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") |
495 | /* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */ | 489 | /* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */ |
496 | .phys_io = 0x48000000, | 490 | .phys_io = 0x48000000, |
497 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 491 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
498 | .boot_params = 0x80000100, | 492 | .boot_params = 0x80000100, |
499 | .map_io = omap3_beagle_map_io, | 493 | .map_io = omap3_map_io, |
494 | .reserve = omap_reserve, | ||
500 | .init_irq = omap3_beagle_init_irq, | 495 | .init_irq = omap3_beagle_init_irq, |
501 | .init_machine = omap3_beagle_init, | 496 | .init_machine = omap3_beagle_init, |
502 | .timer = &omap_timer, | 497 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index b95261013812..6494dbdfc391 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -715,18 +715,13 @@ static void __init omap3_evm_init(void) | |||
715 | omap3_evm_display_init(); | 715 | omap3_evm_display_init(); |
716 | } | 716 | } |
717 | 717 | ||
718 | static void __init omap3_evm_map_io(void) | ||
719 | { | ||
720 | omap2_set_globals_343x(); | ||
721 | omap34xx_map_common_io(); | ||
722 | } | ||
723 | |||
724 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") | 718 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") |
725 | /* Maintainer: Syed Mohammed Khasim - Texas Instruments */ | 719 | /* Maintainer: Syed Mohammed Khasim - Texas Instruments */ |
726 | .phys_io = 0x48000000, | 720 | .phys_io = 0x48000000, |
727 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 721 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
728 | .boot_params = 0x80000100, | 722 | .boot_params = 0x80000100, |
729 | .map_io = omap3_evm_map_io, | 723 | .map_io = omap3_map_io, |
724 | .reserve = omap_reserve, | ||
730 | .init_irq = omap3_evm_init_irq, | 725 | .init_irq = omap3_evm_init_irq, |
731 | .init_machine = omap3_evm_init, | 726 | .init_machine = omap3_evm_init, |
732 | .timer = &omap_timer, | 727 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index a58bdef1b4da..55836fa35060 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -700,17 +700,12 @@ static void __init omap3pandora_init(void) | |||
700 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); | 700 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); |
701 | } | 701 | } |
702 | 702 | ||
703 | static void __init omap3pandora_map_io(void) | ||
704 | { | ||
705 | omap2_set_globals_343x(); | ||
706 | omap34xx_map_common_io(); | ||
707 | } | ||
708 | |||
709 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") | 703 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") |
710 | .phys_io = 0x48000000, | 704 | .phys_io = 0x48000000, |
711 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 705 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
712 | .boot_params = 0x80000100, | 706 | .boot_params = 0x80000100, |
713 | .map_io = omap3pandora_map_io, | 707 | .map_io = omap3_map_io, |
708 | .reserve = omap_reserve, | ||
714 | .init_irq = omap3pandora_init_irq, | 709 | .init_irq = omap3pandora_init_irq, |
715 | .init_machine = omap3pandora_init, | 710 | .init_machine = omap3pandora_init, |
716 | .timer = &omap_timer, | 711 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c index a04cffd691c5..bcd01d278c65 100644 --- a/arch/arm/mach-omap2/board-omap3stalker.c +++ b/arch/arm/mach-omap2/board-omap3stalker.c | |||
@@ -652,18 +652,12 @@ static void __init omap3_stalker_init(void) | |||
652 | omap_mux_init_signal("sdr_cke1", OMAP_PIN_OUTPUT); | 652 | omap_mux_init_signal("sdr_cke1", OMAP_PIN_OUTPUT); |
653 | } | 653 | } |
654 | 654 | ||
655 | static void __init omap3_stalker_map_io(void) | ||
656 | { | ||
657 | omap2_set_globals_343x(); | ||
658 | omap34xx_map_common_io(); | ||
659 | } | ||
660 | |||
661 | MACHINE_START(SBC3530, "OMAP3 STALKER") | 655 | MACHINE_START(SBC3530, "OMAP3 STALKER") |
662 | /* Maintainer: Jason Lam -lzg@ema-tech.com */ | 656 | /* Maintainer: Jason Lam -lzg@ema-tech.com */ |
663 | .phys_io = 0x48000000, | 657 | .phys_io = 0x48000000, |
664 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 658 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
665 | .boot_params = 0x80000100, | 659 | .boot_params = 0x80000100, |
666 | .map_io = omap3_stalker_map_io, | 660 | .map_io = omap3_map_io, |
667 | .init_irq = omap3_stalker_init_irq, | 661 | .init_irq = omap3_stalker_init_irq, |
668 | .init_machine = omap3_stalker_init, | 662 | .init_machine = omap3_stalker_init, |
669 | .timer = &omap_timer, | 663 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index 288f9d5c7291..663c62d271e8 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
@@ -536,18 +536,13 @@ static void __init omap3_touchbook_init(void) | |||
536 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); | 536 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); |
537 | } | 537 | } |
538 | 538 | ||
539 | static void __init omap3_touchbook_map_io(void) | ||
540 | { | ||
541 | omap2_set_globals_343x(); | ||
542 | omap34xx_map_common_io(); | ||
543 | } | ||
544 | |||
545 | MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") | 539 | MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") |
546 | /* Maintainer: Gregoire Gentil - http://www.alwaysinnovating.com */ | 540 | /* Maintainer: Gregoire Gentil - http://www.alwaysinnovating.com */ |
547 | .phys_io = 0x48000000, | 541 | .phys_io = 0x48000000, |
548 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 542 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, |
549 | .boot_params = 0x80000100, | 543 | .boot_params = 0x80000100, |
550 | .map_io = omap3_touchbook_map_io, | 544 | .map_io = omap3_map_io, |
545 | .reserve = omap_reserve, | ||
551 | .init_irq = omap3_touchbook_init_irq, | 546 | .init_irq = omap3_touchbook_init_irq, |
552 | .init_machine = omap3_touchbook_init, | 547 | .init_machine = omap3_touchbook_init, |
553 | .timer = &omap_timer, | 548 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 7fe3296faa25..4c4843618350 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -500,17 +500,12 @@ static void __init overo_init(void) | |||
500 | "OVERO_GPIO_USBH_CPEN\n"); | 500 | "OVERO_GPIO_USBH_CPEN\n"); |
501 | } | 501 | } |
502 | 502 | ||
503 | static void __init overo_map_io(void) | ||
504 | { | ||
505 | omap2_set_globals_343x(); | ||
506 | omap34xx_map_common_io(); | ||
507 | } | ||
508 | |||
509 | MACHINE_START(OVERO, "Gumstix Overo") | 503 | MACHINE_START(OVERO, "Gumstix Overo") |
510 | .phys_io = 0x48000000, | 504 | .phys_io = 0x48000000, |
511 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 505 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
512 | .boot_params = 0x80000100, | 506 | .boot_params = 0x80000100, |
513 | .map_io = overo_map_io, | 507 | .map_io = omap3_map_io, |
508 | .reserve = omap_reserve, | ||
514 | .init_irq = overo_init_irq, | 509 | .init_irq = overo_init_irq, |
515 | .init_machine = overo_init, | 510 | .init_machine = overo_init, |
516 | .timer = &omap_timer, | 511 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index 1b86b5bb87a2..a58e8cb1a7fc 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -143,7 +143,7 @@ static void __init rx51_init(void) | |||
143 | 143 | ||
144 | static void __init rx51_map_io(void) | 144 | static void __init rx51_map_io(void) |
145 | { | 145 | { |
146 | omap2_set_globals_343x(); | 146 | omap2_set_globals_3xxx(); |
147 | rx51_video_mem_init(); | 147 | rx51_video_mem_init(); |
148 | omap34xx_map_common_io(); | 148 | omap34xx_map_common_io(); |
149 | } | 149 | } |
@@ -154,6 +154,7 @@ MACHINE_START(NOKIA_RX51, "Nokia RX-51 board") | |||
154 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 154 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
155 | .boot_params = 0x80000100, | 155 | .boot_params = 0x80000100, |
156 | .map_io = rx51_map_io, | 156 | .map_io = rx51_map_io, |
157 | .reserve = omap_reserve, | ||
157 | .init_irq = rx51_init_irq, | 158 | .init_irq = rx51_init_irq, |
158 | .init_machine = rx51_init, | 159 | .init_machine = rx51_init, |
159 | .timer = &omap_timer, | 160 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c index 0eafae2f9181..3ad9ecf7f5e2 100644 --- a/arch/arm/mach-omap2/board-zoom2.c +++ b/arch/arm/mach-omap2/board-zoom2.c | |||
@@ -140,17 +140,12 @@ static void __init omap_zoom2_init(void) | |||
140 | zoom_debugboard_init(); | 140 | zoom_debugboard_init(); |
141 | } | 141 | } |
142 | 142 | ||
143 | static void __init omap_zoom2_map_io(void) | ||
144 | { | ||
145 | omap2_set_globals_343x(); | ||
146 | omap34xx_map_common_io(); | ||
147 | } | ||
148 | |||
149 | MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") | 143 | MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") |
150 | .phys_io = ZOOM_UART_BASE, | 144 | .phys_io = ZOOM_UART_BASE, |
151 | .io_pg_offst = (ZOOM_UART_VIRT >> 18) & 0xfffc, | 145 | .io_pg_offst = (ZOOM_UART_VIRT >> 18) & 0xfffc, |
152 | .boot_params = 0x80000100, | 146 | .boot_params = 0x80000100, |
153 | .map_io = omap_zoom2_map_io, | 147 | .map_io = omap3_map_io, |
148 | .reserve = omap_reserve, | ||
154 | .init_irq = omap_zoom2_init_irq, | 149 | .init_irq = omap_zoom2_init_irq, |
155 | .init_machine = omap_zoom2_init, | 150 | .init_machine = omap_zoom2_init, |
156 | .timer = &omap_timer, | 151 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/board-zoom3.c b/arch/arm/mach-omap2/board-zoom3.c index 79fcad655677..6ca0b8341615 100644 --- a/arch/arm/mach-omap2/board-zoom3.c +++ b/arch/arm/mach-omap2/board-zoom3.c | |||
@@ -25,12 +25,6 @@ | |||
25 | #include "mux.h" | 25 | #include "mux.h" |
26 | #include "sdram-hynix-h8mbx00u0mer-0em.h" | 26 | #include "sdram-hynix-h8mbx00u0mer-0em.h" |
27 | 27 | ||
28 | static void __init omap_zoom_map_io(void) | ||
29 | { | ||
30 | omap2_set_globals_36xx(); | ||
31 | omap34xx_map_common_io(); | ||
32 | } | ||
33 | |||
34 | static struct omap_board_config_kernel zoom_config[] __initdata = { | 28 | static struct omap_board_config_kernel zoom_config[] __initdata = { |
35 | }; | 29 | }; |
36 | 30 | ||
@@ -132,7 +126,8 @@ MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board") | |||
132 | .phys_io = ZOOM_UART_BASE, | 126 | .phys_io = ZOOM_UART_BASE, |
133 | .io_pg_offst = (ZOOM_UART_VIRT >> 18) & 0xfffc, | 127 | .io_pg_offst = (ZOOM_UART_VIRT >> 18) & 0xfffc, |
134 | .boot_params = 0x80000100, | 128 | .boot_params = 0x80000100, |
135 | .map_io = omap_zoom_map_io, | 129 | .map_io = omap3_map_io, |
130 | .reserve = omap_reserve, | ||
136 | .init_irq = omap_zoom_init_irq, | 131 | .init_irq = omap_zoom_init_irq, |
137 | .init_machine = omap_zoom_init, | 132 | .init_machine = omap_zoom_init, |
138 | .timer = &omap_timer, | 133 | .timer = &omap_timer, |
diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c index c226798e9ac6..138646deac89 100644 --- a/arch/arm/mach-omap2/clock3xxx_data.c +++ b/arch/arm/mach-omap2/clock3xxx_data.c | |||
@@ -3166,6 +3166,10 @@ static struct clk uart4_ick_am35xx = { | |||
3166 | .recalc = &followparent_recalc, | 3166 | .recalc = &followparent_recalc, |
3167 | }; | 3167 | }; |
3168 | 3168 | ||
3169 | static struct clk dummy_apb_pclk = { | ||
3170 | .name = "apb_pclk", | ||
3171 | .ops = &clkops_null, | ||
3172 | }; | ||
3169 | 3173 | ||
3170 | /* | 3174 | /* |
3171 | * clkdev | 3175 | * clkdev |
@@ -3173,6 +3177,7 @@ static struct clk uart4_ick_am35xx = { | |||
3173 | 3177 | ||
3174 | /* XXX At some point we should rename this file to clock3xxx_data.c */ | 3178 | /* XXX At some point we should rename this file to clock3xxx_data.c */ |
3175 | static struct omap_clk omap3xxx_clks[] = { | 3179 | static struct omap_clk omap3xxx_clks[] = { |
3180 | CLK(NULL, "apb_pclk", &dummy_apb_pclk, CK_3XXX), | ||
3176 | CLK(NULL, "omap_32k_fck", &omap_32k_fck, CK_3XXX), | 3181 | CLK(NULL, "omap_32k_fck", &omap_32k_fck, CK_3XXX), |
3177 | CLK(NULL, "virt_12m_ck", &virt_12m_ck, CK_3XXX), | 3182 | CLK(NULL, "virt_12m_ck", &virt_12m_ck, CK_3XXX), |
3178 | CLK(NULL, "virt_13m_ck", &virt_13m_ck, CK_3XXX), | 3183 | CLK(NULL, "virt_13m_ck", &virt_13m_ck, CK_3XXX), |
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 210de9d292fb..b9ea70bce563 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <plat/sdrc.h> | 32 | #include <plat/sdrc.h> |
33 | #include <plat/gpmc.h> | 33 | #include <plat/gpmc.h> |
34 | #include <plat/serial.h> | 34 | #include <plat/serial.h> |
35 | #include <plat/vram.h> | ||
36 | 35 | ||
37 | #include "clock2xxx.h" | 36 | #include "clock2xxx.h" |
38 | #include "clock3xxx.h" | 37 | #include "clock3xxx.h" |
@@ -241,8 +240,6 @@ static void __init _omap2_map_common_io(void) | |||
241 | 240 | ||
242 | omap2_check_revision(); | 241 | omap2_check_revision(); |
243 | omap_sram_init(); | 242 | omap_sram_init(); |
244 | omapfb_reserve_sdram(); | ||
245 | omap_vram_reserve_sdram(); | ||
246 | } | 243 | } |
247 | 244 | ||
248 | #ifdef CONFIG_ARCH_OMAP2420 | 245 | #ifdef CONFIG_ARCH_OMAP2420 |