diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 03:55:32 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 15:41:40 +0300 |
commit | 72129e088af8254cd77c09eea54f74e3909aa627 (patch) | |
tree | e3f7fe1e8581acdebd731e69e39de1b32e772312 /drivers | |
parent | 2fe2ac139f67d1f130445e31d67b0b9477a86fa6 (diff) | |
download | u-boot-72129e088af8254cd77c09eea54f74e3909aa627.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c index 0ce376ca3f..f36970e042 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); |