[U-Boot] [PATCH v3 1/3] VIDEO: MX5: Switch MX5 to CONFIG_VIDEO

Anatolij Gustschin agust at denx.de
Thu Oct 6 19:32:34 CEST 2011


On Thu,  6 Oct 2011 00:44:14 +0200
Anatolij Gustschin <agust at denx.de> wrote:

> From: Stefano Babic <sbabic at denx.de>
> 
> 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 at denx.de>
> CC: Anatolij Gustschin <agust at denx.de>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
> V3: patches 1 and 3 of the previous patchset combined to single
>     patch to make this commit bisectable
> V2: patchset with modified Marek's patch to select display
> 
>  board/ttcontrol/vision2/vision2.c |   36 +++++++-----
>  drivers/video/mxc_ipuv3_fb.c      |  110 ++++++++++++-------------------------
>  include/configs/vision2.h         |   11 ++--
>  3 files changed, 62 insertions(+), 95 deletions(-)

Applied, thanks!

Anatolij


More information about the U-Boot mailing list