diff options
Diffstat (limited to 'board/freescale/mx53_smd/mx53_smd.c')
-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 b471a7b..aa8568b 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); |