soc/intel/cannonlake: Enable PlatformDebugConsent by Kconfig

This change is mainly to control PlatformDebugConsent FSP UPD.
PlatformDebugConsent is enabled if SOC_INTEL_CANNONLAKE_DEBUG_CONSENT != 0.
PlatformDebugConsent in FspmUpd.h has the details.

BUG=b:130203864
TEST=boot ok and PlatformDebugConsent can be controlled by Kconfig

Change-Id: Ib845b5e42bc78fb352a0c97c6301f2aeca522f29
Signed-off-by: Kane Chen <kane.chen@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32297
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kane Chen
2019-04-11 21:55:20 +08:00
committed by Patrick Georgi
parent f5e8b29be6
commit 3717256d5a
3 changed files with 14 additions and 11 deletions

View File

@@ -292,15 +292,6 @@ struct soc_intel_cannonlake_config {
*/
uint8_t PchPmSlpAMinAssert;
/* Desired platform debug type. */
enum {
DebugConsent_Disabled,
DebugConsent_DCI_DBC,
DebugConsent_DCI,
DebugConsent_USB3_DBC,
DebugConsent_XDP, /* XDP/Mipi60 */
DebugConsent_USB2_DBC,
} DebugConsent;
/*
* SerialIO device mode selection:
*