aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-3430sdp.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-02-24 17:36:03 -0500
committerTony Lindgren <tony@atomide.com>2011-02-25 13:19:21 -0500
commite41cccfe794d188b0ae7f17f01692bcbc0e0dc87 (patch)
treec4c38c9738f582f93e66839ccb25347c6dadbf27 /arch/arm/mach-omap2/board-3430sdp.c
parente0530460f6bc268b446040f1973d427d21f042d9 (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-3430sdp.c')
-rw-r--r--arch/arm/mach-omap2/board-3430sdp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c
index 8950ecc9b940..b12b62064e7c 100644
--- a/arch/arm/mach-omap2/board-3430sdp.c
+++ b/arch/arm/mach-omap2/board-3430sdp.c
@@ -315,9 +315,6 @@ static struct omap_board_config_kernel sdp3430_config[] __initdata = {
315 315
316static void __init omap_3430sdp_init_early(void) 316static void __init omap_3430sdp_init_early(void)
317{ 317{
318 omap_board_config = sdp3430_config;
319 omap_board_config_size = ARRAY_SIZE(sdp3430_config);
320 omap3_pm_init_cpuidle(omap3_cpuidle_params_table);
321 omap2_init_common_infrastructure(); 318 omap2_init_common_infrastructure();
322 omap2_init_common_devices(hyb18m512160af6_sdrc_params, NULL); 319 omap2_init_common_devices(hyb18m512160af6_sdrc_params, NULL);
323} 320}
@@ -788,6 +785,9 @@ static struct omap_musb_board_data musb_board_data = {
788static void __init omap_3430sdp_init(void) 785static void __init omap_3430sdp_init(void)
789{ 786{
790 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); 787 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
788 omap_board_config = sdp3430_config;
789 omap_board_config_size = ARRAY_SIZE(sdp3430_config);
790 omap3_pm_init_cpuidle(omap3_cpuidle_params_table);
791 omap3430_i2c_init(); 791 omap3430_i2c_init();
792 omap_display_init(&sdp3430_dss_data); 792 omap_display_init(&sdp3430_dss_data);
793 if (omap_rev() > OMAP3430_REV_ES1_0) 793 if (omap_rev() > OMAP3430_REV_ES1_0)