diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-03-08 15:38:01 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-03-09 20:57:40 +0000 |
commit | 42f0396a1028fa2a81a73ff6ced36585ffe219b0 (patch) | |
tree | d0ed3072353d82730927346b077a3ad5b4d31376 /src/mainboard/facebook | |
parent | dd40122fd611cd53f87a47ae67ed703217e753a6 (diff) |
device/pci_rom: rework PCI ID remapping in pci_rom_probe
Only call cbfs_boot_map_optionrom/cbfs_boot_map_optionrom_revision once
and pass the already remapped PCI ID to it. This avoids the spurious
warning that the CBFS file wasn't found from the first
cbfs_boot_map_optionrom call in cases where the PCI ID needs to be
remapped to get the right ID for which a file in CBFS exists.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: If7da78c69dd702280a78996a5823972516e0319b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73612
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/facebook')
0 files changed, 0 insertions, 0 deletions