diff options
author | Robby Cai <R63905@freescale.com> | 2013-11-18 18:05:22 +0800 |
---|---|---|
committer | Robby Cai <R63905@freescale.com> | 2013-11-21 20:02:46 +0800 |
commit | b934091a04e11e96281b10cf63830851fd096fdd (patch) | |
tree | c3d54192916a24bbc427bd6ab71db6f5b2ad1c3d /include/configs/mx6qsabresd.h | |
parent | fa9f30b03b65b253ba292020f3ebbe70220e3c29 (diff) | |
download | u-boot-imx-b934091a04e11e96281b10cf63830851fd096fdd.zip u-boot-imx-b934091a04e11e96281b10cf63830851fd096fdd.tar.gz u-boot-imx-b934091a04e11e96281b10cf63830851fd096fdd.tar.bz2 |
ENGR00288418 Add EPDC splash screen for MX 6DL SabreSD and 6SL EVK
Add EPDC splash screen feature for MX6SL EVK, and MX6DL SABRESD board.
- Currently, splash screen consists of a simple black border
around a white screen. Done this way to save in memory footprint.
- EPDC splash screen is disabled by default in the config file for MX6DL_SABRESD
and MX6SL_EVK. If left enabled, the U-Boot image will not boot correctly
(hang), since some additional content on the boot device (waveform file) is
required for EPDC splash to work correctly.
Please refer to Linux Reference Manual for how to flash WAVEFORM file.
Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'include/configs/mx6qsabresd.h')
-rw-r--r-- | include/configs/mx6qsabresd.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/configs/mx6qsabresd.h b/include/configs/mx6qsabresd.h index 860dd4a..c6314b7 100644 --- a/include/configs/mx6qsabresd.h +++ b/include/configs/mx6qsabresd.h @@ -33,4 +33,37 @@ #define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(4, 9)<<8)) #endif +/*#define CONFIG_SPLASH_SCREEN*/ +/*#define CONFIG_MXC_EPDC*/ + +/* + * SPLASH SCREEN Configs + */ +#ifdef CONFIG_SPLASH_SCREEN + /* + * Framebuffer and LCD + */ + #define CONFIG_CMD_BMP + #define CONFIG_LCD + #define CONFIG_FB_BASE (CONFIG_SYS_TEXT_BASE + 0x300000) + #define CONFIG_SYS_CONSOLE_IS_IN_ENV +#ifdef CONFIG_MXC_EPDC + #undef LCD_TEST_PATTERN + /* #define CONFIG_SPLASH_IS_IN_MMC 1 */ + #define LCD_BPP LCD_MONOCHROME + /* #define CONFIG_SPLASH_SCREEN_ALIGN 1 */ + + #define CONFIG_WORKING_BUF_ADDR (CONFIG_SYS_TEXT_BASE + 0x100000) + #define CONFIG_WAVEFORM_BUF_ADDR (CONFIG_SYS_TEXT_BASE + 0x200000) + #define CONFIG_WAVEFORM_FILE_OFFSET 0x600000 + #define CONFIG_WAVEFORM_FILE_SIZE 0xF0A00 + #define CONFIG_WAVEFORM_FILE_IN_MMC + +#ifdef CONFIG_SPLASH_IS_IN_MMC + #define CONFIG_SPLASH_IMG_OFFSET 0x4c000 + #define CONFIG_SPLASH_IMG_SIZE 0x19000 +#endif +#endif +#endif /* CONFIG_SPLASH_SCREEN */ + #endif /* __MX6QSABRESD_CONFIG_H */ |