summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximilian Brune <maximilian.brune@9elements.com>2023-01-17 14:42:27 +0100
committerLean Sheng Tan <sheng.tan@9elements.com>2023-01-25 10:29:02 +0000
commit16f5b54c80a4af4f793134aa7645b59d48fad74b (patch)
treeb74623e239e6daf55e9ebad17bd486537c3e02ac
parenta14901804b6d46e6e05932d6dc9901c5208853b5 (diff)
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 <maximilian.brune@9elements.com> Change-Id: Ic9c049f1d225bc21d8da5bd208651ad847ae0c6e Reviewed-on: https://review.coreboot.org/c/coreboot/+/72117 Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
-rw-r--r--src/soc/intel/common/block/pcie/Kconfig4
1 files changed, 3 insertions, 1 deletions
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