summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-29 19:32:27 -0700
committerSimon Glass <sjg@chromium.org>2015-01-23 17:24:16 -0700
commitc5caba03665b0491832ca4c38209d71ff28bf593 (patch)
tree5f9761393593f4166b8976da4f2053141a516660
parent222f25f85503f19acb9cb7ff138d3fe5215c3ad9 (diff)
downloadu-boot-imx-c5caba03665b0491832ca4c38209d71ff28bf593.zip
u-boot-imx-c5caba03665b0491832ca4c38209d71ff28bf593.tar.gz
u-boot-imx-c5caba03665b0491832ca4c38209d71ff28bf593.tar.bz2
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>
-rw-r--r--drivers/pci/pci_rom.c2
1 files changed, 1 insertions, 1 deletions
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",