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-omap3touchbook.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-omap3touchbook.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3touchbook.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index a35afe2227d3..8e2a7ba4153b 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
@@ -417,8 +417,6 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
417 | 417 | ||
418 | static void __init omap3_touchbook_init_early(void) | 418 | static void __init omap3_touchbook_init_early(void) |
419 | { | 419 | { |
420 | omap_board_config = omap3_touchbook_config; | ||
421 | omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config); | ||
422 | omap2_init_common_infrastructure(); | 420 | omap2_init_common_infrastructure(); |
423 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, | 421 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, |
424 | mt46h32m32lf6_sdrc_params); | 422 | mt46h32m32lf6_sdrc_params); |
@@ -514,6 +512,9 @@ static struct omap_musb_board_data musb_board_data = { | |||
514 | static void __init omap3_touchbook_init(void) | 512 | static void __init omap3_touchbook_init(void) |
515 | { | 513 | { |
516 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 514 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
515 | omap_board_config = omap3_touchbook_config; | ||
516 | omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config); | ||
517 | |||
517 | pm_power_off = omap3_touchbook_poweroff; | 518 | pm_power_off = omap3_touchbook_poweroff; |
518 | 519 | ||
519 | omap3_touchbook_i2c_init(); | 520 | omap3_touchbook_i2c_init(); |