diff options
author | Ying Sun <sunying@nj.iscas.ac.cn> | 2023-06-25 16:52:07 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-07 16:25:56 -0400 |
commit | 29f925d8f9c7d0e1aea340e537e2423f659f851d (patch) | |
tree | 5ddf4346f914ccf47e268b27b295f72679d8aa9a | |
parent | aadc1a60694bfee09203fb30357ac9887d9691e2 (diff) | |
download | u-boot-29f925d8f9c7d0e1aea340e537e2423f659f851d.zip u-boot-29f925d8f9c7d0e1aea340e537e2423f659f851d.tar.gz u-boot-29f925d8f9c7d0e1aea340e537e2423f659f851d.tar.bz2 |
common: Kconfig: SYS_CONSOLE_ENV_OVERWRITE depends on SYS_CONSOLE_IS_IN_ENV
CONFIG_SYS_CONSOLE_ENV_OVERWRITE is implemented in common/console.c
when "#if CONFIG_IS_ENABLED(SYS_CONSOLE_IS_IN_ENV)" is met.
It is recommended to add dependency constraints to its definition.
Suggested-by: Yanjie Ren <renyanjie01@gmail.com>
Signed-off-by: Ying Sun <sunying@nj.iscas.ac.cn>
-rw-r--r-- | common/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index bbabadb..42baca2 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -256,6 +256,7 @@ config SYS_CONSOLE_OVERWRITE_ROUTINE config SYS_CONSOLE_ENV_OVERWRITE bool "Update environment variables during console init" + depends on SYS_CONSOLE_IS_IN_ENV help The console environment variables (stdout, stdin, stderr) can be used to determine the correct console devices on start-up. This |