soc/amd/cezanne/pcie_gpp: replace PCI ID list with single PCI ID
Since all bridges to the internal buses have the same PCI ID, we can just add this one ID to the pci_driver struct and don't need to use a list of PCI IDs. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ice024b91f49f03995acbd8dfc8b33d3ae3559dde Reviewed-on: https://review.coreboot.org/c/coreboot/+/50804 Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
062c4a17a9
commit
abeececf18
|
@ -12,13 +12,8 @@ static struct device_operations internal_pcie_gpp_ops = {
|
|||
.reset_bus = pci_bus_reset,
|
||||
};
|
||||
|
||||
static const unsigned short pci_device_ids[] = {
|
||||
PCI_DEVICE_ID_AMD_FAM17H_MODEL60H_PCIE_GPP_BUSABC,
|
||||
0
|
||||
};
|
||||
|
||||
static const struct pci_driver internal_pcie_gpp_driver __pci_driver = {
|
||||
.ops = &internal_pcie_gpp_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.devices = pci_device_ids,
|
||||
.device = PCI_DEVICE_ID_AMD_FAM17H_MODEL60H_PCIE_GPP_BUSABC,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue