msm8226: 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: I304481f1ae8676a968fb29d36e440aaaaebcc99c
diff --git a/target/msm8226/init.c b/target/msm8226/init.c
index 7b31f43..9ca4cf5 100644
--- a/target/msm8226/init.c
+++ b/target/msm8226/init.c
@@ -245,6 +245,8 @@
target_keystatus();
+ target_sdc_init();
+
/* Display splash screen if enabled */
#if DISPLAY_SPLASH_SCREEN
dprintf(SPEW, "Display Init: Start\n");
@@ -252,8 +254,6 @@
dprintf(SPEW, "Display Init: Done\n");
#endif
- target_sdc_init();
-
if (target_use_signed_kernel())
target_crypto_init_params();
}