]> xenbits.xensource.com Git - osstest/seabios.git/commit
optionroms: Don't run option rom on PCI bar if CBFS/fw_cfg version exists
authorKevin O'Connor <kevin@koconnor.net>
Mon, 10 Aug 2015 19:37:13 +0000 (15:37 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 12 Aug 2015 15:19:04 +0000 (11:19 -0400)
commiteeca36c7e9aec2340102d943e9d5e31ddc4abd2f
treecbfba4ade210fba9ab50db885c0c3ae95889d764
parentfd318e4cdc47dec763411e1467e542939e6b7d86
optionroms: Don't run option rom on PCI bar if CBFS/fw_cfg version exists

If there exists a "pci%04x,%04x.rom" file in CBFS/fw_cfg then the code
should not attempt to run a rom found on the PCI device itself - even
if the one in CBFS/fw_cfg is not a valid rom.  This makes the code
match the documentation.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/optionroms.c