diff options
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-3630sdp.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-devkit8000.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3stalker.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3touchbook.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-zoom2.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-zoom3.c | 8 | ||||
-rw-r--r-- | arch/arm/plat-omap/common.c | 6 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/common.h | 2 |
17 files changed, 23 insertions, 105 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 4961f3b68739..ecdd2c3ea693 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -803,18 +803,12 @@ static void __init omap_3430sdp_init(void) | |||
803 | usb_ehci_init(&ehci_pdata); | 803 | usb_ehci_init(&ehci_pdata); |
804 | } | 804 | } |
805 | 805 | ||
806 | static void __init omap_3430sdp_map_io(void) | ||
807 | { | ||
808 | omap2_set_globals_3xxx(); | ||
809 | omap34xx_map_common_io(); | ||
810 | } | ||
811 | |||
812 | MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board") | 806 | MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board") |
813 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ | 807 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ |
814 | .phys_io = 0x48000000, | 808 | .phys_io = 0x48000000, |
815 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 809 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
816 | .boot_params = 0x80000100, | 810 | .boot_params = 0x80000100, |
817 | .map_io = omap_3430sdp_map_io, | 811 | .map_io = omap3_map_io, |
818 | .reserve = omap_reserve, | 812 | .reserve = omap_reserve, |
819 | .init_irq = omap_3430sdp_init_irq, | 813 | .init_irq = omap_3430sdp_init_irq, |
820 | .init_machine = omap_3430sdp_init, | 814 | .init_machine = omap_3430sdp_init, |
diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c index 72c2130b7f7a..59860dfd8390 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_3xxx(); | ||
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 | ||
@@ -107,7 +101,7 @@ MACHINE_START(OMAP_3630SDP, "OMAP 3630SDP board") | |||
107 | .phys_io = 0x48000000, | 101 | .phys_io = 0x48000000, |
108 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 102 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
109 | .boot_params = 0x80000100, | 103 | .boot_params = 0x80000100, |
110 | .map_io = omap_sdp_map_io, | 104 | .map_io = omap3_map_io, |
111 | .reserve = omap_reserve, | 105 | .reserve = omap_reserve, |
112 | .init_irq = omap_sdp_init_irq, | 106 | .init_irq = omap_sdp_init_irq, |
113 | .init_machine = omap_sdp_init, | 107 | .init_machine = omap_sdp_init, |
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 43564249c62d..4d0f58592864 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -461,17 +461,11 @@ 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_3xxx(); | ||
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, |
475 | .reserve = omap_reserve, | 469 | .reserve = omap_reserve, |
476 | .init_irq = am3517_evm_init_irq, | 470 | .init_irq = am3517_evm_init_irq, |
477 | .init_machine = am3517_evm_init, | 471 | .init_machine = am3517_evm_init, |
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 6ce30b37cda2..b910f72f43cc 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -708,12 +708,6 @@ static void __init cm_t35_init_irq(void) | |||
708 | omap_gpio_init(); | 708 | omap_gpio_init(); |
709 | } | 709 | } |
710 | 710 | ||
711 | static void __init cm_t35_map_io(void) | ||
712 | { | ||
713 | omap2_set_globals_3xxx(); | ||
714 | omap34xx_map_common_io(); | ||
715 | } | ||
716 | |||
717 | static struct omap_board_mux board_mux[] __initdata = { | 711 | static struct omap_board_mux board_mux[] __initdata = { |
718 | /* nCS and IRQ for CM-T35 ethernet */ | 712 | /* nCS and IRQ for CM-T35 ethernet */ |
719 | OMAP3_MUX(GPMC_NCS5, OMAP_MUX_MODE0), | 713 | OMAP3_MUX(GPMC_NCS5, OMAP_MUX_MODE0), |
@@ -836,7 +830,7 @@ MACHINE_START(CM_T35, "Compulab CM-T35") | |||
836 | .phys_io = 0x48000000, | 830 | .phys_io = 0x48000000, |
837 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 831 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, |
838 | .boot_params = 0x80000100, | 832 | .boot_params = 0x80000100, |
839 | .map_io = cm_t35_map_io, | 833 | .map_io = omap3_map_io, |
840 | .reserve = omap_reserve, | 834 | .reserve = omap_reserve, |
841 | .init_irq = cm_t35_init_irq, | 835 | .init_irq = cm_t35_init_irq, |
842 | .init_machine = cm_t35_init, | 836 | .init_machine = cm_t35_init, |
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 116425877628..8233dd551234 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
@@ -814,17 +814,11 @@ static void __init devkit8000_init(void) | |||
814 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); | 814 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); |
815 | } | 815 | } |
816 | 816 | ||
817 | static void __init devkit8000_map_io(void) | ||
818 | { | ||
819 | omap2_set_globals_3xxx(); | ||
820 | omap34xx_map_common_io(); | ||
821 | } | ||
822 | |||
823 | MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000") | 817 | MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000") |
824 | .phys_io = 0x48000000, | 818 | .phys_io = 0x48000000, |
825 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 819 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, |
826 | .boot_params = 0x80000100, | 820 | .boot_params = 0x80000100, |
827 | .map_io = devkit8000_map_io, | 821 | .map_io = omap3_map_io, |
828 | .reserve = omap_reserve, | 822 | .reserve = omap_reserve, |
829 | .init_irq = devkit8000_init_irq, | 823 | .init_irq = devkit8000_init_irq, |
830 | .init_machine = devkit8000_init, | 824 | .init_machine = devkit8000_init, |
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index a8544ab35880..175f04339761 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -532,17 +532,11 @@ 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_3xxx(); | ||
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, |
546 | .reserve = omap_reserve, | 540 | .reserve = omap_reserve, |
547 | .init_irq = igep2_init_irq, | 541 | .init_irq = igep2_init_irq, |
548 | .init_machine = igep2_init, | 542 | .init_machine = igep2_init, |
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 9bcb18248023..07e1f731ffc7 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -406,17 +406,11 @@ static void __init omap_ldp_init(void) | |||
406 | ldp_vmmc1_supply.dev = mmc[0].dev; | 406 | ldp_vmmc1_supply.dev = mmc[0].dev; |
407 | } | 407 | } |
408 | 408 | ||
409 | static void __init omap_ldp_map_io(void) | ||
410 | { | ||
411 | omap2_set_globals_3xxx(); | ||
412 | omap34xx_map_common_io(); | ||
413 | } | ||
414 | |||
415 | MACHINE_START(OMAP_LDP, "OMAP LDP board") | 409 | MACHINE_START(OMAP_LDP, "OMAP LDP board") |
416 | .phys_io = 0x48000000, | 410 | .phys_io = 0x48000000, |
417 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 411 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
418 | .boot_params = 0x80000100, | 412 | .boot_params = 0x80000100, |
419 | .map_io = omap_ldp_map_io, | 413 | .map_io = omap3_map_io, |
420 | .reserve = omap_reserve, | 414 | .reserve = omap_reserve, |
421 | .init_irq = omap_ldp_init_irq, | 415 | .init_irq = omap_ldp_init_irq, |
422 | .init_machine = omap_ldp_init, | 416 | .init_machine = omap_ldp_init, |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 7b95cc127304..6a6d2d7a04c6 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -507,18 +507,12 @@ static void __init omap3_beagle_init(void) | |||
507 | beagle_display_init(); | 507 | beagle_display_init(); |
508 | } | 508 | } |
509 | 509 | ||
510 | static void __init omap3_beagle_map_io(void) | ||
511 | { | ||
512 | omap2_set_globals_3xxx(); | ||
513 | omap34xx_map_common_io(); | ||
514 | } | ||
515 | |||
516 | MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") | 510 | MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") |
517 | /* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */ | 511 | /* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */ |
518 | .phys_io = 0x48000000, | 512 | .phys_io = 0x48000000, |
519 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 513 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
520 | .boot_params = 0x80000100, | 514 | .boot_params = 0x80000100, |
521 | .map_io = omap3_beagle_map_io, | 515 | .map_io = omap3_map_io, |
522 | .reserve = omap_reserve, | 516 | .reserve = omap_reserve, |
523 | .init_irq = omap3_beagle_init_irq, | 517 | .init_irq = omap3_beagle_init_irq, |
524 | .init_machine = omap3_beagle_init, | 518 | .init_machine = omap3_beagle_init, |
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 65b46d4e6f18..6494dbdfc391 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -715,18 +715,12 @@ 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_3xxx(); | ||
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, |
730 | .reserve = omap_reserve, | 724 | .reserve = omap_reserve, |
731 | .init_irq = omap3_evm_init_irq, | 725 | .init_irq = omap3_evm_init_irq, |
732 | .init_machine = omap3_evm_init, | 726 | .init_machine = omap3_evm_init, |
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 49feae4bcf49..4ac146b731f9 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -590,17 +590,11 @@ static void __init omap3pandora_init(void) | |||
590 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); | 590 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); |
591 | } | 591 | } |
592 | 592 | ||
593 | static void __init omap3pandora_map_io(void) | ||
594 | { | ||
595 | omap2_set_globals_3xxx(); | ||
596 | omap34xx_map_common_io(); | ||
597 | } | ||
598 | |||
599 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") | 593 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") |
600 | .phys_io = 0x48000000, | 594 | .phys_io = 0x48000000, |
601 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 595 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
602 | .boot_params = 0x80000100, | 596 | .boot_params = 0x80000100, |
603 | .map_io = omap3pandora_map_io, | 597 | .map_io = omap3_map_io, |
604 | .reserve = omap_reserve, | 598 | .reserve = omap_reserve, |
605 | .init_irq = omap3pandora_init_irq, | 599 | .init_irq = omap3pandora_init_irq, |
606 | .init_machine = omap3pandora_init, | 600 | .init_machine = omap3pandora_init, |
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c index 497d42976692..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_3xxx(); | ||
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 77a0acec28a7..69d431bd05db 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
@@ -559,18 +559,12 @@ static void __init omap3_touchbook_init(void) | |||
559 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); | 559 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); |
560 | } | 560 | } |
561 | 561 | ||
562 | static void __init omap3_touchbook_map_io(void) | ||
563 | { | ||
564 | omap2_set_globals_3xxx(); | ||
565 | omap34xx_map_common_io(); | ||
566 | } | ||
567 | |||
568 | MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") | 562 | MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") |
569 | /* Maintainer: Gregoire Gentil - http://www.alwaysinnovating.com */ | 563 | /* Maintainer: Gregoire Gentil - http://www.alwaysinnovating.com */ |
570 | .phys_io = 0x48000000, | 564 | .phys_io = 0x48000000, |
571 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 565 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, |
572 | .boot_params = 0x80000100, | 566 | .boot_params = 0x80000100, |
573 | .map_io = omap3_touchbook_map_io, | 567 | .map_io = omap3_map_io, |
574 | .reserve = omap_reserve, | 568 | .reserve = omap_reserve, |
575 | .init_irq = omap3_touchbook_init_irq, | 569 | .init_irq = omap3_touchbook_init_irq, |
576 | .init_machine = omap3_touchbook_init, | 570 | .init_machine = omap3_touchbook_init, |
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 7c6cd06cc35f..908ffe879bab 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -484,17 +484,11 @@ static void __init overo_init(void) | |||
484 | "OVERO_GPIO_USBH_CPEN\n"); | 484 | "OVERO_GPIO_USBH_CPEN\n"); |
485 | } | 485 | } |
486 | 486 | ||
487 | static void __init overo_map_io(void) | ||
488 | { | ||
489 | omap2_set_globals_3xxx(); | ||
490 | omap34xx_map_common_io(); | ||
491 | } | ||
492 | |||
493 | MACHINE_START(OVERO, "Gumstix Overo") | 487 | MACHINE_START(OVERO, "Gumstix Overo") |
494 | .phys_io = 0x48000000, | 488 | .phys_io = 0x48000000, |
495 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | 489 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
496 | .boot_params = 0x80000100, | 490 | .boot_params = 0x80000100, |
497 | .map_io = overo_map_io, | 491 | .map_io = omap3_map_io, |
498 | .reserve = omap_reserve, | 492 | .reserve = omap_reserve, |
499 | .init_irq = overo_init_irq, | 493 | .init_irq = overo_init_irq, |
500 | .init_machine = overo_init, | 494 | .init_machine = overo_init, |
diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c index 3d2deb453727..161f72965a62 100644 --- a/arch/arm/mach-omap2/board-zoom2.c +++ b/arch/arm/mach-omap2/board-zoom2.c | |||
@@ -84,17 +84,11 @@ static void __init omap_zoom2_init(void) | |||
84 | zoom_debugboard_init(); | 84 | zoom_debugboard_init(); |
85 | } | 85 | } |
86 | 86 | ||
87 | static void __init omap_zoom2_map_io(void) | ||
88 | { | ||
89 | omap2_set_globals_3xxx(); | ||
90 | omap34xx_map_common_io(); | ||
91 | } | ||
92 | |||
93 | MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") | 87 | MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") |
94 | .phys_io = ZOOM_UART_BASE, | 88 | .phys_io = ZOOM_UART_BASE, |
95 | .io_pg_offst = (ZOOM_UART_VIRT >> 18) & 0xfffc, | 89 | .io_pg_offst = (ZOOM_UART_VIRT >> 18) & 0xfffc, |
96 | .boot_params = 0x80000100, | 90 | .boot_params = 0x80000100, |
97 | .map_io = omap_zoom2_map_io, | 91 | .map_io = omap3_map_io, |
98 | .reserve = omap_reserve, | 92 | .reserve = omap_reserve, |
99 | .init_irq = omap_zoom2_init_irq, | 93 | .init_irq = omap_zoom2_init_irq, |
100 | .init_machine = omap_zoom2_init, | 94 | .init_machine = omap_zoom2_init, |
diff --git a/arch/arm/mach-omap2/board-zoom3.c b/arch/arm/mach-omap2/board-zoom3.c index 91bc56a3e490..ca9a79af4ca3 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_3xxx(); | ||
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 | ||
@@ -76,7 +70,7 @@ MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board") | |||
76 | .phys_io = ZOOM_UART_BASE, | 70 | .phys_io = ZOOM_UART_BASE, |
77 | .io_pg_offst = (ZOOM_UART_VIRT >> 18) & 0xfffc, | 71 | .io_pg_offst = (ZOOM_UART_VIRT >> 18) & 0xfffc, |
78 | .boot_params = 0x80000100, | 72 | .boot_params = 0x80000100, |
79 | .map_io = omap_zoom_map_io, | 73 | .map_io = omap3_map_io, |
80 | .reserve = omap_reserve, | 74 | .reserve = omap_reserve, |
81 | .init_irq = omap_zoom_init_irq, | 75 | .init_irq = omap_zoom_init_irq, |
82 | .init_machine = omap_zoom_init, | 76 | .init_machine = omap_zoom_init, |
diff --git a/arch/arm/plat-omap/common.c b/arch/arm/plat-omap/common.c index 8932350abfd2..3008e7104487 100644 --- a/arch/arm/plat-omap/common.c +++ b/arch/arm/plat-omap/common.c | |||
@@ -324,6 +324,12 @@ void __init omap2_set_globals_3xxx(void) | |||
324 | { | 324 | { |
325 | __omap2_set_globals(&omap3_globals); | 325 | __omap2_set_globals(&omap3_globals); |
326 | } | 326 | } |
327 | |||
328 | void __init omap3_map_io(void) | ||
329 | { | ||
330 | omap2_set_globals_3xxx(); | ||
331 | omap34xx_map_common_io(); | ||
332 | } | ||
327 | #endif | 333 | #endif |
328 | 334 | ||
329 | #if defined(CONFIG_ARCH_OMAP4) | 335 | #if defined(CONFIG_ARCH_OMAP4) |
diff --git a/arch/arm/plat-omap/include/plat/common.h b/arch/arm/plat-omap/include/plat/common.h index 962aaebf59d4..e9cf3da18a09 100644 --- a/arch/arm/plat-omap/include/plat/common.h +++ b/arch/arm/plat-omap/include/plat/common.h | |||
@@ -68,6 +68,8 @@ void omap2_set_globals_control(struct omap_globals *); | |||
68 | void omap2_set_globals_prcm(struct omap_globals *); | 68 | void omap2_set_globals_prcm(struct omap_globals *); |
69 | void omap2_set_globals_uart(struct omap_globals *); | 69 | void omap2_set_globals_uart(struct omap_globals *); |
70 | 70 | ||
71 | void omap3_map_io(void); | ||
72 | |||
71 | /** | 73 | /** |
72 | * omap_test_timeout - busy-loop, testing a condition | 74 | * omap_test_timeout - busy-loop, testing a condition |
73 | * @cond: condition to test until it evaluates to true | 75 | * @cond: condition to test until it evaluates to true |