summaryrefslogtreecommitdiff
path: root/drivers/video
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 /drivers/video
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 'drivers/video')
-rw-r--r--drivers/video/mxc_ipuv3_fb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/mxc_ipuv3_fb.c b/drivers/video/mxc_ipuv3_fb.c
index 545d1fe..bb28114 100644
--- a/drivers/video/mxc_ipuv3_fb.c
+++ b/drivers/video/mxc_ipuv3_fb.c
@@ -4,7 +4,7 @@
* (C) Copyright 2010
* Stefano Babic, DENX Software Engineering, sbabic@denx.de
*
- * MX51 Linux framebuffer:
+ * IPUv3 Linux framebuffer:
*
* (C) Copyright 2004-2011 Freescale Semiconductor, Inc.
*
@@ -585,7 +585,6 @@ static int mxcfb_probe(u32 interface_pix_fmt, struct fb_videomode *mode, int di)
mxcfb_set_par(fbi);
/* Setting panel_info for lcd */
- panel_info.cmap = NULL;
panel_info.vl_col = fbi->var.xres;
panel_info.vl_row = fbi->var.yres;
panel_info.vl_bpix = LCD_BPP;
@@ -634,11 +633,12 @@ void lcd_ctrl_init(void *lcdbase)
memset(lcdbase, 0, mem_len);
}
-int mx51_fb_init(struct fb_videomode *mode, int di, int interface_pix_fmt)
+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)
{
int ret;
- ret = ipu_probe();
+ ret = ipu_probe(di, di_clk_parent, di_clk_val);
if (ret)
puts("Error initializing IPU\n");