aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-rm680.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-rm680.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-rm680.c')
-rw-r--r--arch/arm/mach-omap2/board-rm680.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-rm680.c b/arch/arm/mach-omap2/board-rm680.c
index a6f76e13c15b..a3182e846b14 100644
--- a/arch/arm/mach-omap2/board-rm680.c
+++ b/arch/arm/mach-omap2/board-rm680.c
@@ -123,11 +123,6 @@ static void __init rm680_peripherals_init(void)
123 omap2_hsmmc_init(mmc); 123 omap2_hsmmc_init(mmc);
124} 124}
125 125
126static void __init rm680_init_early(void)
127{
128 omap2_init_common_infrastructure();
129}
130
131#ifdef CONFIG_OMAP_MUX 126#ifdef CONFIG_OMAP_MUX
132static struct omap_board_mux board_mux[] __initdata = { 127static struct omap_board_mux board_mux[] __initdata = {
133 { .reg_offset = OMAP_MUX_TERMINATOR }, 128 { .reg_offset = OMAP_MUX_TERMINATOR },
@@ -158,7 +153,7 @@ MACHINE_START(NOKIA_RM680, "Nokia RM-680 board")
158 .boot_params = 0x80000100, 153 .boot_params = 0x80000100,
159 .reserve = omap_reserve, 154 .reserve = omap_reserve,
160 .map_io = rm680_map_io, 155 .map_io = rm680_map_io,
161 .init_early = rm680_init_early, 156 .init_early = omap3630_init_early,
162 .init_irq = omap3_init_irq, 157 .init_irq = omap3_init_irq,
163 .init_machine = rm680_init, 158 .init_machine = rm680_init,
164 .timer = &omap3_timer, 159 .timer = &omap3_timer,