coreboot/src/device
Jianjun Wang 777ffff442 device/pci_device.c: Scan only one device for PCIe
Only scan one device if it's a PCIe downstream port.

A PCIe downstream port normally leads to a link with only device 0 on
it. As an optimization, scan only for device 0 in that case.

Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com>
Change-Id: Id184d03b33e1742b18efb3f11aa9b2f81fa03806
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56788
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
2021-11-29 03:19:51 +00:00
..
dram arch/x86: Refactor the SMBIOS type 17 write function 2021-11-11 09:10:10 +00:00
oprom src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
azalia_device.c device/azalia_device: Drop unused function parameter 2021-11-11 22:45:04 +00:00
cardbus_device.c
cpu_device.c
device.c
device_const.c device: Drop unused function dev_find_matching_device_on_bus 2021-09-24 21:20:07 +00:00
device_util.c Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
gpio.c
i2c.c
i2c_bus.c
Kconfig Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
Makefile.inc device/mipi: Move to drivers/mipi 2021-08-26 15:18:45 +00:00
mmio.c device/mmio: Make buffer_to_fifo32() take a const buffer 2021-09-20 12:07:51 +00:00
pci_class.c
pci_device.c device/pci_device.c: Scan only one device for PCIe 2021-11-29 03:19:51 +00:00
pci_early.c src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
pci_ops.c Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
pci_rom.c device/pci_rom: Add vga_oprom_preload 2021-11-15 16:16:02 +00:00
pciexp_device.c
pcix_device.c
pnp_device.c src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
resource_allocator_common.c
resource_allocator_v3.c
resource_allocator_v4.c src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
root_device.c
smbus_ops.c
software_i2c.c
xhci.c