All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikhil M Jain <n-jain1@ti.com>
To: <u-boot@lists.denx.de>, <agust@denx.de>
Cc: <n-jain1@ti.com>, <devarsht@ti.com>, <trini@konsulko.com>,
	<vigneshr@ti.com>, <nsekhar@ti.com>, <sjg@chromium.org>
Subject: [PATCH 8/9] drivers: video: video-uclass: Disable u-boot logo at SPL
Date: Tue, 14 Mar 2023 10:20:18 +0530	[thread overview]
Message-ID: <20230314045019.5671-9-n-jain1@ti.com> (raw)
In-Reply-To: <20230314045019.5671-1-n-jain1@ti.com>

Enable displaying of u-boot video logo as default at SPL stage to if
splash screen is disabled at SPL stage. Use CONFIG_IS_ENABLED for
checking on splash screen macro both at SPL stage or u-boot proper
depending upon where it is enabled.

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
---
 drivers/video/Kconfig        | 2 +-
 drivers/video/video-uclass.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 1097e2c623..96e0f367d7 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -28,7 +28,7 @@ if VIDEO || SPL_VIDEO
 
 config VIDEO_LOGO
 	bool "Show the U-Boot logo on the display"
-	default y if !SPLASH_SCREEN
+	default y if !SPLASH_SCREEN || !SPL_SPLASH_SCREEN
 	select VIDEO_BMP_RLE8
 	help
 	  This enables showing the U-Boot logo on the display when a video
diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c
index 6aaacff10d..5e473c1686 100644
--- a/drivers/video/video-uclass.c
+++ b/drivers/video/video-uclass.c
@@ -498,7 +498,7 @@ static int video_post_probe(struct udevice *dev)
 	}
 
 	if (IS_ENABLED(CONFIG_VIDEO_LOGO) &&
-	    !IS_ENABLED(CONFIG_SPLASH_SCREEN) && !plat->hide_logo) {
+	    !CONFIG_IS_ENABLED(SPLASH_SCREEN) && !plat->hide_logo) {
 		ret = show_splash(dev);
 		if (ret) {
 			log_debug("Cannot show splash screen\n");
-- 
2.34.1


  parent reply	other threads:[~2023-03-14  4:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-14  4:50 [PATCH 0/9] Enable splash screen Nikhil M Jain
2023-03-14  4:50 ` [PATCH 1/9] drivers: video: Kconfig: Necessary configs for video at SPL Nikhil M Jain
2023-03-14  6:50   ` Devarsh Thakkar
2023-03-27  8:23   ` Simon Glass
2023-03-14  4:50 ` [PATCH 2/9] drivers: video: tidss: Kconfig: Configs to enable TIDSS " Nikhil M Jain
2023-03-27  8:23   ` Simon Glass
2023-03-14  4:50 ` [PATCH 3/9] cmd: Kconfig: Add necessary configs for splash screen " Nikhil M Jain
2023-03-27  8:23   ` Simon Glass
2023-03-14  4:50 ` [PATCH 4/9] drivers: video: Makefile: Compile video driver files " Nikhil M Jain
2023-03-27  8:23   ` Simon Glass
2023-03-14  4:50 ` [PATCH 5/9] drivers: video: tidss: Makefile: Add condition to compile TIDSS " Nikhil M Jain
2023-03-27  8:23   ` Simon Glass
2023-03-14  4:50 ` [PATCH 6/9] cmd: Makefile: Add rules to build bmp.c and read.c " Nikhil M Jain
2023-03-27  8:24   ` Simon Glass
2023-03-14  4:50 ` [PATCH 7/9] common: splash: Enable splash_display at SPL stage Nikhil M Jain
2023-03-27  8:24   ` Simon Glass
2023-03-14  4:50 ` Nikhil M Jain [this message]
2023-03-27  8:24   ` [PATCH 8/9] drivers: video: video-uclass: Disable u-boot logo at SPL Simon Glass
2023-03-14  4:50 ` [PATCH 9/9] board: ti: am62x: evm: OSPI support for splash screen Nikhil M Jain
2023-03-27  8:24   ` Simon Glass
2023-03-14  5:54 ` [PATCH 0/9] Enable " Devarsh Thakkar
  -- strict thread matches above, loose matches on Subject: below --
2023-03-13 10:14 Nikhil M Jain
2023-03-13 10:14 ` [PATCH 8/9] drivers: video: video-uclass: Disable u-boot logo at SPL Nikhil M Jain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230314045019.5671-9-n-jain1@ti.com \
    --to=n-jain1@ti.com \
    --cc=agust@denx.de \
    --cc=devarsht@ti.com \
    --cc=nsekhar@ti.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.