diff options
author | Ying Sun <sunying@nj.iscas.ac.cn> | 2023-06-25 17:18:21 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-07 16:25:56 -0400 |
commit | 0f42f8995593570b0a0d0726cd1f021b5f90172f (patch) | |
tree | 3d8728b335b1022204afe1d4826b968c4eaa9544 | |
parent | 29f925d8f9c7d0e1aea340e537e2423f659f851d (diff) | |
download | u-boot-0f42f8995593570b0a0d0726cd1f021b5f90172f.zip u-boot-0f42f8995593570b0a0d0726cd1f021b5f90172f.tar.gz u-boot-0f42f8995593570b0a0d0726cd1f021b5f90172f.tar.bz2 |
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 <renyanjie01@gmail.com>
Signed-off-by: Ying Sun <sunying@nj.iscas.ac.cn>
-rw-r--r-- | common/spl/Kconfig.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/spl/Kconfig.tpl b/common/spl/Kconfig.tpl index 1874f9d..3d6cf1e 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 |