From 50a4b58d6aa73c94b21e7a0604beb60023b10bef Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Thu, 13 Jan 2011 11:17:23 +0800 Subject: 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 --- include/configs/mx53_ard.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'include') 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 */ -- cgit v1.1