u-boot/drivers/pci
Michal Suchanek 5afe93a18c dm: pci: Fix device PCI iteration
When there is no PCI bus uclass_first_device will return no bus and no
error which will result in pci_find_first_device calling
skip_to_next_device with no bus, and the bus is only checked at the end
of the while cycle, not the beginning.

Fixes: 76c3fbcd3d ("dm: pci: Add a way to iterate through all PCI devices")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-10-17 21:17:12 -06:00
..
Kconfig pci: pci_mvebu: Add support for reset-gpios 2022-08-09 08:58:27 +02:00
Makefile pci: Remove pci_sh4 and related defines. 2022-07-05 17:04:59 -04:00
pci-aardvark.c pci: Add defines for normal and subtractive PCI bridges 2022-03-25 13:35:50 -04:00
pci-emul-uclass.c
pci-rcar-gen2.c
pci-rcar-gen3.c pci: Add defines for normal and subtractive PCI bridges 2022-03-25 13:35:50 -04:00
pci-uclass.c dm: pci: Fix device PCI iteration 2022-10-17 21:17:12 -06:00
pci_auto.c pci: Work around PCIe link training failures 2022-01-14 12:26:42 -05:00
pci_auto_common.c pci: Fix printf format for regions 2021-10-14 19:45:07 -04:00
pci_common.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pci_compat.c
pci_gt64120.c pci: gt64120: Use PCI_CONF1_ADDRESS() macro 2022-01-12 14:21:24 -05:00
pci_internal.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pci_mpc85xx.c powerpc: Remove unused MPC8540/60ADS code 2022-03-03 16:51:19 -05:00
pci_msc01.c pci: msc01: Use PCI_CONF1_ADDRESS() macro 2022-01-12 14:21:24 -05:00
pci_mvebu.c dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
pci_octeontx.c pci: pci_octeontx: Use PCIE_ECAM_OFFSET() macro 2022-01-12 14:21:24 -05:00
pci_rom.c video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
pci_sandbox.c
pci_sh7751.c pci: sh7751: Fix access to config space via PCI_CONF1_ADDRESS() macro 2022-01-12 14:21:24 -05:00
pci_sh7780.c pci: sh7780: Use PCI_CONF1_ADDRESS() macro 2022-01-12 14:21:24 -05:00
pci_tegra.c dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
pci_x86.c
pcie_brcmstb.c pci: pcie-brcmstb: Use PCIE_ECAM_OFFSET() macro 2022-01-12 14:21:24 -05:00
pcie_dw_common.c
pcie_dw_common.h
pcie_dw_meson.c pci: pcie_dw_meson: fix usb fail when pci link fails to go up 2021-10-07 10:14:50 +02:00
pcie_dw_mvebu.c pci: Add defines for normal and subtractive PCI bridges 2022-03-25 13:35:50 -04:00
pcie_dw_rockchip.c
pcie_dw_sifive.c
pcie_dw_ti.c
pcie_ecam_generic.c RFC: arm: pci: Add PCI cam support to PCI-E ecam driver 2021-11-17 17:09:47 -05:00
pcie_ecam_synquacer.c pci: Add standard PCIe ECAM macros 2021-11-17 17:04:58 -05:00
pcie_fsl.c pci: fsl: Change compatible string for mpc8548 to "fsl, mpc8548-pcie" 2022-04-26 17:18:39 +05:30
pcie_fsl.h
pcie_fsl_fixup.c
pcie_imx.c pci: imx: remove weak overrides no longer used 2022-04-21 14:38:03 +02:00
pcie_intel_fpga.c
pcie_iproc.c pci: Add defines for normal and subtractive PCI bridges 2022-03-25 13:35:50 -04:00
pcie_layerscape.c
pcie_layerscape.h
pcie_layerscape_ep.c
pcie_layerscape_fixup.c pci: layerscape: update the searching compatible of LX2160A PCIe 2022-02-01 15:08:07 +05:30
pcie_layerscape_fixup_common.c fdt_support: Add fdt_for_each_node_by_compatible() helper macro 2022-01-20 11:35:29 +01:00
pcie_layerscape_fixup_common.h
pcie_layerscape_gen4.c pci: layerscape: Fix the LUT and msi-map mismatch issue 2021-11-09 17:18:23 +05:30
pcie_layerscape_gen4.h
pcie_layerscape_gen4_fixup.c fdt_support: Remove FDT_STATUS_FAIL_ERROR_CODE 2021-12-19 09:50:47 +01:00
pcie_layerscape_rc.c pci: layerscape: Fix the LUT and msi-map mismatch issue 2021-11-09 17:18:23 +05:30
pcie_mediatek.c dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
pcie_octeon.c
pcie_phytium.c pci: Add standard PCIe ECAM macros 2021-11-17 17:04:58 -05:00
pcie_rockchip.c pci: Add defines for normal and subtractive PCI bridges 2022-03-25 13:35:50 -04:00
pcie_uniphier.c
pcie_xilinx.c pci: Add standard PCIe ECAM macros 2021-11-17 17:04:58 -05:00