video: Make white-on-black a video-device property
authorSimon Glass <sjg@chromium.org>
Tue, 1 Apr 2025 17:29:33 +0000 (06:29 +1300)
committerTom Rini <trini@konsulko.com>
Fri, 2 May 2025 19:40:25 +0000 (13:40 -0600)
commit3ad5f49b5db4337626004629842d3dea30467c92
tree69750f930abdf9a1ea05df347db979eb535c489b
parentfe2d4d4cef093d24da389fda29a556b15c84829b
video: Make white-on-black a video-device property

The CONFIG_WHITE_ON_BLACK setting is hard-coded at build-time. It is
useful to be able to control this when showing menus.

Create a property to hold this information, using the CONFIG as the
initial value.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/expo.c
boot/scene.c
drivers/video/video-uclass.c
include/video.h