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>
This commit is contained in:
Maximilian Brune 2023-01-17 14:42:27 +01:00 committed by Lean Sheng Tan
parent a14901804b
commit 16f5b54c80
1 changed files with 3 additions and 1 deletions

View File

@ -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