Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c573bcf9 authored by Sergio Aguirre's avatar Sergio Aguirre Committed by Tony Lindgren
Browse files

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: default avatarSergio Aguirre <saaguirre@ti.com>
Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
[tony@atomide.com: added comment for the uart4_phys]
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent be82ae02
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -805,7 +805,7 @@ static void __init omap_3430sdp_init(void)

static void __init omap_3430sdp_map_io(void)
{
	omap2_set_globals_343x();
	omap2_set_globals_3xxx();
	omap34xx_map_common_io();
}

+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = {

static void __init omap_sdp_map_io(void)
{
	omap2_set_globals_36xx();
	omap2_set_globals_3xxx();
	omap34xx_map_common_io();
}

+1 −1
Original line number Diff line number Diff line
@@ -463,7 +463,7 @@ static void __init am3517_evm_init(void)

static void __init am3517_evm_map_io(void)
{
	omap2_set_globals_343x();
	omap2_set_globals_3xxx();
	omap34xx_map_common_io();
}

+1 −1
Original line number Diff line number Diff line
@@ -710,7 +710,7 @@ static void __init cm_t35_init_irq(void)

static void __init cm_t35_map_io(void)
{
	omap2_set_globals_343x();
	omap2_set_globals_3xxx();
	omap34xx_map_common_io();
}

+1 −1
Original line number Diff line number Diff line
@@ -816,7 +816,7 @@ static void __init devkit8000_init(void)

static void __init devkit8000_map_io(void)
{
	omap2_set_globals_343x();
	omap2_set_globals_3xxx();
	omap34xx_map_common_io();
}

Loading