diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2011-01-13 11:17:23 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2011-01-14 15:40:19 +0800 |
commit | 50a4b58d6aa73c94b21e7a0604beb60023b10bef (patch) | |
tree | 012a6262c3700e6ebb824670540225b7e46a9ad8 /include/configs | |
parent | e9f41e7386ed31497bf75540b0123a6758f1c269 (diff) | |
download | u-boot-imx-50a4b58d6aa73c94b21e7a0604beb60023b10bef.zip u-boot-imx-50a4b58d6aa73c94b21e7a0604beb60023b10bef.tar.gz u-boot-imx-50a4b58d6aa73c94b21e7a0604beb60023b10bef.tar.bz2 |
ENGR00137894-5 MX53 ARD:Support splashimage
This patch supports to use pwm wave to control
backlight. The pwm rate is 200Hz and the pwm
duty is 50%. Use 'lvds_num' env variable to
choose to use lvds0 or lvds1. Note that you
need to add 'splashimage' env variable to
set the memory address of the bmp image.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx53_ard.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/configs/mx53_ard.h b/include/configs/mx53_ard.h index fda6197..6791011 100644 --- a/include/configs/mx53_ard.h +++ b/include/configs/mx53_ard.h @@ -282,4 +282,27 @@ #else #define CONFIG_ENV_IS_NOWHERE 1 #endif + +#define CONFIG_SPLASH_SCREEN +#ifdef CONFIG_SPLASH_SCREEN + /* + * Framebuffer and LCD + */ + #define CONFIG_LCD + #define CONFIG_VIDEO_MX5 + #define CONFIG_IPU_CLKRATE 200000000 + #define CONFIG_SYS_CONSOLE_ENV_OVERWRITE + #define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE + #define CONFIG_SYS_CONSOLE_IS_IN_ENV + #define LCD_BPP LCD_COLOR16 + #define CONFIG_CMD_BMP + #define CONFIG_BMP_8BPP + #define CONFIG_FB_BASE (TEXT_BASE + 0x300000) + #define CONFIG_SPLASH_SCREEN_ALIGN + #define CONFIG_SYS_WHITE_ON_BLACK + + #define CONFIG_IMX_PWM + #define IMX_PWM1_BASE PWM1_BASE_ADDR + #define IMX_PWM2_BASE PWM2_BASE_ADDR +#endif #endif /* __CONFIG_H */ |