]> Git Repo - u-boot.git/commitdiff
video: Do not show splash and U-Boot logo simultaneously
authorFabio Estevam <[email protected]>
Mon, 28 Mar 2022 19:40:36 +0000 (16:40 -0300)
committerTom Rini <[email protected]>
Thu, 31 Mar 2022 12:27:51 +0000 (08:27 -0400)
Currently, on imx6sabresd and gwventana boards, the company logo
and U-Boot logo are shown.

The correct behavior is to show only the company logo, if available,
and not both logos.

Reported-by: Tim Harvey <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Tested-by: Tim Harvey <[email protected]> #gw_ventana
drivers/video/video-uclass.c

index 88797d4a21c2f76c8a7d8a8d5872535f731b277a..f9c2c40a223bfc8e6cb648bc4503b018941b1d4d 100644 (file)
@@ -407,7 +407,8 @@ static int video_post_probe(struct udevice *dev)
                return ret;
        }
 
-       if (IS_ENABLED(CONFIG_VIDEO_LOGO) && !plat->hide_logo) {
+       if (IS_ENABLED(CONFIG_VIDEO_LOGO) &&
+           !IS_ENABLED(CONFIG_SPLASH_SCREEN) && !plat->hide_logo) {
                ret = show_splash(dev);
                if (ret) {
                        log_debug("Cannot show splash screen\n");
This page took 0.04981 seconds and 4 git commands to generate.