mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-02 09:36:15 +00:00
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>
This commit is contained in:
parent
aadc1a6069
commit
29f925d8f9
1 changed files with 1 additions and 0 deletions
|
@ -256,6 +256,7 @@ config SYS_CONSOLE_OVERWRITE_ROUTINE
|
||||||
|
|
||||||
config SYS_CONSOLE_ENV_OVERWRITE
|
config SYS_CONSOLE_ENV_OVERWRITE
|
||||||
bool "Update environment variables during console init"
|
bool "Update environment variables during console init"
|
||||||
|
depends on SYS_CONSOLE_IS_IN_ENV
|
||||||
help
|
help
|
||||||
The console environment variables (stdout, stdin, stderr) can be
|
The console environment variables (stdout, stdin, stderr) can be
|
||||||
used to determine the correct console devices on start-up. This
|
used to determine the correct console devices on start-up. This
|
||||||
|
|
Loading…
Add table
Reference in a new issue