summaryrefslogtreecommitdiff
path: root/board/freescale/mx51_bbg
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2011-01-13 11:16:47 +0800
committerLiu Ying <Ying.Liu@freescale.com>2011-01-14 15:40:19 +0800
commite9f41e7386ed31497bf75540b0123a6758f1c269 (patch)
tree1611ac397f39e1e57dc9666b6d2efd0a840b1d8f /board/freescale/mx51_bbg
parentd6bdab7e5220d908e54a7b4b8c09c37f66340dc5 (diff)
downloadu-boot-imx-e9f41e7386ed31497bf75540b0123a6758f1c269.zip
u-boot-imx-e9f41e7386ed31497bf75540b0123a6758f1c269.tar.gz
u-boot-imx-e9f41e7386ed31497bf75540b0123a6758f1c269.tar.bz2
ENGR00137894-4 IPUv3 FB: IPUv3 FB driver enhancement
1) Change MX51 related function names to IPUv3 related names. 2) Change MX51 related comments to IPUv3 related comments. 3) Do not set panel_info.cmap to be NULL pointer. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'board/freescale/mx51_bbg')
-rw-r--r--board/freescale/mx51_bbg/mx51_bbg.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/board/freescale/mx51_bbg/mx51_bbg.c b/board/freescale/mx51_bbg/mx51_bbg.c
index 5fdeaad..256fdf6 100644
--- a/board/freescale/mx51_bbg/mx51_bbg.c
+++ b/board/freescale/mx51_bbg/mx51_bbg.c
@@ -85,8 +85,10 @@ short colormap[16777216];
#endif
#endif
-extern int mx51_fb_init(struct fb_videomode *mode, int di,
- int interface_pix_fmt);
+extern int ipuv3_fb_init(struct fb_videomode *mode, int di,
+ int interface_pix_fmt,
+ ipu_di_clk_parent_t di_clk_parent,
+ int di_clk_val);
static struct fb_videomode claa_wvga = {
/* 800x480 @ 60 Hz , pixel clk @ 27MHz */
@@ -912,7 +914,8 @@ void lcd_enable(void)
reg |= 0x10;
writel(reg, GPIO3_BASE_ADDR + 0x0);
- ret = mx51_fb_init(&claa_wvga, 1, IPU_PIX_FMT_RGB565);
+ ret = ipuv3_fb_init(&claa_wvga, 1, IPU_PIX_FMT_RGB565,
+ DI_PCLK_PLL3, 0);
if (ret)
puts("LCD cannot be configured\n");
}