app: aboot: check if turn off the display when device boot up is triggered by alarm

As new feature's requirement, some customers want to turn off the display during
booting until the alarm is invoked and somes want to keep the display, So check
if boot up is triggered by alarm and do not enable display.

Change-Id: I26c58c63477630ab5e0eb7d0f58b9100a205c75e
diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c
index 1498e98..0682e9c 100644
--- a/app/aboot/aboot.c
+++ b/app/aboot/aboot.c
@@ -2802,11 +2802,16 @@
 
 	/* Display splash screen if enabled */
 #if DISPLAY_SPLASH_SCREEN
-	dprintf(SPEW, "Display Init: Start\n");
-	target_display_init(device.display_panel);
-	dprintf(SPEW, "Display Init: Done\n");
+#if NO_ALARM_DISPLAY
+	if (!check_alarm_boot()) {
 #endif
-
+		dprintf(SPEW, "Display Init: Start\n");
+		target_display_init(device.display_panel);
+		dprintf(SPEW, "Display Init: Done\n");
+#if NO_ALARM_DISPLAY
+	}
+#endif
+#endif
 
 	target_serialno((unsigned char *) sn_buf);
 	dprintf(SPEW,"serial number: %s\n",sn_buf);