diff options
author | Simon Glass <sjg@chromium.org> | 2016-10-18 02:13:02 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-23 22:34:17 (GMT) |
commit | 869588decdf41b693c8977067f90f742b771d0ad (patch) | |
tree | 2f845d9c8c5359adc0e1ed7459dba018d1fa16f7 /common/Kconfig | |
parent | 4ef6ecec9cdf1ce4c7b4f2a6b0f903583bfa24a2 (diff) | |
download | u-boot-869588decdf41b693c8977067f90f742b771d0ad.tar.xz |
Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_STDIO_DEREGISTER
This option should never be enabled in SPL, so use
CONFIG_IS_ENABLED(SYS_STDIO_DEREGISTER) when checking the option.
Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Re-sync]
Signed-off-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 ff2b1a4..dbe5bb6 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -335,6 +335,15 @@ config SYS_CONSOLE_INFO_QUIET Enable this option to supress this output. It can be obtained by calling stdio_print_current_devices() from board code. +config SYS_STDIO_DEREGISTER + bool "Allow deregistering stdio devices" + default y if USB_KEYBOARD + help + Generally there is no need to deregister stdio devices since they + are never deactivated. But if a stdio device is used which can be + removed (for example a USB keyboard) then this option can be + enabled to ensure this is handled correctly. + endmenu config SYS_NO_FLASH |