msm8610: Initialise the SDCC before the display.
Splash Image is read from the splash partition on the SD/MMC
card. Hence Initialise the SDCC before the display.
Change-Id: I609371b8c5b29ebd3ece9d06bd5e7f3b27e3b37d
diff --git a/target/msm8610/init.c b/target/msm8610/init.c
index a116dbe..f28677f 100644
--- a/target/msm8610/init.c
+++ b/target/msm8610/init.c
@@ -122,12 +122,6 @@
/* Set drive strength & pull ctrl values */
set_sdc_power_ctrl();
- /* Display splash screen if enabled */
- dprintf(SPEW, "Display Init: Start\n");
- display_init();
- dprintf(SPEW, "Display Init: Done\n");
-
-
config.bus_width = DATA_BUS_WIDTH_8BIT;
config.max_clk_rate = MMC_CLK_200MHZ;
@@ -169,6 +163,11 @@
target_keystatus();
target_sdc_init();
+
+ /* Display splash screen if enabled */
+ dprintf(SPEW, "Display Init: Start\n");
+ display_init();
+ dprintf(SPEW, "Display Init: Done\n");
}
void target_uninit(void)