summaryrefslogtreecommitdiff
path: root/include/configs/mx53_smd.h
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2011-01-13 11:22:11 +0800
committerLiu Ying <Ying.Liu@freescale.com>2011-01-14 15:40:20 +0800
commit0217e541efbcd63136ce6300f55515d454387751 (patch)
treeca2d5bf2232adb4c4edb361feccd69d2dc7dd9ca /include/configs/mx53_smd.h
parent50a4b58d6aa73c94b21e7a0604beb60023b10bef (diff)
downloadu-boot-imx-0217e541efbcd63136ce6300f55515d454387751.zip
u-boot-imx-0217e541efbcd63136ce6300f55515d454387751.tar.gz
u-boot-imx-0217e541efbcd63136ce6300f55515d454387751.tar.bz2
ENGR00137894-6 MX53 SMD:Support splashimage
This patch supports to use pwm wave to control backlight. The pwm rate is 20KHz and the pwm duty is 50%. Only lvds panel is supported. Use 'lvds_num' env variable to choose to use lvds0 or lvds1. However, only lvds1 is tested as the lvds cable cannot be plugged into lvds0 connector. 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/mx53_smd.h')
-rw-r--r--include/configs/mx53_smd.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/configs/mx53_smd.h b/include/configs/mx53_smd.h
index 760e78b..223761f 100644
--- a/include/configs/mx53_smd.h
+++ b/include/configs/mx53_smd.h
@@ -273,4 +273,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 */