Patchwork [U-Boot,4/4] arm: mxs: video: Enable MXS LCDIF on M28EVK

login
register
mail settings
Submitter Marek Vasut
Date April 28, 2013, 7:20 p.m.
Message ID <1367176804-13526-4-git-send-email-marex@denx.de>
Download mbox | patch
Permalink /patch/240276/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Marek Vasut - April 28, 2013, 7:20 p.m.
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>
---
 include/configs/m28evk.h |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
Anatolij Gustschin - May 6, 2013, 3:06 p.m.
On Sun, 28 Apr 2013 21:20:04 +0200
Marek Vasut <marex@denx.de> wrote:

> 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>
Stefano Babic - May 6, 2013, 3:42 p.m.
On 28/04/2013 21:20, Marek Vasut wrote:
> 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>
> ---

Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic

Patch

diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index f2725cc..a7d3ae6 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -76,6 +76,7 @@ 
 #define	CONFIG_CMD_SF
 #define	CONFIG_CMD_SPI
 #define	CONFIG_CMD_USB
+#define	CONFIG_VIDEO
 
 /*
  * Memory configurations
@@ -268,6 +269,24 @@ 
 #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