summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/common/basecode/debug/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/soc/intel/common/basecode/debug/Kconfig b/src/soc/intel/common/basecode/debug/Kconfig
index 759b9697c9..00a03d815a 100644
--- a/src/soc/intel/common/basecode/debug/Kconfig
+++ b/src/soc/intel/common/basecode/debug/Kconfig
@@ -6,3 +6,19 @@ config SOC_INTEL_COMMON_BASECODE_DEBUG_FEATURE
help
Driver to control runtime features of Intel SoC & coreboot. For example, controlling
the CSE firmware update feature without rebuilding the code.
+
+config SOC_INTEL_COMMON_DEBUG_CONSENT
+ int "Debug Consent for Intel SoC"
+ # USB DBC is more common for developers so make this default to 3 if
+ # SOC_INTEL_DEBUG_CONSENT=y
+ default 3 if SOC_INTEL_DEBUG_CONSENT
+ default 0
+ help
+ This is to control debug interface on SOC.
+ Setting non-zero value will allow to use DBC or DCI to debug SOC.
+ PlatformDebugConsent in FspmUpd.h has the details.
+
+ Desired platform debug type are
+ 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB),
+ 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC),
+ 6:Enable (2-wire DCI OOB), 7:Manual.