aboutsummaryrefslogtreecommitdiff
path: root/src/console/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/Kconfig')
-rw-r--r--src/console/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/console/Kconfig b/src/console/Kconfig
index 0421f6ba4c..e30edc929d 100644
--- a/src/console/Kconfig
+++ b/src/console/Kconfig
@@ -298,6 +298,14 @@ config SPI_CONSOLE
This is currently working only in ramstage due to how the spi
drivers are written.
+config CONSOLE_OVERRIDE_LOGLEVEL
+ boolean
+ help
+ Set to "y" when the platform overrides the loglevel by providing
+ a get_console_loglevel routine.
+
+if !CONSOLE_OVERRIDE_LOGLEVEL
+
choice
prompt "Default console log level"
default DEFAULT_CONSOLE_LOGLEVEL_8
@@ -355,6 +363,8 @@ config DEFAULT_CONSOLE_LOGLEVEL
help
Map the log level config names to an integer.
+endif
+
config NO_POST
bool "Don't show any POST codes"
default n