tianocore / edk2

EDK II
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
Other
4.38k stars 2.4k forks source link

MdeModulePkg/PciBusDxe: Remove assert when PCI enum is disabled #5862

Open makubacki opened 6 days ago

makubacki commented 6 days ago

Description

When setting PcdPciDisableBusEnumeration to TRUE, an assert is hit in StartPciDevices() due to the root bridge not existing. This is expected when skipping enumeration so change the assert to only trigger if enumeration is not disabled.

How This Was Tested

Integration Instructions