From 16f5b54c80a4af4f793134aa7645b59d48fad74b Mon Sep 17 00:00:00 2001 From: Maximilian Brune Date: Tue, 17 Jan 2023 14:42:27 +0100 Subject: soc/intel/cmn/block/pcie: Make ASPM configurable Currently ASPM cannot be disabled by individual mainboards, if the soc Kconfig includes SOC_INTEL_COMMON_PCH_CLIENT. Other options like PCIEXP_CLK_PM and PCIEXP_L1_SUB_STATE are already configurable by individual mainboards if needed. This change makes PCIEXP_ASPM one of these configurable options. Test: build prodrive/atlas and see that build/config.h lists the option CONFIG_PCIEXP_ASPM as disabled. Signed-off-by: Maximilian Brune Change-Id: Ic9c049f1d225bc21d8da5bd208651ad847ae0c6e Reviewed-on: https://review.coreboot.org/c/coreboot/+/72117 Reviewed-by: Paul Menzel Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan Reviewed-by: Angel Pons Reviewed-by: Kapil Porwal --- src/soc/intel/common/block/pcie/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/soc/intel/common/block/pcie/Kconfig b/src/soc/intel/common/block/pcie/Kconfig index 25cde37d1a..859ba22eab 100644 --- a/src/soc/intel/common/block/pcie/Kconfig +++ b/src/soc/intel/common/block/pcie/Kconfig @@ -1,6 +1,5 @@ config SOC_INTEL_COMMON_BLOCK_PCIE bool - select PCIEXP_ASPM select PCIEXP_COMMON_CLOCK help Intel Processor common PCIE support @@ -9,6 +8,9 @@ if SOC_INTEL_COMMON_BLOCK_PCIE source "src/soc/intel/common/block/pcie/*/Kconfig" +config PCIEXP_ASPM + default y + config PCIEXP_CLK_PM default y -- cgit v1.2.3