summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:44:30 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 15:41:40 +0300
commitb671359069ff804ebb16bd3961b3a73c4076ad77 (patch)
tree2dd88c0aaf49b68060cfe8883281710330630f3a /drivers
parent72129e088af8254cd77c09eea54f74e3909aa627 (diff)
downloadu-boot-b671359069ff804ebb16bd3961b3a73c4076ad77.tar.xz
Correct SPL use of VIDEO_BPP32
This converts 1 usage of this option to the non-SPL form, since there is no SPL_VIDEO_BPP32 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 f36970e042..6aaacff10d 100644
--- a/drivers/video/video-uclass.c
+++ b/drivers/video/video-uclass.c
@@ -203,7 +203,7 @@ u32 video_index_to_colour(struct video_priv *priv, unsigned int idx)
}
break;
case VIDEO_BPP32:
- if (CONFIG_IS_ENABLED(VIDEO_BPP32)) {
+ if (IS_ENABLED(CONFIG_VIDEO_BPP32)) {
if (priv->format == VIDEO_X2R10G10B10)
return (colours[idx].r << 22) |
(colours[idx].g << 12) |