coreboot-kgpe-d16/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 src: Never set ISA Enable on PCI bridges 2020-07-28 10:54:02 +00:00
cpu_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
device.c device: Add helper function devfn_disable() 2021-06-17 06:48:45 +00:00
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 device + util/sconfig: introduce new device gpio 2020-12-28 17:47:04 +00:00
i2c.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c_bus.c device/i2c_bus.c: Correct code style 2021-04-06 07:02:47 +00:00
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 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
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 pciexp_device: Rewrite LTR configuration 2021-03-15 06:04:38 +00:00
pcix_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pnp_device.c src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
resource_allocator_common.c src/device: Remove unused <console/console.h> 2021-02-15 10:48:28 +00:00
resource_allocator_v3.c device/resource_allocator_v3: Do not set IORESOURCE_ASSIGNED for size 0 resource 2020-05-26 15:15:54 +00:00
resource_allocator_v4.c src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
root_device.c device: Export enable_static_device() function 2020-10-21 15:35:24 +00:00
smbus_ops.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
software_i2c.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci.c device/xhci.c: Remove repeated word 2021-01-18 07:33:25 +00:00