]> git.sur5r.net Git - u-boot/commitdiff
x86: pci: Don't stop when we get a vendor/device mismatch
authorSimon Glass <sjg@chromium.org>
Tue, 30 Dec 2014 02:32:27 +0000 (19:32 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 24 Jan 2015 00:24:16 +0000 (17:24 -0700)
These are quite common and we may as well press on and not be so picky.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci_rom.c

index 124b730271d9aabb939df03c685cf5f4ea5206d2..a16e99f1dada25888fbd9b55cc3d441a7e9fe2a3 100644 (file)
@@ -117,7 +117,7 @@ static int pci_rom_probe(pci_dev_t dev, uint class,
            (vendev == mapped_vendev)) {
                printf("ID mismatch: vendor ID %04x, device ID %04x\n",
                       rom_vendor, rom_device);
-               return -EPERM;
+               /* Continue anyway */
        }
 
        debug("PCI ROM image, Class Code %04x%02x, Code Type %02x\n",