]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_pci.c
pci: Honour pci_skip_dev()
[people/ms/u-boot.git] / common / cmd_pci.c
index 5a6048c9260476300d8ab79ca1ef6cb8efa7cfb6..e3a77e35820cbda7c663f2b737c187ed0f9e2227 100644 (file)
@@ -71,6 +71,9 @@ void pciinfo(int BusNum, int ShortPCIListing)
 
                        dev = PCI_BDF(BusNum, Device, Function);
 
+                       if (pci_skip_dev(hose, dev))
+                               continue;
+
                        pci_read_config_word(dev, PCI_VENDOR_ID, &VendorID);
                        if ((VendorID == 0xFFFF) || (VendorID == 0x0000))
                                continue;