summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-08-11 20:23:36 +0300
committerTom Rini <trini@konsulko.com>2020-08-23 20:43:10 +0300
commit7e15638d609182b651480b1054b60bf40bd0c6fd (patch)
tree6e700986ec91c221412a61d7be341d88a9be9534 /common
parent35bd70c5107f0cfa610b5c7074a7ee2a60d5d82f (diff)
downloadu-boot-7e15638d609182b651480b1054b60bf40bd0c6fd.tar.xz
Convert CONFIG_SYS_DEVICE_NULLDEV to Kconfig
This converts the following to Kconfig: CONFIG_SYS_DEVICE_NULLDEV Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 62d78c5bd7..5a6d0e0e79 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -635,6 +635,22 @@ config SYS_STDIO_DEREGISTER
removed (for example a USB keyboard) then this option can be
enabled to ensure this is handled correctly.
+config SPL_SYS_STDIO_DEREGISTER
+ bool "Allow deregistering stdio devices in SPL"
+ 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. This is very rarely
+ needed in SPL.
+
+config SYS_DEVICE_NULLDEV
+ bool "Enable a null device for stdio"
+ help
+ Enable creation of a "nulldev" stdio device. This allows silent
+ operation of the console by setting stdout to "nulldev". Enable
+ this to use a serial console under board control.
+
endmenu
menu "Logging"