[PATCH 012/171] console: Add a Kconfig for SPL_CONSOLE_MUX et al
Simon Glass
sjg at chromium.org
Mon Jan 30 15:40:45 CET 2023
This and SYS_CONSOLE_IS_IN_ENV are implicitly used in the source and seem
useful, so add them.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
common/Kconfig | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 99ff67cac6a..6d23cdde94e 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -235,6 +235,10 @@ config CONSOLE_MUX
adds a small amount of size to U-Boot. Changes to the environment
variables stdout, stdin and stderr will take effect immediately.
+config SPL_CONSOLE_MUX
+ def_bool n # Enable console multiplexing (SPL)
+ depends on SPL
+
config SYS_CONSOLE_IS_IN_ENV
bool "Select console devices from the environment"
default y if CONSOLE_MUX
@@ -245,6 +249,10 @@ config SYS_CONSOLE_IS_IN_ENV
environment variables can be updated after boot to change the
input/output devices.
+config SPL_SYS_CONSOLE_IS_IN_ENV
+ def_bool n # Select console devices from the environment (SPL)
+ depends on SPL
+
config SYS_CONSOLE_OVERWRITE_ROUTINE
bool "Allow board control over console overwriting"
help
--
2.39.1.456.gfc5497dd1b-goog
More information about the U-Boot
mailing list