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 f2725cc..a7d3ae6 100644 (file)
@@ -76,6 +76,7 @@
 #define        CONFIG_CMD_SF
 #define        CONFIG_CMD_SPI
 #define        CONFIG_CMD_USB
+#define        CONFIG_VIDEO
 
 /*
  * Memory configurations
 #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
  */
 #define        CONFIG_CMDLINE_TAG