diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-10-12 23:28:19 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-14 00:07:53 +0000 |
commit | 6dbded495e2c3bbaac68a96cff78551ceb945e7c (patch) | |
tree | 20a2653f6a3aae10c93e5351a0cd058824012da8 /src/mainboard/google/kahlee | |
parent | 2c341c1fea61bc1c5e2e0bf46928ed4907ce18f0 (diff) |
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 <felix-coreboot@felixheld.de>
Change-Id: If8378e343a2eb13de66171cf4f38d77ae3401016
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68382
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/kahlee')
6 files changed, 6 insertions, 24 deletions
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 |