[U-Boot] [PATCH v4 3/4] dm: video: use constants to refer to colors

Simon Glass
2018-02-12T14:35:18Z

On 8 February 2018 at 13:47, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
> Use constants to refer to colors.
> Adjust initialization of foreground and background color to avoid
> setting reserved bits.
> Consistently u32 instead of unsigned for color bit mask.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
> v4
> Fix a build warning, that was treated as an error in Travis testing
> by conditional compling with CONFIG_DM_VIDEO.
> v3
> Use color constants for initalizing the console.
> v2
> no change
> ---
> drivers/video/vidconsole-uclass.c | 55 +++++++++++++++++++++++----------------
> drivers/video/video-uclass.c | 19 +++++++++-----
> include/video.h | 11 ++++++--
> include/video_console.h | 35 +++++++++++++++++++++++++
> 4 files changed, 89 insertions(+), 31 deletions(-)