summaryrefslogtreecommitdiff
path: root/src/arch/x86/acpi.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-06-29 22:34:07 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-02 09:09:22 +0000
commit8c9be4327154ef46ffc96da13f816ffddb77253d (patch)
tree41f60ea52740d9e35179dd7aca7a1c1bacfd0843 /src/arch/x86/acpi.c
parenta19b07fec13e713004e722f439e1ed7bc2e6ebd0 (diff)
downloadcoreboot-8c9be4327154ef46ffc96da13f816ffddb77253d.tar.xz
device/pci_rom: Fix on-board optionrom address
The function pci_rom_probe() may be called multiple times for a device. For cases where CBFS does not contain optionrom file, only the first time probing for the on-board ROM chip worked. PCI_ROM_ADDRESS_ENABLE is set on the first run. Mask out all the reserved bits of PCI_ROM_ADDRESS register to get correct physical address for rom_header. Change-Id: I14374954af09201494bf2f13e5a6e4dc640c05ee Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33908 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Mike Banon <mikebdp2@gmail.com>
Diffstat (limited to 'src/arch/x86/acpi.c')
0 files changed, 0 insertions, 0 deletions