summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-05-10 15:07:34 +0000
committerAnatolij Gustschin <agust@denx.de>2012-05-25 10:39:23 +0200
commita1b0e190a3c0c7e1a40877218804a656e45194be (patch)
tree77095cee37c3ed7624d90f87125365f5fed7a522 /board
parentfff6ef72b33050344362ca441cdb6b5f9b4fb8b0 (diff)
downloadu-boot-imx-a1b0e190a3c0c7e1a40877218804a656e45194be.zip
u-boot-imx-a1b0e190a3c0c7e1a40877218804a656e45194be.tar.gz
u-boot-imx-a1b0e190a3c0c7e1a40877218804a656e45194be.tar.bz2
mx5: Rename mx51_fb_init()
The ipuv3 driver is currently only used on mx51, but it can be extended to work on mx53 and mx6 as well. Rename mx51_fb_init(), so that it can be used by other SoCs. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx51evk/mx51evk.c2
-rw-r--r--board/ttcontrol/vision2/vision2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c
index bc7f057..514a7ac 100644
--- a/board/freescale/mx51evk/mx51evk.c
+++ b/board/freescale/mx51evk/mx51evk.c
@@ -502,7 +502,7 @@ void lcd_iomux(void)
void lcd_enable(void)
{
- int ret = mx51_fb_init(&claa_wvga, 1, IPU_PIX_FMT_RGB565);
+ int ret = ipuv3_fb_init(&claa_wvga, 1, IPU_PIX_FMT_RGB565);
if (ret)
printf("LCD cannot be configured: %d\n", ret);
}
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c
index 282de95..d68bef7 100644
--- a/board/ttcontrol/vision2/vision2.c
+++ b/board/ttcontrol/vision2/vision2.c
@@ -604,7 +604,7 @@ void lcd_enable(void)
gpio_set_value(2, 1);
mxc_request_iomux(MX51_PIN_GPIO1_2, IOMUX_CONFIG_ALT0);
- ret = mx51_fb_init(&nec_nl6448bc26_09c, 0, IPU_PIX_FMT_RGB666);
+ ret = ipuv3_fb_init(&nec_nl6448bc26_09c, 0, IPU_PIX_FMT_RGB666);
if (ret)
puts("LCD cannot be configured\n");
}