summaryrefslogtreecommitdiff
path: root/boot/expo.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-11-15 14:15:21 -0500
committerTom Rini <trini@konsulko.com>2023-11-15 14:15:21 -0500
commit169c3cc49e40758956ee6c310f7f59a6443826a1 (patch)
tree469779cc9196adce361abe56c2ce27a6563e98ce /boot/expo.c
parent92b27528d777ce85362af45e7d2974a6c856219b (diff)
parent0d4d9f94c555577f78cddc372c307465fc92413e (diff)
Merge tag 'dm-pull-15nov23' of https://source.denx.de/u-boot/custodians/u-boot-dm
patman correct import of u_boot_pylib correct long-standing EFI framebuffer bug minor test refactor
Diffstat (limited to 'boot/expo.c')
-rw-r--r--boot/expo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/boot/expo.c b/boot/expo.c
index 139d684f8e6..cadb6a0ad6e 100644
--- a/boot/expo.c
+++ b/boot/expo.c
@@ -190,10 +190,12 @@ int expo_render(struct expo *exp)
struct udevice *dev = exp->display;
struct video_priv *vid_priv = dev_get_uclass_priv(dev);
struct scene *scn = NULL;
+ enum colour_idx back;
u32 colour;
int ret;
- colour = video_index_to_colour(vid_priv, VID_WHITE);
+ back = CONFIG_IS_ENABLED(SYS_WHITE_ON_BLACK) ? VID_BLACK : VID_WHITE;
+ colour = video_index_to_colour(vid_priv, back);
ret = video_fill(dev, colour);
if (ret)
return log_msg_ret("fill", ret);