[U-Boot] [PATCH] cmd_pci: Check for VendorID earlier

Fabio Estevam festevam at gmail.com
Fri Oct 9 14:52:40 CEST 2015


On Fri, Oct 9, 2015 at 6:36 AM, Simon Glass <sjg at chromium.org> wrote:

> This seems really odd to me. Why would pci_read_config_word() return
> an error if there is no device there? Is that the real bug here?

Looks like the expected behaviour: It tried to scan all the PCI
elements in the bus and it failed to read when there is no more PCI
device.

Regards,

Fabio Estevam


More information about the U-Boot mailing list