From d9f5d90ada6a9c3efde220160dddaca42421be6f Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Tue, 24 Aug 2021 13:53:43 -0700 Subject: soc/intel/adl: Move USB4 hotplug Kconfig to common This change adds a new Kconfig `SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES` that can be selected by mainboard to reserve hotplug resources for USB4 at the SoC level. `ADL_ENABLE_USB4_PCIE_RESOURCES` is dropped from soc/intel/alderlake and instead the newly added Kconfig is now used. This new Kconfig is added so that the same config can be used across different platforms. In following changes, this Kconfig is utilized by TGL as well. Change-Id: Id7c359a0e255c43c2732f6cbe287bc7da14a46e3 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/c/coreboot/+/57124 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/intel/adlrvp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/intel/adlrvp') diff --git a/src/mainboard/intel/adlrvp/Kconfig b/src/mainboard/intel/adlrvp/Kconfig index 42ff3bdc00..4a59c8bd2e 100644 --- a/src/mainboard/intel/adlrvp/Kconfig +++ b/src/mainboard/intel/adlrvp/Kconfig @@ -2,7 +2,6 @@ if BOARD_INTEL_ADLRVP_P || BOARD_INTEL_ADLRVP_P_EXT_EC || BOARD_INTEL_ADLRVP_M | config BOARD_SPECIFIC_OPTIONS def_bool y - select ADL_ENABLE_USB4_PCIE_RESOURCES select BOARD_ROMSIZE_KB_32768 select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES @@ -26,6 +25,7 @@ config BOARD_SPECIFIC_OPTIONS select FW_CONFIG_SOURCE_CHROMEEC_CBI if BOARD_INTEL_ADLRVP_M_EXT_EC select MAINBOARD_HAS_TPM2 if BOARD_INTEL_ADLRVP_M_EXT_EC select MAINBOARD_HAS_SPI_TPM_CR50 if BOARD_INTEL_ADLRVP_M_EXT_EC + select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES select SPI_TPM if BOARD_INTEL_ADLRVP_M_EXT_EC config CHROMEOS -- cgit v1.2.3