diff options
author | Tony Lindgren <tony@atomide.com> | 2011-02-24 17:36:03 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-25 13:19:21 -0500 |
commit | e41cccfe794d188b0ae7f17f01692bcbc0e0dc87 (patch) | |
tree | c4c38c9738f582f93e66839ccb25347c6dadbf27 /arch/arm/mach-omap2/board-apollon.c | |
parent | e0530460f6bc268b446040f1973d427d21f042d9 (diff) |
omap2+: Minimize board specific init_early calls
We should only call init_common_infrastructure and
init_common_devices from init_early.
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index 4ef4aad4e719..f4f8374a0298 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -276,8 +276,6 @@ static struct omap_board_config_kernel apollon_config[] __initdata = { | |||
276 | 276 | ||
277 | static void __init omap_apollon_init_early(void) | 277 | static void __init omap_apollon_init_early(void) |
278 | { | 278 | { |
279 | omap_board_config = apollon_config; | ||
280 | omap_board_config_size = ARRAY_SIZE(apollon_config); | ||
281 | omap2_init_common_infrastructure(); | 279 | omap2_init_common_infrastructure(); |
282 | omap2_init_common_devices(NULL, NULL); | 280 | omap2_init_common_devices(NULL, NULL); |
283 | } | 281 | } |
@@ -319,6 +317,8 @@ static void __init omap_apollon_init(void) | |||
319 | u32 v; | 317 | u32 v; |
320 | 318 | ||
321 | omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAC); | 319 | omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAC); |
320 | omap_board_config = apollon_config; | ||
321 | omap_board_config_size = ARRAY_SIZE(apollon_config); | ||
322 | 322 | ||
323 | apollon_init_smc91x(); | 323 | apollon_init_smc91x(); |
324 | apollon_led_init(); | 324 | apollon_led_init(); |