summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-08-17 18:40:33 +0000
committerFelix Held <felix-coreboot@felixheld.de>2024-08-21 13:45:01 +0000
commit97df9ef25f08b66f9ee30b02e931adff88b13777 (patch)
tree8865706bd7ab1b906b1c9a296c1646be9c9e70fe /src
parent2142053986befcc841666f7f62d8b6c3c0f2a28f (diff)
soc/intel/pantherlake: Switch to SOC_INTEL_COMMON_DEBUG_CONSENT
This patch replaces the SoC-specific config option `SOC_INTEL_PANTHERLAKE_DEBUG_CONSENT` with the generic `SOC_INTEL_COMMON_DEBUG_CONSENT`. TEST=Able to build and boot google/fatcat without any functional impact while debugging. Change-Id: I36bbe14d02654ed9dbda21df0d9a6a6769b87754 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83962 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Dinesh Gehlot <digehlot@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/pantherlake/Kconfig27
1 files changed, 9 insertions, 18 deletions
diff --git a/src/soc/intel/pantherlake/Kconfig b/src/soc/intel/pantherlake/Kconfig
index 5e5516a4f4..83d6292f50 100644
--- a/src/soc/intel/pantherlake/Kconfig
+++ b/src/soc/intel/pantherlake/Kconfig
@@ -218,25 +218,16 @@ config FSP_HEADER_PATH
string "Location of FSP headers"
default "src/vendorcode/intel/fsp/fsp2_0/pantherlake/"
-config SOC_INTEL_PANTHERLAKE_DEBUG_CONSENT
- int "Debug Consent"
- # USB DBC is more common for developers so make this default to 4 if
- # SOC_INTEL_DEBUG_CONSENT=y
+# Override platform debug consent value:
+# 0: Disabled,
+# 2: Enabled Trace active: TraceHub is enabled and trace is active, blocks s0ix,
+# 4: Enabled Trace ready: TraceHub is enabled and allowed S0ix,
+# 6: Enabled Trace power off: TraceHub is powergated, provide setting close to functional
+# low power state,
+# 7: User needs to configure Advanced Debug Settings manually.
+config SOC_INTEL_COMMON_DEBUG_CONSENT
+ int
default 4 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,
- 2:Enabled Trace active: TraceHub is enabled and trace is active,
- blocks s0ix,
- 4:Enabled Trace ready: TraceHub is enabled and allowed S0ix,
- 6:Enabled Trace power off: TraceHub is powergated, provide setting close to
- functional low power state,
- 7:user needs to configure Advanced Debug Settings manually.
config DATA_BUS_WIDTH
int