From: Ying Sun Date: Sun, 25 Jun 2023 09:18:21 +0000 (+0800) Subject: tpl: Kconfig: TPL_BANNER_PRINT depends on DEBUG_UART && TPL_SERIAL X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=0f42f8995593570b0a0d0726cd1f021b5f90172f;p=u-boot.git tpl: Kconfig: TPL_BANNER_PRINT depends on DEBUG_UART && TPL_SERIAL As implemented in the arch/arm/mach-rockchip/tpl.c file, the CONFIG_TPL_BANNER_PRINT option will not work if either of these options is not enabled. Add dependency constraints to the CONFIG_TPL_BANNER_PRINT option definition to prevent configuration problems where option is enabled but do not take effect. Suggested-by: Yanjie Ren Signed-off-by: Ying Sun --- diff --git a/common/spl/Kconfig.tpl b/common/spl/Kconfig.tpl index 1874f9db4f..3d6cf1e59f 100644 --- a/common/spl/Kconfig.tpl +++ b/common/spl/Kconfig.tpl @@ -43,6 +43,7 @@ config TPL_FRAMEWORK config TPL_BANNER_PRINT bool "Enable output of the TPL banner 'U-Boot TPL ...'" + depends on DEBUG_UART && TPL_SERIAL default y help If this option is enabled, TPL will print the banner with version