[U-Boot] [PATCH 4/7] video, da8xx-fb: changes for am335x usage

Anatolij Gustschin agust at denx.de
Sat Aug 10 11:02:27 CEST 2013


On Sat,  3 Aug 2013 07:22:50 +0200
Heiko Schocher <hs at denx.de> wrote:

> to use this driver also on am335x based boards, the following
> changes are made:
> 
> - struct lcd_ctrl_config lcd_cfg is now configurable
>   through board code
> 
> - controller base is configurable through define
>   DA8XX_LCD_CNTL_BASE. To be compatible with older
>   da8xx based boards: If this define is missing, the
>   DAVINCI_LCD_CNTL_BASE is used
> 
> - Determine LCD IP Version, and make the driver
>   working on lcd revision register values:
>   Version 1:
>   0x4C100102
>   Version 2:
>   0x4F200800
>   0x4F201000
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Anatolij Gustschin <agust at denx.de>
> Cc: Tom Rini <trini at ti.com>
> ---
>  board/davinci/ea20/ea20.c |  26 +++-
>  drivers/video/da8xx-fb.c  | 335 ++++++++++++++++++++++++++++++++++++++--------
>  drivers/video/da8xx-fb.h  |   4 +-
>  3 Dateien geändert, 307 Zeilen hinzugefügt(+), 58 Zeilen entfernt(-)

Applied to u-boot-video/master, thanks!

Anatolij


More information about the U-Boot mailing list