diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index b2909a325ac3773f17549dda02d42988c04f564d..28ea8c5d4eea8bd3fb2b8099be2c6c73c7af68f6 100644 --- a/drivers/pci/pci-uclass.c +++ b/drivers/pci/pci-uclass.c @@ -745,6 +745,8 @@ int pci_bind_bus_devices(struct udevice *bus) struct udevice *dev; ulong class; + if (!PCI_FUNC(bdf)) + found_multi = false; if (PCI_FUNC(bdf) && !found_multi) continue; /* Check only the first access, we don't expect problems */