diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-07-04 13:15:01 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-07-12 09:27:56 +0000 |
commit | 98d19572b175ad44a83614cdf2c57ed0ba94a733 (patch) | |
tree | f7ccc9377ee31c6ca8d139b184ed7cdfa040e930 /src/vendorcode/cavium/bdk/libbdk-arch | |
parent | e2f39e23e8982a239f4ec063d823ad3414e1ba66 (diff) |
device/oprom: Replace uses of dev_find_slot()
The call to dev_find_slot() may return PCI devices that
are disabled or unaccessible, as PCI enumeration does
not remove nodes from all_devices linked list.
Use PCI topology search instead.
Change-Id: I00233177e5572ca79002a7d141cda1b94b966330
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34083
Reviewed-by: Mike Banon <mikebdp2@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/cavium/bdk/libbdk-arch')
0 files changed, 0 insertions, 0 deletions