video: Convert CONFIG_VIDEO_LOGO to Kconfig

This converts the following to Kconfig:
   CONFIG_VIDEO_LOGO

Note that this option depends on CONFIG_DM_VIDEO now, since cfb_console is
deprecated. The only relevant code is now in splash.c

Drop the check for DM_VIDEO in that file.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2021-11-19 13:24:01 -07:00
committed by Anatolij Gustschin
parent cd4fb0f054
commit 64cfeda8ae
77 changed files with 48 additions and 39 deletions

View File

@@ -14,6 +14,15 @@ config DM_VIDEO
option compiles in the video uclass and routes all LCD/video access
through this.
config VIDEO_LOGO
bool "Show the U-Boot logo on the display"
depends on DM_VIDEO
help
This enables showing the U-Boot logo on the display when a video
device is probed. It appears at the top right. The logo itself is at
tools/logos/u-boot_logo.bmp and looks best when the display has a
black background.
config BACKLIGHT
bool "Enable panel backlight uclass support"
depends on DM_VIDEO