summaryrefslogtreecommitdiff
path: root/board/freescale/mx53_ard/mx53_ard.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mx53_ard/mx53_ard.c')
-rwxr-xr-xboard/freescale/mx53_ard/mx53_ard.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/mx53_ard/mx53_ard.c b/board/freescale/mx53_ard/mx53_ard.c
index 29fd1c6..2360d7c 100755
--- a/board/freescale/mx53_ard/mx53_ard.c
+++ b/board/freescale/mx53_ard/mx53_ard.c
@@ -79,6 +79,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];
@@ -837,6 +838,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;
+
/* 200Hz PWM wave, 50% duty */
if (di == 1) {
pwm1.enable_pwm_pad = enable_pwm1_pad;