summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2019-05-21 13:04:31 +0300
committerTom Rini <trini@konsulko.com>2019-07-13 04:07:58 +0300
commit60ee60944bd80c76939e90b8a39430e05b9059a8 (patch)
tree38ad516d6e3e053e275edc6dc9df2cc030cacfb6 /test
parent26eff4573747050518863b5c8ba777dc0202d7c3 (diff)
downloadu-boot-60ee60944bd80c76939e90b8a39430e05b9059a8.tar.xz
pci: ensure enumeration of all devices in pci_init
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@nic.cz> Cc: Stefan Roese <sr@denx.de> Cc: Anton Schubert <anton.schubert@gmx.de> Cc: Dirk Eibach <dirk.eibach@gdsys.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Chris Packham <chris.packham@alliedtelesis.co.nz> Cc: Phil Sutter <phil@nwl.cc> Cc: VlaoMao <vlaomao@gmail.com> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions