From: Simon Glass Date: Tue, 30 Dec 2014 02:32:27 +0000 (-0700) Subject: x86: pci: Don't stop when we get a vendor/device mismatch X-Git-Tag: v2015.04-rc1~37^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c5caba03665b0491832ca4c38209d71ff28bf593;p=platform%2Fkernel%2Fu-boot.git x86: pci: Don't stop when we get a vendor/device mismatch These are quite common and we may as well press on and not be so picky. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index 124b730..a16e99f 100644 --- a/drivers/pci/pci_rom.c +++ b/drivers/pci/pci_rom.c @@ -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",