summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorMarc Jones <marcjones@sysproconsulting.com>2020-10-12 11:44:46 -0600
committerMarc Jones <marc@marcjonesconsulting.com>2020-10-29 16:43:00 +0000
commit5b5c52e8ded9e6ef320bc01fec63ed042cac90c1 (patch)
tree32906dddbc9da39d10c57ab8720ec9971fccc629 /src/Kconfig
parentb544fe48af76e5aae7537d95b62191e1fed2bc45 (diff)
include/device/device.h: Move resource debug macros
Add general debug macros that print resource information. These are available to select if DEFAULT_CONSOLE_LOGLEVEL_8. The macros are helpful in debugging complex resource allocation with multiple buses. The macros are moved from soc/intel/xeon_sp, where they were originally developed. Change-Id: I2bdab7770ca5ee5901f17a8af3a9a1001b6702e4 Signed-off-by: Marc Jones <marcjones@sysproconsulting.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46304 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index d265da7797..eda11c331e 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -915,6 +915,15 @@ config DEBUG_MALLOC
If unsure, say N.
+# 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
+ default n
+ help
+ This option enables additional PCI memory and IO debug messages.
+ Note: This option will increase the size of the coreboot image.
+ If unsure, say N.
+
config DEBUG_CONSOLE_INIT
bool "Debug console initialisation code"
default n