diff options
author | Tony Lindgren <tony@atomide.com> | 2011-08-23 02:57:24 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-08-24 09:19:02 -0400 |
commit | 8f5b5a41ebc750ffcc2c410371b2b4998955709e (patch) | |
tree | 02a05adecf3ee778ec77d560524b0c2089613405 /arch/arm/mach-omap2/board-cm-t3517.c | |
parent | a4ca9dbe44a167d63545c7ac2b5a36d7b0b415b6 (diff) |
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-cm-t3517.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t3517.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c index 88e1f74433e6..867bf671719c 100644 --- a/arch/arm/mach-omap2/board-cm-t3517.c +++ b/arch/arm/mach-omap2/board-cm-t3517.c | |||
@@ -251,11 +251,6 @@ static inline void cm_t3517_init_nand(void) {} | |||
251 | static struct omap_board_config_kernel cm_t3517_config[] __initdata = { | 251 | static struct omap_board_config_kernel cm_t3517_config[] __initdata = { |
252 | }; | 252 | }; |
253 | 253 | ||
254 | static void __init cm_t3517_init_early(void) | ||
255 | { | ||
256 | omap2_init_common_infrastructure(); | ||
257 | } | ||
258 | |||
259 | #ifdef CONFIG_OMAP_MUX | 254 | #ifdef CONFIG_OMAP_MUX |
260 | static struct omap_board_mux board_mux[] __initdata = { | 255 | static struct omap_board_mux board_mux[] __initdata = { |
261 | /* GPIO186 - Green LED */ | 256 | /* GPIO186 - Green LED */ |
@@ -302,7 +297,7 @@ MACHINE_START(CM_T3517, "Compulab CM-T3517") | |||
302 | .boot_params = 0x80000100, | 297 | .boot_params = 0x80000100, |
303 | .reserve = omap_reserve, | 298 | .reserve = omap_reserve, |
304 | .map_io = omap3_map_io, | 299 | .map_io = omap3_map_io, |
305 | .init_early = cm_t3517_init_early, | 300 | .init_early = am35xx_init_early, |
306 | .init_irq = omap3_init_irq, | 301 | .init_irq = omap3_init_irq, |
307 | .init_machine = cm_t3517_init, | 302 | .init_machine = cm_t3517_init, |
308 | .timer = &omap3_timer, | 303 | .timer = &omap3_timer, |