Hi Fabio, On 9 October 2015 at 13:52, Fabio Estevam <feste...@gmail.com> wrote: > On Fri, Oct 9, 2015 at 6:36 AM, Simon Glass <s...@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.
I'm just surprised that it is failing when there is nothing there. I think it should succeed (and read 0xffff). What board is this? Can you find the code that is returning this error? It may be a call to pci_set_ops() which sets read_word(). Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot