aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorSergio Aguirre <saaguirre@ti.com>2010-08-04 07:43:18 -0400
committerTony Lindgren <tony@atomide.com>2010-08-04 07:43:18 -0400
commitc573bcf96a427923d09de0b247691165d9a96023 (patch)
treeafeb0c26640e282af9aab08aa169e92cd73b8d38 /arch/arm/mach-omap2
parentbe82ae0238b0453afcf4a76f0512b7dde34ba500 (diff)
omap3: Unify omap2_set_globals_3[43,6x]x functions
The only difference between them is the physical address of the uart4 port, which is only present in 36xx chips. We don't really need to care about keeping these 2 functions, since the decision to use uart4 is more cleanly done later when we do have access to omap_revision variable. Signed-off-by: Sergio Aguirre <saaguirre@ti.com> Acked-by: Kevin Hilman <khilman@deeprootsystems.com> [tony@atomide.com: added comment for the uart4_phys] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/board-3430sdp.c2
-rw-r--r--arch/arm/mach-omap2/board-3630sdp.c2
-rw-r--r--arch/arm/mach-omap2/board-am3517evm.c2
-rw-r--r--arch/arm/mach-omap2/board-cm-t35.c2
-rw-r--r--arch/arm/mach-omap2/board-devkit8000.c2
-rw-r--r--arch/arm/mach-omap2/board-igep0020.c2
-rw-r--r--arch/arm/mach-omap2/board-ldp.c2
-rw-r--r--arch/arm/mach-omap2/board-omap3beagle.c2
-rw-r--r--arch/arm/mach-omap2/board-omap3evm.c2
-rw-r--r--arch/arm/mach-omap2/board-omap3pandora.c2
-rw-r--r--arch/arm/mach-omap2/board-omap3stalker.c2
-rw-r--r--arch/arm/mach-omap2/board-omap3touchbook.c2
-rw-r--r--arch/arm/mach-omap2/board-overo.c2
-rw-r--r--arch/arm/mach-omap2/board-rx51.c2
-rw-r--r--arch/arm/mach-omap2/board-zoom2.c2
-rw-r--r--arch/arm/mach-omap2/board-zoom3.c2
16 files changed, 16 insertions, 16 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c
index dd9c03171a19..4961f3b68739 100644
--- a/arch/arm/mach-omap2/board-3430sdp.c
+++ b/arch/arm/mach-omap2/board-3430sdp.c
@@ -805,7 +805,7 @@ static void __init omap_3430sdp_init(void)
805 805
806static void __init omap_3430sdp_map_io(void) 806static void __init omap_3430sdp_map_io(void)
807{ 807{
808 omap2_set_globals_343x(); 808 omap2_set_globals_3xxx();
809 omap34xx_map_common_io(); 809 omap34xx_map_common_io();
810} 810}
811 811
diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c
index 57290fb3fcd7..72c2130b7f7a 100644
--- a/arch/arm/mach-omap2/board-3630sdp.c
+++ b/arch/arm/mach-omap2/board-3630sdp.c
@@ -68,7 +68,7 @@ static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = {
68 68
69static void __init omap_sdp_map_io(void) 69static void __init omap_sdp_map_io(void)
70{ 70{
71 omap2_set_globals_36xx(); 71 omap2_set_globals_3xxx();
72 omap34xx_map_common_io(); 72 omap34xx_map_common_io();
73} 73}
74 74
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c
index 7da92defcde0..43564249c62d 100644
--- a/arch/arm/mach-omap2/board-am3517evm.c
+++ b/arch/arm/mach-omap2/board-am3517evm.c
@@ -463,7 +463,7 @@ static void __init am3517_evm_init(void)
463 463
464static void __init am3517_evm_map_io(void) 464static void __init am3517_evm_map_io(void)
465{ 465{
466 omap2_set_globals_343x(); 466 omap2_set_globals_3xxx();
467 omap34xx_map_common_io(); 467 omap34xx_map_common_io();
468} 468}
469 469
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
index bc4c3f807068..6ce30b37cda2 100644
--- a/arch/arm/mach-omap2/board-cm-t35.c
+++ b/arch/arm/mach-omap2/board-cm-t35.c
@@ -710,7 +710,7 @@ static void __init cm_t35_init_irq(void)
710 710
711static void __init cm_t35_map_io(void) 711static void __init cm_t35_map_io(void)
712{ 712{
713 omap2_set_globals_343x(); 713 omap2_set_globals_3xxx();
714 omap34xx_map_common_io(); 714 omap34xx_map_common_io();
715} 715}
716 716
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 922b7464807f..116425877628 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -816,7 +816,7 @@ static void __init devkit8000_init(void)
816 816
817static void __init devkit8000_map_io(void) 817static void __init devkit8000_map_io(void)
818{ 818{
819 omap2_set_globals_343x(); 819 omap2_set_globals_3xxx();
820 omap34xx_map_common_io(); 820 omap34xx_map_common_io();
821} 821}
822 822
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c
index 759e39d1a702..a8544ab35880 100644
--- a/arch/arm/mach-omap2/board-igep0020.c
+++ b/arch/arm/mach-omap2/board-igep0020.c
@@ -534,7 +534,7 @@ static void __init igep2_init(void)
534 534
535static void __init igep2_map_io(void) 535static void __init igep2_map_io(void)
536{ 536{
537 omap2_set_globals_343x(); 537 omap2_set_globals_3xxx();
538 omap34xx_map_common_io(); 538 omap34xx_map_common_io();
539} 539}
540 540
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c
index 9cd2669113e4..9bcb18248023 100644
--- a/arch/arm/mach-omap2/board-ldp.c
+++ b/arch/arm/mach-omap2/board-ldp.c
@@ -408,7 +408,7 @@ static void __init omap_ldp_init(void)
408 408
409static void __init omap_ldp_map_io(void) 409static void __init omap_ldp_map_io(void)
410{ 410{
411 omap2_set_globals_343x(); 411 omap2_set_globals_3xxx();
412 omap34xx_map_common_io(); 412 omap34xx_map_common_io();
413} 413}
414 414
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 0ab0c26db4dd..7b95cc127304 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -509,7 +509,7 @@ static void __init omap3_beagle_init(void)
509 509
510static void __init omap3_beagle_map_io(void) 510static void __init omap3_beagle_map_io(void)
511{ 511{
512 omap2_set_globals_343x(); 512 omap2_set_globals_3xxx();
513 omap34xx_map_common_io(); 513 omap34xx_map_common_io();
514} 514}
515 515
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c
index a3d2e285e116..65b46d4e6f18 100644
--- a/arch/arm/mach-omap2/board-omap3evm.c
+++ b/arch/arm/mach-omap2/board-omap3evm.c
@@ -717,7 +717,7 @@ static void __init omap3_evm_init(void)
717 717
718static void __init omap3_evm_map_io(void) 718static void __init omap3_evm_map_io(void)
719{ 719{
720 omap2_set_globals_343x(); 720 omap2_set_globals_3xxx();
721 omap34xx_map_common_io(); 721 omap34xx_map_common_io();
722} 722}
723 723
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c
index c0f4f12eba54..49feae4bcf49 100644
--- a/arch/arm/mach-omap2/board-omap3pandora.c
+++ b/arch/arm/mach-omap2/board-omap3pandora.c
@@ -592,7 +592,7 @@ static void __init omap3pandora_init(void)
592 592
593static void __init omap3pandora_map_io(void) 593static void __init omap3pandora_map_io(void)
594{ 594{
595 omap2_set_globals_343x(); 595 omap2_set_globals_3xxx();
596 omap34xx_map_common_io(); 596 omap34xx_map_common_io();
597} 597}
598 598
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c
index a04cffd691c5..497d42976692 100644
--- a/arch/arm/mach-omap2/board-omap3stalker.c
+++ b/arch/arm/mach-omap2/board-omap3stalker.c
@@ -654,7 +654,7 @@ static void __init omap3_stalker_init(void)
654 654
655static void __init omap3_stalker_map_io(void) 655static void __init omap3_stalker_map_io(void)
656{ 656{
657 omap2_set_globals_343x(); 657 omap2_set_globals_3xxx();
658 omap34xx_map_common_io(); 658 omap34xx_map_common_io();
659} 659}
660 660
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c
index f05b867c5851..77a0acec28a7 100644
--- a/arch/arm/mach-omap2/board-omap3touchbook.c
+++ b/arch/arm/mach-omap2/board-omap3touchbook.c
@@ -561,7 +561,7 @@ static void __init omap3_touchbook_init(void)
561 561
562static void __init omap3_touchbook_map_io(void) 562static void __init omap3_touchbook_map_io(void)
563{ 563{
564 omap2_set_globals_343x(); 564 omap2_set_globals_3xxx();
565 omap34xx_map_common_io(); 565 omap34xx_map_common_io();
566} 566}
567 567
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index 87acb2f198ec..7c6cd06cc35f 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -486,7 +486,7 @@ static void __init overo_init(void)
486 486
487static void __init overo_map_io(void) 487static void __init overo_map_io(void)
488{ 488{
489 omap2_set_globals_343x(); 489 omap2_set_globals_3xxx();
490 omap34xx_map_common_io(); 490 omap34xx_map_common_io();
491} 491}
492 492
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c
index 3bd956f9e19f..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
144static void __init rx51_map_io(void) 144static 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}
diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c
index ffe188cb18e9..3d2deb453727 100644
--- a/arch/arm/mach-omap2/board-zoom2.c
+++ b/arch/arm/mach-omap2/board-zoom2.c
@@ -86,7 +86,7 @@ static void __init omap_zoom2_init(void)
86 86
87static void __init omap_zoom2_map_io(void) 87static void __init omap_zoom2_map_io(void)
88{ 88{
89 omap2_set_globals_343x(); 89 omap2_set_globals_3xxx();
90 omap34xx_map_common_io(); 90 omap34xx_map_common_io();
91} 91}
92 92
diff --git a/arch/arm/mach-omap2/board-zoom3.c b/arch/arm/mach-omap2/board-zoom3.c
index 5b605eba3e7b..91bc56a3e490 100644
--- a/arch/arm/mach-omap2/board-zoom3.c
+++ b/arch/arm/mach-omap2/board-zoom3.c
@@ -27,7 +27,7 @@
27 27
28static void __init omap_zoom_map_io(void) 28static void __init omap_zoom_map_io(void)
29{ 29{
30 omap2_set_globals_36xx(); 30 omap2_set_globals_3xxx();
31 omap34xx_map_common_io(); 31 omap34xx_map_common_io();
32} 32}
33 33