projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some ifdef --> if fixes
[coreboot.git]
/
src
/
devices
/
pci_rom.c
diff --git
a/src/devices/pci_rom.c
b/src/devices/pci_rom.c
index e721eb5751c023b2749db57a99d73464ba77cedc..56712df5c5c3c1fc5697fcc55e3d97621c7995bd 100644
(file)
--- a/
src/devices/pci_rom.c
+++ b/
src/devices/pci_rom.c
@@
-46,7
+46,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) {
rom_address = pci_read_config32(dev, PCI_ROM_ADDRESS);
if (rom_address == 0x00000000 || rom_address == 0xffffffff) {
-#if
defined(CONFIG_BOARD_EMULATION_QEMU_X86) &&
CONFIG_BOARD_EMULATION_QEMU_X86
+#if CONFIG_BOARD_EMULATION_QEMU_X86
if ((dev->class >> 8) == PCI_CLASS_DISPLAY_VGA)
rom_address = 0xc0000;
else
if ((dev->class >> 8) == PCI_CLASS_DISPLAY_VGA)
rom_address = 0xc0000;
else