diff options
author | Simon Glass <sjg@chromium.org> | 2014-12-29 19:32:27 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-23 17:24:16 -0700 |
commit | c5caba03665b0491832ca4c38209d71ff28bf593 (patch) | |
tree | 5f9761393593f4166b8976da4f2053141a516660 /drivers/pci | |
parent | 222f25f85503f19acb9cb7ff138d3fe5215c3ad9 (diff) |
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci_rom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index 124b730271d..a16e99f1dad 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", |