[U-Boot] [PATCH v4 3/4] dm: video: use constants to refer to colors
Simon Glass
sjg at chromium.org
Mon Feb 12 14:35:18 UTC 2018
On 8 February 2018 at 13:47, Heinrich Schuchardt <xypron.glpk at 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 at 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(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list