diff options
author | Jianjun Wang <jianjun.wang@mediatek.com> | 2021-07-24 14:50:36 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2021-11-29 03:19:51 +0000 |
commit | 777ffff4421a9ab0961f2284e7448307f3c5154f (patch) | |
tree | f6108138ca5fe3f73025a2a8374c0588a386673b /src/soc/cavium/common | |
parent | 60df92fdce147b56ba5e830f962435589dbd258b (diff) |
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>
Diffstat (limited to 'src/soc/cavium/common')
0 files changed, 0 insertions, 0 deletions