summaryrefslogtreecommitdiff
path: root/boot/expo.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-05-02 13:57:26 -0600
committerTom Rini <trini@konsulko.com>2025-05-02 13:57:26 -0600
commit6cc812f8cc55c132458c7da5b9fb7666315cbe8c (patch)
tree297fb9e724f252a3fdb46ee28348e66ff7c05a96 /boot/expo.c
parent4ca87fd18c1b718be423755939a6e5b1688869f5 (diff)
parent7703cfe025cbbb2277498483304b4db958521d9e (diff)
Merge patch series "video: Enhancements related to truetype and console"
Simon Glass <sjg@chromium.org> says: This series includes some precursor patches needed for forthcoming expo enhancements. - truetype support for multiple lines - make white-on-black a runtime option - support drawing a rectangle
Diffstat (limited to 'boot/expo.c')
-rw-r--r--boot/expo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/expo.c b/boot/expo.c
index 786f665f53c..8ce645e5a8f 100644
--- a/boot/expo.c
+++ b/boot/expo.c
@@ -194,7 +194,7 @@ int expo_render(struct expo *exp)
u32 colour;
int ret;
- back = CONFIG_IS_ENABLED(SYS_WHITE_ON_BLACK) ? VID_BLACK : VID_WHITE;
+ back = vid_priv->white_on_black ? VID_BLACK : VID_WHITE;
colour = video_index_to_colour(vid_priv, back);
ret = video_fill(dev, colour);
if (ret)