[U-Boot] [PATCH 19/25] video: Update video_set_default_colors() to support invert

sjg at google.com
2018-11-22T20:20:35Z

It is useful to be able to invert the colours in some cases so that the
text matches the background colour. Add a parameter to the function to
support this.

It is strange that function takes a private data structure from another
driver as an argument. It seems better to pass the device and have the
function internally work out how to find its required information.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

drivers/video/vidconsole-uclass.c | 2 +-
drivers/video/video-uclass.c | 27 +++++++++++++++++++--------
include/video.h | 5 +++--
3 files changed, 23 insertions(+), 11 deletions(-)

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