aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-cm-t35.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-cm-t35.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-cm-t35.c')
-rw-r--r--arch/arm/mach-omap2/board-cm-t35.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
index 7311824be993..27bea540ccbb 100644
--- a/arch/arm/mach-omap2/board-cm-t35.c
+++ b/arch/arm/mach-omap2/board-cm-t35.c
@@ -668,14 +668,8 @@ static void __init cm_t35_init_i2c(void)
668 ARRAY_SIZE(cm_t35_i2c_boardinfo)); 668 ARRAY_SIZE(cm_t35_i2c_boardinfo));
669} 669}
670 670
671static struct omap_board_config_kernel cm_t35_config[] __initdata = {
672};
673
674static void __init cm_t35_init_early(void) 671static void __init cm_t35_init_early(void)
675{ 672{
676 omap_board_config = cm_t35_config;
677 omap_board_config_size = ARRAY_SIZE(cm_t35_config);
678
679 omap2_init_common_infrastructure(); 673 omap2_init_common_infrastructure();
680 omap2_init_common_devices(mt46h32m32lf6_sdrc_params, 674 omap2_init_common_devices(mt46h32m32lf6_sdrc_params,
681 mt46h32m32lf6_sdrc_params); 675 mt46h32m32lf6_sdrc_params);
@@ -785,8 +779,13 @@ static struct omap_musb_board_data musb_board_data = {
785 .power = 100, 779 .power = 100,
786}; 780};
787 781
782static struct omap_board_config_kernel cm_t35_config[] __initdata = {
783};
784
788static void __init cm_t35_init(void) 785static void __init cm_t35_init(void)
789{ 786{
787 omap_board_config = cm_t35_config;
788 omap_board_config_size = ARRAY_SIZE(cm_t35_config);
790 omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); 789 omap3_mux_init(board_mux, OMAP_PACKAGE_CUS);
791 omap_serial_init(); 790 omap_serial_init();
792 cm_t35_init_i2c(); 791 cm_t35_init_i2c();