On Tue, May 21, 2019 at 6:04 PM Marek Behún <marek.be...@nic.cz> wrote:
>
> Use the uclass_first_device_check and uclass_next_device_check functions
> instead of uclass_first_device and uclass_next_device in pci_init. This
> ensures that all PCI devices are tried to be probed. Currently if a
> device fails to probe, the enumeration stops and the devices which come
> after the failed device are not probed.
>
> Signed-off-by: Marek Behún <marek.be...@nic.cz>
> Cc: Stefan Roese <s...@denx.de>
> Cc: Anton Schubert <anton.schub...@gmx.de>
> Cc: Dirk Eibach <dirk.eib...@gdsys.cc>
> Cc: Mario Six <mario....@gdsys.cc>
> Cc: Chris Packham <chris.pack...@alliedtelesis.co.nz>
> Cc: Phil Sutter <p...@nwl.cc>
> Cc: VlaoMao <vlao...@gmail.com>
> Cc: Tom Rini <tr...@konsulko.com>
> ---
>  drivers/pci/pci-uclass.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to