[U-Boot] [PATCH 06/10] x86: pci: Don't stop when we get a vendor/device mismatch
Bin Meng
bmeng.cn at gmail.com
Sun Jan 4 06:51:35 CET 2015
On Tue, Dec 30, 2014 at 10:32 AM, Simon Glass <sjg at chromium.org> wrote:
> These are quite common and we may as well press on and not be so picky.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> drivers/pci/pci_rom.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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",
> --
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list