From 6dbded495e2c3bbaac68a96cff78551ceb945e7c Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 12 Oct 2022 23:28:19 +0200 Subject: mb/google/kahlee/*/devicetree: disable unused PCIe root ports Disable the unused PCIe root ports that are disabled in the PCIe port corresponding descriptor list passed to AGESA/binaryPI. This descriptor list is in src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c and it only has B0D2F2 (gpp_bridge_1) and B0D2F4 (gpp_bridge_3) enabled. Since the PCIe engines marked as unused in the port descriptor list won't show up as PCI devices, don't enable those PCI devices in the devicetree so that coreboot won't complain about static PCI devices not being found on the PCI bus. Signed-off-by: Felix Held Change-Id: If8378e343a2eb13de66171cf4f38d77ae3401016 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68382 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/mainboard/google/kahlee/variants/aleena/devicetree.cb | 5 +---- src/mainboard/google/kahlee/variants/careena/devicetree.cb | 5 +---- src/mainboard/google/kahlee/variants/grunt/devicetree.cb | 5 +---- src/mainboard/google/kahlee/variants/liara/devicetree.cb | 5 +---- src/mainboard/google/kahlee/variants/nuwani/devicetree.cb | 5 +---- src/mainboard/google/kahlee/variants/treeya/devicetree.cb | 5 +---- 6 files changed, 6 insertions(+), 24 deletions(-) (limited to 'src/mainboard/google/kahlee') diff --git a/src/mainboard/google/kahlee/variants/aleena/devicetree.cb b/src/mainboard/google/kahlee/variants/aleena/devicetree.cb index b294177460..42c40170f0 100644 --- a/src/mainboard/google/kahlee/variants/aleena/devicetree.cb +++ b/src/mainboard/google/kahlee/variants/aleena/devicetree.cb @@ -48,16 +48,13 @@ chip soc/amd/stoneyridge device ref iommu off end # IOMMU (Disabled for performance and battery) device ref gfx on end device ref gfx_hda on end - device ref gpp_bridge_0 on end - device ref gpp_bridge_1 on end - device ref gpp_bridge_2 on end + device ref gpp_bridge_1 on end # WLAN device ref gpp_bridge_3 on chip drivers/generic/bayhub register "power_saving" = "1" device pci 00.0 on end end end - device ref gpp_bridge_4 on end device ref hda_bridge on end device ref hda on end device ref xhci on end diff --git a/src/mainboard/google/kahlee/variants/careena/devicetree.cb b/src/mainboard/google/kahlee/variants/careena/devicetree.cb index 94c568b7f6..ece74038b7 100644 --- a/src/mainboard/google/kahlee/variants/careena/devicetree.cb +++ b/src/mainboard/google/kahlee/variants/careena/devicetree.cb @@ -48,16 +48,13 @@ chip soc/amd/stoneyridge device ref iommu off end # IOMMU (Disabled for performance and battery) device ref gfx on end device ref gfx_hda on end - device ref gpp_bridge_0 on end - device ref gpp_bridge_1 on end - device ref gpp_bridge_2 on end + device ref gpp_bridge_1 on end # WLAN device ref gpp_bridge_3 on chip drivers/generic/bayhub register "power_saving" = "1" device pci 00.0 on end end end - device ref gpp_bridge_4 on end device ref hda_bridge on end device ref hda on end device ref xhci on end diff --git a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb index c1403d59ea..a230e00ca7 100644 --- a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb +++ b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb @@ -48,16 +48,13 @@ chip soc/amd/stoneyridge device ref iommu off end # IOMMU (Disabled for performance and battery) device ref gfx on end device ref gfx_hda on end - device ref gpp_bridge_0 on end - device ref gpp_bridge_1 on end - device ref gpp_bridge_2 on end + device ref gpp_bridge_1 on end # WLAN device ref gpp_bridge_3 on chip drivers/generic/bayhub register "power_saving" = "1" device pci 00.0 on end end end - device ref gpp_bridge_4 on end device ref hda_bridge on end device ref hda on end device ref xhci on end diff --git a/src/mainboard/google/kahlee/variants/liara/devicetree.cb b/src/mainboard/google/kahlee/variants/liara/devicetree.cb index 50402f01eb..34c3fdeefc 100644 --- a/src/mainboard/google/kahlee/variants/liara/devicetree.cb +++ b/src/mainboard/google/kahlee/variants/liara/devicetree.cb @@ -47,16 +47,13 @@ chip soc/amd/stoneyridge device ref iommu off end # IOMMU (Disabled for performance and battery) device ref gfx on end device ref gfx_hda on end - device ref gpp_bridge_0 on end - device ref gpp_bridge_1 on end - device ref gpp_bridge_2 on end + device ref gpp_bridge_1 on end # WLAN device ref gpp_bridge_3 on chip drivers/generic/bayhub register "power_saving" = "1" device pci 00.0 on end end end - device ref gpp_bridge_4 on end device ref hda_bridge on end device ref hda on end device ref xhci on end diff --git a/src/mainboard/google/kahlee/variants/nuwani/devicetree.cb b/src/mainboard/google/kahlee/variants/nuwani/devicetree.cb index c329aba167..894eb9df10 100644 --- a/src/mainboard/google/kahlee/variants/nuwani/devicetree.cb +++ b/src/mainboard/google/kahlee/variants/nuwani/devicetree.cb @@ -51,9 +51,7 @@ chip soc/amd/stoneyridge device ref iommu off end # IOMMU (Disabled for performance and battery) device ref gfx on end device ref gfx_hda on end - device ref gpp_bridge_0 on end - device ref gpp_bridge_1 on end - device ref gpp_bridge_2 on end + device ref gpp_bridge_1 on end # WLAN device ref gpp_bridge_3 on chip drivers/generic/bayhub register "power_saving" = "1" @@ -61,7 +59,6 @@ chip soc/amd/stoneyridge device pci 00.0 on end end end - device ref gpp_bridge_4 on end device ref hda_bridge on end device ref hda on end device ref xhci on end diff --git a/src/mainboard/google/kahlee/variants/treeya/devicetree.cb b/src/mainboard/google/kahlee/variants/treeya/devicetree.cb index 45f8089f9b..e2f965a4c2 100644 --- a/src/mainboard/google/kahlee/variants/treeya/devicetree.cb +++ b/src/mainboard/google/kahlee/variants/treeya/devicetree.cb @@ -51,9 +51,7 @@ chip soc/amd/stoneyridge device ref iommu off end # IOMMU (Disabled for performance and battery) device ref gfx on end device ref gfx_hda on end - device ref gpp_bridge_0 on end - device ref gpp_bridge_1 on end - device ref gpp_bridge_2 on end + device ref gpp_bridge_1 on end # WLAN device ref gpp_bridge_3 on chip drivers/generic/bayhub register "power_saving" = "1" @@ -61,7 +59,6 @@ chip soc/amd/stoneyridge device pci 00.0 on end end end - device ref gpp_bridge_4 on end device ref hda_bridge on end device ref hda on end device ref xhci on end -- cgit v1.2.3