aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-11-19 13:24:04 -0700
committerAnatolij Gustschin <agust@denx.de>2021-12-26 23:33:11 +0100
commit7a8555d871361a1e36152c25826359704c1e46de (patch)
treeb2b9936d98db823006be5b07a61c37189ddc2df7
parent84e63abfff67b82253add1c05cfdd9700fada021 (diff)
downloadu-boot-7a8555d871361a1e36152c25826359704c1e46de.zip
u-boot-7a8555d871361a1e36152c25826359704c1e46de.tar.gz
u-boot-7a8555d871361a1e36152c25826359704c1e46de.tar.bz2
video: Show the U-Boot logo by default
Enable this for boards with a display, unless they are using the SPLASH feature. This shows a U-Boot logo on boards with a display, which seems like a useful thing. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--configs/gurnard_defconfig1
-rw-r--r--configs/tbs2910_defconfig1
-rw-r--r--drivers/video/Kconfig1
3 files changed, 3 insertions, 0 deletions
diff --git a/configs/gurnard_defconfig b/configs/gurnard_defconfig
index 7c7974c..a034cad 100644
--- a/configs/gurnard_defconfig
+++ b/configs/gurnard_defconfig
@@ -50,5 +50,6 @@ CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_DM_VIDEO=y
+# CONFIG_VIDEO_LOGO is not set
# CONFIG_VIDEO_BPP32 is not set
CONFIG_CMD_DHRYSTONE=y
diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index c623a54..e1278f2 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -94,6 +94,7 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
CONFIG_CI_UDC=y
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_DM_VIDEO=y
+# CONFIG_VIDEO_LOGO is not set
# CONFIG_BACKLIGHT is not set
# CONFIG_CMD_VIDCONSOLE is not set
# CONFIG_VIDEO_BPP8 is not set
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index e601b47..cfa08b5 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -17,6 +17,7 @@ config DM_VIDEO
config VIDEO_LOGO
bool "Show the U-Boot logo on the display"
depends on DM_VIDEO
+ default y if !SPLASH_SCREEN
select VIDEO_BMP_RLE8
help
This enables showing the U-Boot logo on the display when a video