X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=DuetPkg%2FPciBusNoEnumerationDxe%2FPciOptionRomSupport.c;h=a863475061b2a3db719fba0914cf1fc9b9286ab7;hp=02815c76d38d3f0462afdf8793f9c6dd76a56266;hb=bc14bdb317105f282ca5e6543e97ae545dd681df;hpb=efe08f48c555f56f16b568098e4d7047ce1e7e84 diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciOptionRomSupport.c b/DuetPkg/PciBusNoEnumerationDxe/PciOptionRomSupport.c index 02815c76d3..a863475061 100644 --- a/DuetPkg/PciBusNoEnumerationDxe/PciOptionRomSupport.c +++ b/DuetPkg/PciBusNoEnumerationDxe/PciOptionRomSupport.c @@ -68,7 +68,7 @@ Returns: // // 0x30 // - RomBarIndex = PCI_DEVICE_ROMBAR; + RomBarIndex = PCI_EXPANSION_ROM_BASE; if (IS_PCI_BRIDGE (&PciIoDevice->Pci)) { // @@ -174,7 +174,7 @@ Returns: // // 0x30 // - RomBarIndex = PCI_DEVICE_ROMBAR; + RomBarIndex = PCI_EXPANSION_ROM_BASE; if (IS_PCI_BRIDGE (&(PciDevice->Pci))) { // // if is ppb