diff options
author | Simon Glass <sjg@chromium.org> | 2016-10-17 20:12:59 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-23 18:34:01 -0400 |
commit | 84f2a5d0a6c4d267ce9aeb5eaab3c4d419a605ac (patch) | |
tree | 216c9f26b86a651cf9f62ce41825017319d4597c /common/Kconfig | |
parent | 3505bc5561265f7453bb0f9063a254dc21cbdaa5 (diff) |
Convert CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index e78e91829b5..69d09ec7628 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -309,6 +309,15 @@ config SYS_CONSOLE_IS_IN_ENV environment variables can be updated after boot to change the input/output devices. +config SYS_CONSOLE_OVERWRITE_ROUTINE + bool "Allow board control over console overwriting" + help + If this is enabled, and the board-specific function + overwrite_console() returns 1, the stdin, stderr and stdout are + switched to the serial port, else the settings in the environment + are used. If this is not enabled, the console will not be switched + to serial. + config SYS_CONSOLE_ENV_OVERWRITE bool "Update environment variables during console init" help |