]> git.ipfire.org Git - thirdparty/u-boot.git/commit
pci: skip unnecessary PCIe scanning
authorGeorge McCollister <george.mccollister@konsulko.com>
Fri, 30 Jan 2026 15:38:01 +0000 (09:38 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 4 Feb 2026 16:40:28 +0000 (10:40 -0600)
commitfbde868ba4aa05d6f04d4969a63e86607f725f59
treeb421ff70aa996ae2660aaeddaeeeda9d8d4f8818
parent6cdd7597a2fbfc1572c1b0af23d3daf1cefa2de7
pci: skip unnecessary PCIe scanning

Use the same mechanism as the Linux kernel to skip unnecessary (and in
the case of the J722S, errant) scanning of direct children of root
ports, downstream ports or bridges.

Based on Linux PCI code in the following files as of b927546677c8:
  drivers/pci/probe.c
  drivers/pci/pci.h
  include/linux/pci.h

Signed-off-by: George McCollister <george.mccollister@konsulko.com>
Tested-by: Bryan Brattlof <bb@ti.com>
drivers/pci/pci-uclass.c