diff options
author | Ye.Li <B37916@freescale.com> | 2014-06-12 17:28:12 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-06-17 11:14:04 +0800 |
commit | 42a8d227b508395ec370825aa100131917f2ceda (patch) | |
tree | c4f30b9d429f43e6f0016727a8b140c08c3d21c4 /include/configs/mx6sxsabresd.h | |
parent | ef9d769f9ad1b504a1df8b987d269df9944d8e0c (diff) | |
download | u-boot-imx-42a8d227b508395ec370825aa100131917f2ceda.zip u-boot-imx-42a8d227b508395ec370825aa100131917f2ceda.tar.gz u-boot-imx-42a8d227b508395ec370825aa100131917f2ceda.tar.bz2 |
ENGR00315894-72 iMX6SX:SABRESD/19x19ARM2 Add splash screen support in BSP
Enable the video drivers and MXS LCDIF driver to support the
splash screen on MX6SX SDB and 19x19 ARM2. Add BSP codes for video
parameters and LCDIF/LVDS initialization.
"panel" env is used for selecting the display panel.
Set "panel" env to "Hannstar-XGA" for LVDS display.
Set "panel" env to "MCIMX28LCD" for parallel LCD display.
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs/mx6sxsabresd.h')
-rw-r--r-- | include/configs/mx6sxsabresd.h | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h index c60445b..1e9e2cc 100644 --- a/include/configs/mx6sxsabresd.h +++ b/include/configs/mx6sxsabresd.h @@ -33,7 +33,7 @@ #define CONFIG_REVISION_TAG /* Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (3 * SZ_1M) +#define CONFIG_SYS_MALLOC_LEN (10 * SZ_1M) #define CONFIG_BOARD_EARLY_INIT_F #define CONFIG_BOARD_LATE_INIT @@ -114,6 +114,9 @@ #define CONFIG_PMIC_I2C_SLAVE 0x8 #endif +/* VIDEO */ +#define CONFIG_VIDEO + /* Command definition */ #include <config_cmd_default.h> @@ -149,6 +152,13 @@ #define UPDATE_M4_ENV "" #endif +#ifdef CONFIG_VIDEO +#define CONFIG_VIDEO_MODE \ + "panel=Hannstar-XGA\0" +#else +#define CONFIG_VIDEO_MODE "" +#endif + #define CONFIG_MFG_ENV_SETTINGS \ "mfgtool_args=setenv bootargs console=${console},${baudrate} " \ "rdinit=/linuxrc " \ @@ -163,6 +173,7 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ CONFIG_MFG_ENV_SETTINGS \ UPDATE_M4_ENV \ + CONFIG_VIDEO_MODE \ "script=boot.scr\0" \ "uimage=uImage\0" \ "console=ttymxc0\0" \ @@ -323,6 +334,21 @@ #define CONFIG_CMD_CACHE #endif +#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_SPLASH_SCREEN_ALIGN +#define CONFIG_CMD_BMP +#define CONFIG_BMP_16BPP +#define CONFIG_VIDEO_BMP_RLE8 +#define CONFIG_VIDEO_BMP_LOGO +#endif + #define CONFIG_CMD_USB #define CONFIG_USB_EHCI #define CONFIG_USB_EHCI_MX6 |