]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: video: use constants to refer to colors
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 8 Feb 2018 20:47:11 +0000 (21:47 +0100)
committerAnatolij Gustschin <agust@denx.de>
Tue, 6 Mar 2018 09:03:20 +0000 (10:03 +0100)
commit5c30fbb8ec4aa364d5e441c86d7b5776d6c94fb0
treee0703b76a95d87379f2ce5f2b1014311de089ecd
parentd7a75d3cd7cd7ce3665442e4e566b147c4c8602b
dm: video: use constants to refer to colors

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/vidconsole-uclass.c
drivers/video/video-uclass.c
include/video.h
include/video_console.h