target init.c: Moving displaying of splash before aboot_init
Moving the display of the lk splash screen to be earlier
than aboot_init and placed in the target specific init.c
files.
Change-Id: Id21c5fd580b24968e332ab6e270a28264fb3e706
diff --git a/target/msm8660_surf/init.c b/target/msm8660_surf/init.c
index e918c9b..811b69f 100644
--- a/target/msm8660_surf/init.c
+++ b/target/msm8660_surf/init.c
@@ -80,6 +80,14 @@
keys_init();
keypad_init();
#endif
+
+ /* Display splash screen if enabled */
+#if DISPLAY_SPLASH_SCREEN
+ display_init();
+ dprintf(SPEW, "Diplay initialized\n");
+ display_image_on_screen();
+#endif
+
if(mmc_boot_main(MMC_SLOT,MSM_SDC1_BASE))
{
dprintf(CRITICAL, "mmc init failed!");