stdio_add_devices() calls splash_display() only when CONFIG_CMD_BMP is
enabled. However splash_display() depends on the BMP display support
selected by CONFIG_BMP, not on the "bmp" command (CONFIG_CMD_BMP).

As a result the boot splash is not shown when BMP display support is
enabled without the bmp command. Gate the call on CONFIG_BMP instead.

Fixes: 5eb83c0ac114 ("splash: display splash in DM_VIDEO configurations")
Signed-off-by: Julien Stephan <[email protected]>
---
 common/stdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/stdio.c b/common/stdio.c
index 038e576147b..271a37e959c 100644
--- a/common/stdio.c
+++ b/common/stdio.c
@@ -332,7 +332,7 @@ int stdio_add_devices(void)
                        }
                }
                if (IS_ENABLED(CONFIG_SPLASH_SCREEN) &&
-                   IS_ENABLED(CONFIG_CMD_BMP))
+                   IS_ENABLED(CONFIG_BMP))
                        splash_display();
        }
 

---
base-commit: cd5bd0cb98ececd1e2eb69d0093e4940b25c9941
change-id: 20260901-stdio-splash-fix-bmp-guard-351d02d73457

Best regards,
--  
Julien Stephan <[email protected]>

Reply via email to