aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-apollon.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-08-23 02:57:24 -0400
committerTony Lindgren <tony@atomide.com>2011-08-24 09:19:02 -0400
commit8f5b5a41ebc750ffcc2c410371b2b4998955709e (patch)
tree02a05adecf3ee778ec77d560524b0c2089613405 /arch/arm/mach-omap2/board-apollon.c
parenta4ca9dbe44a167d63545c7ac2b5a36d7b0b415b6 (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-apollon.c')
-rw-r--r--arch/arm/mach-omap2/board-apollon.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c
index 6d88ffa2477d..cf546f86014e 100644
--- a/arch/arm/mach-omap2/board-apollon.c
+++ b/arch/arm/mach-omap2/board-apollon.c
@@ -273,11 +273,6 @@ static struct omap_board_config_kernel apollon_config[] __initdata = {
273 { OMAP_TAG_LCD, &apollon_lcd_config }, 273 { OMAP_TAG_LCD, &apollon_lcd_config },
274}; 274};
275 275
276static void __init omap_apollon_init_early(void)
277{
278 omap2_init_common_infrastructure();
279}
280
281static struct gpio apollon_gpio_leds[] __initdata = { 276static struct gpio apollon_gpio_leds[] __initdata = {
282 { LED0_GPIO13, GPIOF_OUT_INIT_LOW, "LED0" }, /* LED0 - AA10 */ 277 { LED0_GPIO13, GPIOF_OUT_INIT_LOW, "LED0" }, /* LED0 - AA10 */
283 { LED1_GPIO14, GPIOF_OUT_INIT_LOW, "LED1" }, /* LED1 - AA6 */ 278 { LED1_GPIO14, GPIOF_OUT_INIT_LOW, "LED1" }, /* LED1 - AA6 */
@@ -353,7 +348,7 @@ MACHINE_START(OMAP_APOLLON, "OMAP24xx Apollon")
353 .boot_params = 0x80000100, 348 .boot_params = 0x80000100,
354 .reserve = omap_reserve, 349 .reserve = omap_reserve,
355 .map_io = omap_apollon_map_io, 350 .map_io = omap_apollon_map_io,
356 .init_early = omap_apollon_init_early, 351 .init_early = omap2420_init_early,
357 .init_irq = omap2_init_irq, 352 .init_irq = omap2_init_irq,
358 .init_machine = omap_apollon_init, 353 .init_machine = omap_apollon_init,
359 .timer = &omap2_timer, 354 .timer = &omap2_timer,