mb/google/volteer: Enable USB4 resources using SoC Kconfig
This change uses the newly added `SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES` Kconfig to enable USB4 resources and drops the configuration in mainboard. Change-Id: Id0951937cab8bf5432fc902ba7af21f56fe98087 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57126 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
@@ -105,24 +105,6 @@ config MAINBOARD_PART_NUMBER
|
|||||||
default "Volet" if BOARD_GOOGLE_VOLET
|
default "Volet" if BOARD_GOOGLE_VOLET
|
||||||
default "Chronicler" if BOARD_GOOGLE_CHRONICLER
|
default "Chronicler" if BOARD_GOOGLE_CHRONICLER
|
||||||
|
|
||||||
if PCIEXP_HOTPLUG
|
|
||||||
|
|
||||||
# Reserving resources for PCIe Hotplug as per TGL BIOS Spec (doc #611569)
|
|
||||||
# Revision 0.7.6 Section 7.2.5.1.5
|
|
||||||
config PCIEXP_HOTPLUG_BUSES
|
|
||||||
int
|
|
||||||
default 42
|
|
||||||
|
|
||||||
config PCIEXP_HOTPLUG_MEM
|
|
||||||
hex
|
|
||||||
default 0xc200000 # 194 MiB
|
|
||||||
|
|
||||||
config PCIEXP_HOTPLUG_PREFETCH_MEM
|
|
||||||
hex
|
|
||||||
default 0x1c000000 # 448 MiB
|
|
||||||
|
|
||||||
endif # PCIEXP_HOTPLUG
|
|
||||||
|
|
||||||
config TPM_TIS_ACPI_INTERRUPT
|
config TPM_TIS_ACPI_INTERRUPT
|
||||||
int
|
int
|
||||||
default 21 # GPE0_DW0_21 (GPP_C21)
|
default 21 # GPE0_DW0_21 (GPP_C21)
|
||||||
|
@@ -46,7 +46,7 @@ config BOARD_GOOGLE_VOLTEER
|
|||||||
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
||||||
select VARIANT_HAS_MIPI_CAMERA
|
select VARIANT_HAS_MIPI_CAMERA
|
||||||
select INTEL_CAR_NEM
|
select INTEL_CAR_NEM
|
||||||
select PCIEXP_HOTPLUG
|
select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
|
||||||
|
|
||||||
config BOARD_GOOGLE_VOLTEER2
|
config BOARD_GOOGLE_VOLTEER2
|
||||||
bool "-> Volteer2"
|
bool "-> Volteer2"
|
||||||
@@ -54,7 +54,7 @@ config BOARD_GOOGLE_VOLTEER2
|
|||||||
select VARIANT_HAS_MIPI_CAMERA
|
select VARIANT_HAS_MIPI_CAMERA
|
||||||
select DRIVERS_GENESYSLOGIC_GL9755
|
select DRIVERS_GENESYSLOGIC_GL9755
|
||||||
select DRIVER_I2C_TPM_ACPI
|
select DRIVER_I2C_TPM_ACPI
|
||||||
select PCIEXP_HOTPLUG
|
select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
|
||||||
|
|
||||||
# Reworked Volteer2 prototype, Haven chip replaced with Dauntless demo board
|
# Reworked Volteer2 prototype, Haven chip replaced with Dauntless demo board
|
||||||
config BOARD_GOOGLE_VOLTEER2_TI50
|
config BOARD_GOOGLE_VOLTEER2_TI50
|
||||||
@@ -63,13 +63,13 @@ config BOARD_GOOGLE_VOLTEER2_TI50
|
|||||||
select VARIANT_HAS_MIPI_CAMERA
|
select VARIANT_HAS_MIPI_CAMERA
|
||||||
select DRIVERS_GENESYSLOGIC_GL9755
|
select DRIVERS_GENESYSLOGIC_GL9755
|
||||||
select DRIVER_I2C_TPM_ACPI
|
select DRIVER_I2C_TPM_ACPI
|
||||||
select PCIEXP_HOTPLUG
|
select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
|
||||||
|
|
||||||
config BOARD_GOOGLE_VOXEL
|
config BOARD_GOOGLE_VOXEL
|
||||||
bool "-> Voxel"
|
bool "-> Voxel"
|
||||||
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
||||||
select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR
|
select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR
|
||||||
select PCIEXP_HOTPLUG
|
select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
|
||||||
|
|
||||||
config BOARD_GOOGLE_ELEMI
|
config BOARD_GOOGLE_ELEMI
|
||||||
bool "-> Elemi"
|
bool "-> Elemi"
|
||||||
@@ -84,12 +84,12 @@ config BOARD_GOOGLE_DROBIT
|
|||||||
bool "-> Drobit"
|
bool "-> Drobit"
|
||||||
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
||||||
select DRIVERS_GENESYSLOGIC_GL9755
|
select DRIVERS_GENESYSLOGIC_GL9755
|
||||||
select PCIEXP_HOTPLUG
|
select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
|
||||||
|
|
||||||
config BOARD_GOOGLE_COPANO
|
config BOARD_GOOGLE_COPANO
|
||||||
bool "-> Copano"
|
bool "-> Copano"
|
||||||
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
||||||
select PCIEXP_HOTPLUG
|
select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
|
||||||
|
|
||||||
config BOARD_GOOGLE_COLLIS
|
config BOARD_GOOGLE_COLLIS
|
||||||
bool "-> Collis"
|
bool "-> Collis"
|
||||||
|
Reference in New Issue
Block a user