summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorMarc Jones <marcjones@sysproconsulting.com>2020-10-12 11:58:46 -0600
committerMarc Jones <marc@marcjonesconsulting.com>2020-10-29 16:44:19 +0000
commit8b522db474f1573e7f68cdb046d5dc4d789e084b (patch)
tree8cfa9f18aba19fcf4472122ca49028bb6b8e7565 /src/Kconfig
parent5b5c52e8ded9e6ef320bc01fec63ed042cac90c1 (diff)
soc/intel/xeon_sp: Move function debug macros
Move the macros for printing debug information to debug.h in the common console include directory and device include file. These are available if the platform selects DEFAULT_CONSOLE_LOGLEVEL_8. The macros could be used by any platform. Change-Id: Ie237bdf8cdc42c76f38a0c820fdc92e81095f47c Signed-off-by: Marc Jones <marcjones@sysproconsulting.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46093 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/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index eda11c331e..dc98ca2c05 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -1123,6 +1123,16 @@ config TRACE
of calling function. Please note some printk related functions
are omitted from trace to have good looking console dumps.
+config DEBUG_FUNC
+ bool "Enable function entry and exit reporting macros" if DEFAULT_CONSOLE_LOGLEVEL_8
+ default n
+ help
+ This option enables additional function entry and exit debug messages
+ for select functions. If supported, this is less output than
+ the TRACE option.
+ Note: This option will increase the size of the coreboot image.
+ If unsure, say N.
+
config DEBUG_COVERAGE
bool "Debug code coverage"
default n