summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorMarc Jones <marcjones@sysproconsulting.com>2020-12-02 11:34:17 -0700
committerMarc Jones <marc@marcjonesconsulting.com>2020-12-11 15:58:24 +0000
commitcf3dcd6d2975673622c3272e0d7f3e421051fe74 (patch)
treebf79bb8b648ac2065ceff29b9de5728e4cd48903 /src/Kconfig
parent1403b917ac68e0e462716d3fd48d5ce44529ee06 (diff)
downloadcoreboot-cf3dcd6d2975673622c3272e0d7f3e421051fe74.tar.xz
Kconfig: Show console debug options if loglevel override is set
Show console debug options that would only be available if console SPEW was selected when the override loglevel option is selected. Change-Id: I2fb22562688d6b0bc9235c9ebe5d427dc2a67767 Signed-off-by: Marc Jones <marcjones@sysproconsulting.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48249 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Zhang <jonzhang@fb.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 77d077f450..33065cbddb 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -905,7 +905,7 @@ config DEBUG_PERIODIC_SMI
# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
# printk(BIOS_DEBUG, ...) calls.
config DEBUG_MALLOC
- prompt "Output verbose malloc debug messages" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
+ prompt "Output verbose malloc debug messages" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 || CONSOLE_OVERRIDE_LOGLEVEL
bool
default n
help
@@ -917,7 +917,7 @@ config DEBUG_MALLOC
# Only visible if DEBUG_SPEW (8) is set.
config DEBUG_RESOURCES
- bool "Output verbose PCI MEM and IO resource debug messages" if DEFAULT_CONSOLE_LOGLEVEL_8
+ bool "Output verbose PCI MEM and IO resource debug messages" if DEFAULT_CONSOLE_LOGLEVEL_8 || CONSOLE_OVERRIDE_LOGLEVEL
default n
help
This option enables additional PCI memory and IO debug messages.
@@ -939,7 +939,7 @@ config DEBUG_CONSOLE_INIT
# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
# printk(BIOS_DEBUG, ...) calls.
config REALMODE_DEBUG
- prompt "Enable debug messages for option ROM execution" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
+ prompt "Enable debug messages for option ROM execution" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 || CONSOLE_OVERRIDE_LOGLEVEL
bool
default n
depends on PCI_OPTION_ROM_RUN_REALMODE