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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Simon Glass 2014-12-29 19:32:27 -07:00
parent 222f25f855
commit c5caba0366
1 changed files with 1 additions and 1 deletions

View 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",