[msm]: Enable display driver by default for splash screen on 7627 & 8650
If rgb565 image is available in splash partition then display it
as splash screen.
On Linux, splash.img can be created as follows:
convert -depth 8 splash.png rgb:- | out/host/linux-x86/bin/rgb2565 > splash.img
Change-Id: I24b61cbc94af4bac14b9a49b030b59484a0b283e
diff --git a/dev/fbcon/fbcon.c b/dev/fbcon/fbcon.c
index 5aadb1f..1daca98 100644
--- a/dev/fbcon/fbcon.c
+++ b/dev/fbcon/fbcon.c
@@ -42,7 +42,7 @@
static struct fbcon_config *config = NULL;
-#define RGB565_BLUE 0x001f
+#define RGB565_BLACK 0x0000
#define RGB565_WHITE 0xffff
#define FONT_WIDTH 5
@@ -179,7 +179,7 @@
switch (config->format) {
case FB_FORMAT_RGB565:
- bg = RGB565_BLUE;
+ bg = RGB565_BLACK;
fg = RGB565_WHITE;
break;
@@ -191,7 +191,7 @@
fbcon_set_colors(bg, fg);
- fbcon_clear();
+ //fbcon_clear();
fbcon_flush();
cur_pos.x = 0;