arm: mxs: video: Enable MXS LCDIF on M28EVK
authorMarek Vasut <marex@denx.de>
Sun, 28 Apr 2013 09:20:04 +0000 (09:20 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 6 May 2013 15:40:23 +0000 (17:40 +0200)
Enable LCD output support on M28EVK.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Anatolij Gustschin <agust@denx.de>
include/configs/m28evk.h

index f2725cc87fb7086106609e2f4099f585bddd5250..a7d3ae63036c4034260ce6c9c5e369e34e4c0d24 100644 (file)
@@ -76,6 +76,7 @@
 #define        CONFIG_CMD_SF
 #define        CONFIG_CMD_SPI
 #define        CONFIG_CMD_USB
+#define        CONFIG_VIDEO
 
 /*
  * Memory configurations
 #endif
 #endif
 
+/*
+ * LCD
+ */
+#ifdef CONFIG_VIDEO
+#define        CONFIG_CFB_CONSOLE
+#define        CONFIG_VIDEO_MXS
+#define        CONFIG_VIDEO_LOGO
+#define        CONFIG_VIDEO_SW_CURSOR
+#define        CONFIG_VGA_AS_SINGLE_DEVICE
+#define        CONFIG_SYS_CONSOLE_IS_IN_ENV
+#define        CONFIG_SPLASH_SCREEN
+#define        CONFIG_CMD_BMP
+#define        CONFIG_BMP_16BPP
+#define        CONFIG_VIDEO_BMP_RLE8
+#define        CONFIG_VIDEO_BMP_GZIP
+#define        CONFIG_SYS_VIDEO_LOGO_MAX_SIZE  (512 << 10)
+#endif
+
 /*
  * Boot Linux
  */