[U-Boot] [PATCH u-boot] pci: ensure enumeration of all devices in pci_init

Tom Rini trini at konsulko.com
Sun Jul 14 13:06:50 UTC 2019


On Tue, May 21, 2019 at 12:04:31PM +0200, Marek BehĂșn 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.behun at nic.cz>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Anton Schubert <anton.schubert at gmx.de>
> Cc: Dirk Eibach <dirk.eibach at gdsys.cc>
> Cc: Mario Six <mario.six at gdsys.cc>
> Cc: Chris Packham <chris.packham at alliedtelesis.co.nz>
> Cc: Phil Sutter <phil at nwl.cc>
> Cc: VlaoMao <vlaomao at gmail.com>
> Cc: Tom Rini <trini at konsulko.com>
> Reviewed-by: Stefan Roese <sr at denx.de>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190714/0a61cd40/attachment.sig>


More information about the U-Boot mailing list