aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 17:55:32 -0700
committerTom Rini <trini@konsulko.com>2023-02-10 07:41:40 -0500
commit72129e088af8254cd77c09eea54f74e3909aa627 (patch)
treee3f7fe1e8581acdebd731e69e39de1b32e772312 /drivers
parent2fe2ac139f67d1f130445e31d67b0b9477a86fa6 (diff)
downloadu-boot-72129e088af8254cd77c09eea54f74e3909aa627.zip
u-boot-72129e088af8254cd77c09eea54f74e3909aa627.tar.gz
u-boot-72129e088af8254cd77c09eea54f74e3909aa627.tar.bz2
Correct SPL use of VIDEO_BPP16
This converts 1 usage of this option to the non-SPL form, since there is no SPL_VIDEO_BPP16 defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/video-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c
index 0ce376c..f36970e 100644
--- a/drivers/video/video-uclass.c
+++ b/drivers/video/video-uclass.c
@@ -196,7 +196,7 @@ u32 video_index_to_colour(struct video_priv *priv, unsigned int idx)
{
switch (priv->bpix) {
case VIDEO_BPP16:
- if (CONFIG_IS_ENABLED(VIDEO_BPP16)) {
+ if (IS_ENABLED(CONFIG_VIDEO_BPP16)) {
return ((colours[idx].r >> 3) << 11) |
((colours[idx].g >> 2) << 5) |
((colours[idx].b >> 3) << 0);