msm8x25: Add support for continuous splash screen
- Enable continuous splash screen
- Enable one wire mode for back light
- Add macro to allow display mode (command/video) configuration change
during compile time.
Change-Id: I31e9fa9c0fe709b2a75bc2648dbd2d7f1be14776
diff --git a/target/msm7627a/init.c b/target/msm7627a/init.c
index a457613..5e10708 100644
--- a/target/msm7627a/init.c
+++ b/target/msm7627a/init.c
@@ -602,3 +602,21 @@
{
target_ulpi_init();
}
+
+int target_cont_splash_screen()
+{
+ int ret = 0;
+ unsigned mach_type = 0;
+
+ mach_type = board_machtype();
+
+ switch(mach_type) {
+ case MSM8X25_EVB:
+ case MSM8X25_EVT:
+ ret = 1;
+ break;
+ default:
+ ret = 0;
+ };
+ return ret;
+}