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-omap3stalker.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-omap3stalker.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3stalker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c index 07006c323fc2..fd8b7649b149 100644 --- a/arch/arm/mach-omap2/board-omap3stalker.c +++ b/arch/arm/mach-omap2/board-omap3stalker.c | |||
@@ -581,8 +581,6 @@ static struct omap_board_config_kernel omap3_stalker_config[] __initdata = { | |||
581 | 581 | ||
582 | static void __init omap3_stalker_init_early(void) | 582 | static void __init omap3_stalker_init_early(void) |
583 | { | 583 | { |
584 | omap_board_config = omap3_stalker_config; | ||
585 | omap_board_config_size = ARRAY_SIZE(omap3_stalker_config); | ||
586 | omap2_init_common_infrastructure(); | 584 | omap2_init_common_infrastructure(); |
587 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, NULL); | 585 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, NULL); |
588 | } | 586 | } |
@@ -629,6 +627,8 @@ static struct omap_musb_board_data musb_board_data = { | |||
629 | static void __init omap3_stalker_init(void) | 627 | static void __init omap3_stalker_init(void) |
630 | { | 628 | { |
631 | omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); | 629 | omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); |
630 | omap_board_config = omap3_stalker_config; | ||
631 | omap_board_config_size = ARRAY_SIZE(omap3_stalker_config); | ||
632 | 632 | ||
633 | omap3_stalker_i2c_init(); | 633 | omap3_stalker_i2c_init(); |
634 | 634 | ||