dev: gcdb: disable cont splash for simulator mode
Disable cont-splash in bootloader when booting up panels in simulator
mode.
Change-Id: I09d0990cf7aa661fed552a884da88e9259b13234
diff --git a/dev/gcdb/display/gcdb_display_param.c b/dev/gcdb/display/gcdb_display_param.c
index ce98cf0..bcebe86 100644
--- a/dev/gcdb/display/gcdb_display_param.c
+++ b/dev/gcdb/display/gcdb_display_param.c
@@ -214,6 +214,10 @@
else if (strstr((char *) panel_name, "#sim"))
oem_data.sim_mode = SIM_MODE;
+ /* disable cont splash when booting in simulator mode */
+ if (oem_data.sim_mode)
+ oem_data.cont_splash = false;
+
}
static bool mdss_dsi_set_panel_node(char *panel_name, char **dsi_id,