diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-10-06 00:25:03 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-17 22:25:32 +0200 |
commit | 711a6722f97d21404d04c7a36ccfdc6e2b442229 (patch) | |
tree | c4bfb00198bd7a4e31de960535892fa69f019928 /board | |
parent | 3d1d5e2379d4dd31a7637d16a35405358d44da3a (diff) | |
download | u-boot-711a6722f97d21404d04c7a36ccfdc6e2b442229.zip u-boot-711a6722f97d21404d04c7a36ccfdc6e2b442229.tar.gz u-boot-711a6722f97d21404d04c7a36ccfdc6e2b442229.tar.bz2 |
MX5: Make IPU display output and pixel format configurable
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Stefano Babic <sbabic@denx.de>
Tested-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/ttcontrol/vision2/vision2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c index ca0c100..e496f64 100644 --- a/board/ttcontrol/vision2/vision2.c +++ b/board/ttcontrol/vision2/vision2.c @@ -39,12 +39,12 @@ #include <mc13892.h> #include <linux/fb.h> +#include <ipu_pixfmt.h> + DECLARE_GLOBAL_DATA_PTR; static u32 system_rev; -extern int mx51_fb_init(struct fb_videomode *mode); - static struct fb_videomode nec_nl6448bc26_09c = { "NEC_NL6448BC26-09C", 60, /* Refresh */ @@ -610,7 +610,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); + ret = mx51_fb_init(&nec_nl6448bc26_09c, 0, IPU_PIX_FMT_RGB666); if (ret) puts("LCD cannot be configured\n"); } |