diff options
author | Simon Glass <sjg@chromium.org> | 2020-08-11 11:23:37 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-23 13:43:10 -0400 |
commit | 3ca0609adc726ed829325ef6363d6ff5402ea9bb (patch) | |
tree | 1d49e9caeb0cb2dacadd4d1d02f2dd067ad63dfd /common/Kconfig | |
parent | 7e15638d609182b651480b1054b60bf40bd0c6fd (diff) | |
download | u-boot-3ca0609adc726ed829325ef6363d6ff5402ea9bb.tar.gz |
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV
Now that this is in Kconfig we can move the logic at the top of the file
to Kconfig, and use if() instead of #if. Update the file with these
changes.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 5a6d0e0e79..8f61aa7602 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -646,6 +646,7 @@ config SPL_SYS_STDIO_DEREGISTER config SYS_DEVICE_NULLDEV bool "Enable a null device for stdio" + default y if SPLASH_SCREEN || SYS_STDIO_DEREGISTER help Enable creation of a "nulldev" stdio device. This allows silent operation of the console by setting stdout to "nulldev". Enable |