u-boot/drivers/pci
Marek Behún 60ee60944b 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>
2019-07-12 21:07:58 -04:00
..
fsl_pci_init.c FSL PCI: Configure PCIe reference ratio 2018-08-08 08:23:48 -07:00
Kconfig dm: pci: add Freescale PowerPC PCIe driver 2019-06-20 10:44:45 +05:30
Makefile dm: pci: add Freescale PowerPC PCIe driver 2019-06-20 10:44:45 +05:30
pci_auto_common.c pci: Avoid assigning PCI resources that are below 0x1000 2019-06-21 10:07:11 -04:00
pci_auto_old.c mpc83xx: Make distinct caddy2 config 2019-05-20 13:50:34 +02:00
pci_auto.c mpc83xx: Make distinct caddy2 config 2019-05-20 13:50:34 +02:00
pci_common.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_compat.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_ftpci100.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_gt64120.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_indirect.c pci: Don't use pci_indirect when DM is active 2018-05-08 18:50:23 -04:00
pci_internal.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_msc01.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_mvebu.c pci: pci_mvebu: Add comment about missing of_n_addr_cells() call 2019-03-19 09:22:05 +01:00
pci_rom.c x86: Support PCI VGA ROM when TPL is used 2019-05-08 13:02:16 +08:00
pci_sandbox.c Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
pci_sh4.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_sh7751.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_sh7780.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_tegra.c pci: tegra: introduce weak tegra_pcie_board_port_reset() function 2018-05-10 16:34:21 -07:00
pci_x86.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci-aardvark.c Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR 2018-04-27 14:54:48 -04:00
pci-emul-uclass.c pci: sandbox: emul: Rename priv structure 2018-08-08 12:49:31 +01:00
pci-rcar-gen2.c pci: rmobile: Filter out device 1 and 2 2018-08-28 11:01:52 +02:00
pci-rcar-gen3.c pci: renesas: Add RCar Gen3 PCIe controller driver 2019-05-21 22:15:31 +02:00
pci-uclass.c pci: ensure enumeration of all devices in pci_init 2019-07-12 21:07:58 -04:00
pci.c pci: Don't export pci_hose_config_device() 2019-02-20 15:21:44 +08:00
pcie_dw_mvebu.c pcie: designware: mvebu: fix reset release polarity 2019-02-11 09:39:12 +01:00
pcie_ecam_generic.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pcie_fsl_fixup.c dm: pci: add Freescale PowerPC PCIe driver 2019-06-20 10:44:45 +05:30
pcie_fsl.c dm: pci: add Freescale PowerPC PCIe driver 2019-06-20 10:44:45 +05:30
pcie_fsl.h dm: pci: add Freescale PowerPC PCIe driver 2019-06-20 10:44:45 +05:30
pcie_imx.c pci: imx: Add DM and DT support 2019-06-11 10:42:48 +02:00
pcie_intel_fpga.c pci: intel: Add Intel FPGA PCIe controller driver 2018-05-08 09:07:35 -04:00
pcie_layerscape_fixup.c pci: layerscape: Add the dts fixup for EP and RC 2019-01-17 13:17:40 -08:00
pcie_layerscape_gen4_fixup.c pci: ls_pcie_g4: add device tree fixups for PCI Stream IDs 2019-05-22 12:24:24 +05:30
pcie_layerscape_gen4.c pci: ls_pcie_g4: add device tree fixups for PCI Stream IDs 2019-05-22 12:24:24 +05:30
pcie_layerscape_gen4.h pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs 2019-05-22 12:24:24 +05:30
pcie_layerscape.c pci: layerscape: Do not scan when PEX work in EP mode 2019-01-17 13:17:33 -08:00
pcie_layerscape.h pci: layerscape: Modify the EP and RC mode judge method 2019-01-17 13:17:28 -08:00
pcie_xilinx.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00