MdeModulePkg: Fix OptionROM scanning
The Option ROM scanner can't work as enumeration was done by the first stage bootloader. Running it will disable the ability of the PCIPlatform code to scan for ROMs. Required for the following patch that enables custom Option ROM scanning using gPciPlatformProtocol. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
This commit is contained in:
committed by
Tim Crawford
parent
27585e73da
commit
1966ffb1c3
@@ -2551,10 +2551,12 @@ PciEnumeratorLight (
|
||||
//
|
||||
RemoveRejectedPciDevices (RootBridgeDev->Handle, RootBridgeDev);
|
||||
|
||||
//
|
||||
// Process option rom light
|
||||
//
|
||||
ProcessOptionRomLight (RootBridgeDev);
|
||||
if (!PcdGetBool (PcdPciDisableBusEnumeration)) {
|
||||
//
|
||||
// Process option rom light
|
||||
//
|
||||
ProcessOptionRomLight (RootBridgeDev);
|
||||
}
|
||||
|
||||
//
|
||||
// Determine attributes for all devices under this root bridge
|
||||
|
Reference in New Issue
Block a user