diff options
-rw-r--r-- | src/device/pci_rom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c index 3160c2041b..7322e57f45 100644 --- a/src/device/pci_rom.c +++ b/src/device/pci_rom.c @@ -77,6 +77,8 @@ struct rom_header *pci_rom_probe(struct device *dev) rom_address|PCI_ROM_ADDRESS_ENABLE); } + rom_address &= PCI_ROM_ADDRESS_MASK; + printk(BIOS_DEBUG, "Option ROM address for %s = %lx\n", dev_path(dev), (unsigned long)rom_address); rom_header = (struct rom_header *)rom_address; |