diff options
author | Tony Lindgren <tony@atomide.com> | 2011-08-23 08:57:24 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-08-24 15:19:02 +0200 |
commit | 8f5b5a41ebc750ffcc2c410371b2b4998955709e (patch) | |
tree | 02a05adecf3ee778ec77d560524b0c2089613405 /arch/arm/mach-omap2/board-zoom.c | |
parent | ARM: OMAP: Move omap2_init_common_devices out of init_early (diff) | |
download | linux-8f5b5a41ebc750ffcc2c410371b2b4998955709e.tar.xz linux-8f5b5a41ebc750ffcc2c410371b2b4998955709e.zip |
ARM: OMAP: Introduce SoC specific early_init
Introduce them for each omap variant and just make them all call
omap2_init_common_infrastructure for now. Do this for each board-*.c
file except for board-generic and board-omap3beagle as they use
the same machine ID for multiple SoCs.
No functional changes.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-zoom.c')
-rw-r--r-- | arch/arm/mach-omap2/board-zoom.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/board-zoom.c b/arch/arm/mach-omap2/board-zoom.c index 569526456420..d56c79661038 100644 --- a/arch/arm/mach-omap2/board-zoom.c +++ b/arch/arm/mach-omap2/board-zoom.c @@ -34,11 +34,6 @@ #define ZOOM3_EHCI_RESET_GPIO 64 -static void __init omap_zoom_init_early(void) -{ - omap2_init_common_infrastructure(); -} - #ifdef CONFIG_OMAP_MUX static struct omap_board_mux board_mux[] __initdata = { /* WLAN IRQ - GPIO 162 */ @@ -138,7 +133,7 @@ MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") .boot_params = 0x80000100, .reserve = omap_reserve, .map_io = omap3_map_io, - .init_early = omap_zoom_init_early, + .init_early = omap3430_init_early, .init_irq = omap3_init_irq, .init_machine = omap_zoom_init, .timer = &omap3_timer, @@ -148,7 +143,7 @@ MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board") .boot_params = 0x80000100, .reserve = omap_reserve, .map_io = omap3_map_io, - .init_early = omap_zoom_init_early, + .init_early = omap3630_init_early, .init_irq = omap3_init_irq, .init_machine = omap_zoom_init, .timer = &omap3_timer, |