diff options
author | Sandor Yu <r01008@freescale.com> | 2011-09-01 17:41:36 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2012-09-05 14:57:51 -0400 |
commit | 4ab9f9764e29fd7c34ec4eabdd550927f6fca789 (patch) | |
tree | 6237cf9141803d551624ef135d132ac8ed463a0c /board/freescale/mx53_smd | |
parent | 34c70242b5e26c0c7dec49d849bd7926a1f6aa78 (diff) |
ENGR00139254: Enable MX6Q Uboot Splash Screen
Only support LVDS0 splash screen.
Enable splash process:
1.define CONFIG_SPLASH_SCREEN in mx6q_sabreauto.h
2.Config U-boot with followed command:()
setenv splashimage '0x30000000'
#Set splash position as Center
setenv splashpos 'm,m'
#Set LVDS via LVDS bridge 0
setenv lvds_num 0
Signed-off-by: Sandor Yu <r01008@freescale.com>
Diffstat (limited to 'board/freescale/mx53_smd')
-rw-r--r-- | board/freescale/mx53_smd/mx53_smd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/mx53_smd/mx53_smd.c b/board/freescale/mx53_smd/mx53_smd.c index b471a7b4db..aa8568beac 100644 --- a/board/freescale/mx53_smd/mx53_smd.c +++ b/board/freescale/mx53_smd/mx53_smd.c @@ -80,6 +80,7 @@ static enum boot_device boot_dev; #ifdef CONFIG_VIDEO_MX5 extern unsigned char fsl_bmp_600x400[]; extern int fsl_bmp_600x400_size; +extern int g_ipu_hw_rev; #if defined(CONFIG_BMP_8BPP) unsigned short colormap[256]; @@ -744,6 +745,13 @@ void lcd_enable(void) s = getenv("lvds_num"); di = simple_strtol(s, NULL, 10); + /* + * hw_rev 2: IPUV3DEX + * hw_rev 3: IPUV3M + * hw_rev 4: IPUV3H + */ + g_ipu_hw_rev = IPUV3_HW_REV_IPUV3M; + /* 20KHz PWM wave, 50% duty */ if (di == 1) { imx_pwm_config(pwm1, 25000, 50000); |