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-3630sdp.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-3630sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-3630sdp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c index 96766e9bd7c2..94febc85d805 100644 --- a/arch/arm/mach-omap2/board-3630sdp.c +++ b/arch/arm/mach-omap2/board-3630sdp.c | |||
@@ -70,11 +70,6 @@ static const struct usbhs_omap_board_data usbhs_bdata __initconst = { | |||
70 | static struct omap_board_config_kernel sdp_config[] __initdata = { | 70 | static struct omap_board_config_kernel sdp_config[] __initdata = { |
71 | }; | 71 | }; |
72 | 72 | ||
73 | static void __init omap_sdp_init_early(void) | ||
74 | { | ||
75 | omap2_init_common_infrastructure(); | ||
76 | } | ||
77 | |||
78 | #ifdef CONFIG_OMAP_MUX | 73 | #ifdef CONFIG_OMAP_MUX |
79 | static struct omap_board_mux board_mux[] __initdata = { | 74 | static struct omap_board_mux board_mux[] __initdata = { |
80 | { .reg_offset = OMAP_MUX_TERMINATOR }, | 75 | { .reg_offset = OMAP_MUX_TERMINATOR }, |
@@ -218,7 +213,7 @@ MACHINE_START(OMAP_3630SDP, "OMAP 3630SDP board") | |||
218 | .boot_params = 0x80000100, | 213 | .boot_params = 0x80000100, |
219 | .reserve = omap_reserve, | 214 | .reserve = omap_reserve, |
220 | .map_io = omap3_map_io, | 215 | .map_io = omap3_map_io, |
221 | .init_early = omap_sdp_init_early, | 216 | .init_early = omap3630_init_early, |
222 | .init_irq = omap3_init_irq, | 217 | .init_irq = omap3_init_irq, |
223 | .init_machine = omap_sdp_init, | 218 | .init_machine = omap_sdp_init, |
224 | .timer = &omap3_timer, | 219 | .timer = &omap3_timer, |