VIDEO: MX5: Switch MX5 to CONFIG_VIDEO
authorStefano Babic <sbabic@denx.de>
Wed, 28 Sep 2011 09:21:15 +0000 (11:21 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 17 Oct 2011 20:25:31 +0000 (22:25 +0200)
commit63f832fbb89d519ee61bff4fa299b1c83ae8eed2
tree4ee2e3c34d7ae47d4407a51b5d7fe4f91a1bf9ac
parent3c59e3986c1dea477cad8f1967843c0da0d9b174
VIDEO: MX5: Switch MX5 to CONFIG_VIDEO

The framebuffer driver for MX5 is based on CONFIG_LCD.
In the current implementation, there is a serious bug
because the required memory is allocated before
relocation, but the driver knows only later which is
the resolution of the display. The patch switches the driver
to CONFIG_VIDEO and the memory is allocated by the driver itself.

We also need to switch the vision2 board code and config file
in the same commit so that this commit will be bisectable.

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Anatolij Gustschin <agust@denx.de>
Tested-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
board/ttcontrol/vision2/vision2.c
drivers/video/mxc_ipuv3_fb.c
include/configs/vision2.h