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-t35.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-t35.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 0f2549659879..e15d39bffe79 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -471,11 +471,6 @@ static void __init cm_t35_init_i2c(void) | |||
471 | omap3_pmic_init("tps65930", &cm_t35_twldata); | 471 | omap3_pmic_init("tps65930", &cm_t35_twldata); |
472 | } | 472 | } |
473 | 473 | ||
474 | static void __init cm_t35_init_early(void) | ||
475 | { | ||
476 | omap2_init_common_infrastructure(); | ||
477 | } | ||
478 | |||
479 | #ifdef CONFIG_OMAP_MUX | 474 | #ifdef CONFIG_OMAP_MUX |
480 | static struct omap_board_mux board_mux[] __initdata = { | 475 | static struct omap_board_mux board_mux[] __initdata = { |
481 | /* nCS and IRQ for CM-T35 ethernet */ | 476 | /* nCS and IRQ for CM-T35 ethernet */ |
@@ -637,7 +632,7 @@ MACHINE_START(CM_T35, "Compulab CM-T35") | |||
637 | .boot_params = 0x80000100, | 632 | .boot_params = 0x80000100, |
638 | .reserve = omap_reserve, | 633 | .reserve = omap_reserve, |
639 | .map_io = omap3_map_io, | 634 | .map_io = omap3_map_io, |
640 | .init_early = cm_t35_init_early, | 635 | .init_early = omap35xx_init_early, |
641 | .init_irq = omap3_init_irq, | 636 | .init_irq = omap3_init_irq, |
642 | .init_machine = cm_t35_init, | 637 | .init_machine = cm_t35_init, |
643 | .timer = &omap3_timer, | 638 | .timer = &omap3_timer, |
@@ -647,7 +642,7 @@ MACHINE_START(CM_T3730, "Compulab CM-T3730") | |||
647 | .boot_params = 0x80000100, | 642 | .boot_params = 0x80000100, |
648 | .reserve = omap_reserve, | 643 | .reserve = omap_reserve, |
649 | .map_io = omap3_map_io, | 644 | .map_io = omap3_map_io, |
650 | .init_early = cm_t35_init_early, | 645 | .init_early = omap3630_init_early, |
651 | .init_irq = omap3_init_irq, | 646 | .init_irq = omap3_init_irq, |
652 | .init_machine = cm_t3730_init, | 647 | .init_machine = cm_t3730_init, |
653 | .timer = &omap3_timer, | 648 | .timer = &omap3_timer, |