summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-03-01 14:46:38 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-03 10:16:09 +0000
commitd615230cced8238029d579411d8ee69f68c7ec5f (patch)
tree83e28c70af4e749a066c00ec0497294f32011d9c /src/device
parent632e2414687f2c58025c27f2d0dac0eba8205fda (diff)
treewide: Replace BOARD_EMULATION_QEMU_X86
It is equivalent to the CPU_QEMU_X86 symbol. Change-Id: Ic16233e3d80bab62cc97fd075bdcca1780a6a2b5 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39182 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/pci_rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c
index 3676f9cf9b..816255d5e1 100644
--- a/src/device/pci_rom.c
+++ b/src/device/pci_rom.c
@@ -59,7 +59,7 @@ struct rom_header *pci_rom_probe(struct device *dev)
rom_address = pci_read_config32(dev, PCI_ROM_ADDRESS);
if (rom_address == 0x00000000 || rom_address == 0xffffffff) {
-#if CONFIG(BOARD_EMULATION_QEMU_X86)
+#if CONFIG(CPU_QEMU_X86)
if ((dev->class >> 8) == PCI_CLASS_DISPLAY_VGA)
rom_address = 0xc0000;
else