[U-Boot] [PATCH v2] video: cfb_console: add weak default video_set_lut()

Anatolij Gustschin agust at denx.de
Sat Jun 12 10:35:12 CEST 2010


On Sat, 12 Jun 2010 10:20:06 +0200
Anatolij Gustschin <agust at denx.de> wrote:

> Do not enforce drivers to provide empty video_set_lut()
> if they do not implement indexed color (8 bpp) frame
> buffer support. Add default function to the cfb_console
> driver and remove empty video_set_lut() functions.
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
> v2: - unfortunately in the first patch video_set_lut()
>       definition was misplaced and so dependent on
>       CONFIG_CMD_BMP or CONFIG_SPLASH_SCREEN. Now,
>       make the function definition unconditional.
> 
>  arch/powerpc/cpu/mpc512x/diu.c                |   14 --------------
>  board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c |    9 ---------
>  drivers/video/cfb_console.c                   |   12 ++++++++++++
>  drivers/video/sm501.c                         |   13 -------------
>  4 files changed, 12 insertions(+), 36 deletions(-)

Applied to u-boot-video/next.

Anatolij


More information about the U-Boot mailing list