aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-overo.c
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2010-08-04 07:43:18 -0400
committerTony Lindgren <tony@atomide.com>2010-08-04 07:43:18 -0400
commit869fef41547db95df8523bf67845a21313709428 (patch)
tree5d12824045f9ac8b94a6e2aabfdb7b8693bdf051 /arch/arm/mach-omap2/board-overo.c
parentc573bcf96a427923d09de0b247691165d9a96023 (diff)
omap3: introduce omap3_map_io
Most OMAP3-based boards use exactly the same code for .map_io method in the machine_desc structure. This patch introduces omap3_map_io and updates board-* files to use it as .map_io method. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r--arch/arm/mach-omap2/board-overo.c8
1 files changed, 1 insertions, 7 deletions
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
487static void __init overo_map_io(void)
488{
489 omap2_set_globals_3xxx();
490 omap34xx_map_common_io();
491}
492
493MACHINE_START(OVERO, "Gumstix Overo") 487MACHINE_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,