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-omap3evm.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-omap3evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 0735bca30e4c..a1184b347aeb 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -520,11 +520,6 @@ static int __init omap3_evm_i2c_init(void) | |||
520 | static struct omap_board_config_kernel omap3_evm_config[] __initdata = { | 520 | static struct omap_board_config_kernel omap3_evm_config[] __initdata = { |
521 | }; | 521 | }; |
522 | 522 | ||
523 | static void __init omap3_evm_init_early(void) | ||
524 | { | ||
525 | omap2_init_common_infrastructure(); | ||
526 | } | ||
527 | |||
528 | static struct usbhs_omap_board_data usbhs_bdata __initdata = { | 523 | static struct usbhs_omap_board_data usbhs_bdata __initdata = { |
529 | 524 | ||
530 | .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED, | 525 | .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED, |
@@ -684,7 +679,7 @@ MACHINE_START(OMAP3EVM, "OMAP3 EVM") | |||
684 | .boot_params = 0x80000100, | 679 | .boot_params = 0x80000100, |
685 | .reserve = omap_reserve, | 680 | .reserve = omap_reserve, |
686 | .map_io = omap3_map_io, | 681 | .map_io = omap3_map_io, |
687 | .init_early = omap3_evm_init_early, | 682 | .init_early = omap35xx_init_early, |
688 | .init_irq = omap3_init_irq, | 683 | .init_irq = omap3_init_irq, |
689 | .init_machine = omap3_evm_init, | 684 | .init_machine = omap3_evm_init, |
690 | .timer = &omap3_timer, | 685 | .timer = &omap3_timer, |