summaryrefslogtreecommitdiff
path: root/payloads/external/SeaBIOS
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/external/SeaBIOS')
-rw-r--r--payloads/external/SeaBIOS/Kconfig10
-rw-r--r--payloads/external/SeaBIOS/Makefile7
2 files changed, 15 insertions, 2 deletions
diff --git a/payloads/external/SeaBIOS/Kconfig b/payloads/external/SeaBIOS/Kconfig
index ac4f922f0b..276f75de34 100644
--- a/payloads/external/SeaBIOS/Kconfig
+++ b/payloads/external/SeaBIOS/Kconfig
@@ -94,4 +94,14 @@ config PAYLOAD_VGABIOS_FILE
depends on SEABIOS_VGA_COREBOOT
default "payloads/external/SeaBIOS/seabios/out/vgabios.bin"
+config SEABIOS_DEBUG_LEVEL
+ prompt "SeaBIOS debug level (verbosity)"
+ default DEFAULT_CONSOLE_LOGLEVEL
+ int
+ help
+ The higher the number, the more verbose SeaBIOS will be. The range is
+ not well defined but the typical values range from 0 to about 9 inclusive
+ where 0 disables all output. Set this value to -1 to use SeaBIOS' default.
+
+ The default is to use coreboot's loglevel.
endif
diff --git a/payloads/external/SeaBIOS/Makefile b/payloads/external/SeaBIOS/Makefile
index 4b108d5715..98e4b1b2a4 100644
--- a/payloads/external/SeaBIOS/Makefile
+++ b/payloads/external/SeaBIOS/Makefile
@@ -60,8 +60,11 @@ else
false
endif
endif
- # This shows how to force a previously set .config option *off*
- #echo "# CONFIG_SMBIOS is not set" >> seabios/.config
+ifneq ($(CONFIG_SEABIOS_DEBUG_LEVEL),-1)
+ echo "CONFIG_DEBUG_LEVEL=$(CONFIG_SEABIOS_DEBUG_LEVEL)" >> seabios/.config
+endif
+# This shows how to force a previously set .config option *off*
+# echo "# CONFIG_SMBIOS is not set" >> seabios/.config
$(MAKE) -C seabios olddefconfig OUT=out/
build: config