]> git.proxmox.com Git - mirror_edk2.git/commit
UefiPayloadPkg: Return PciRootBridges instead of NULL
authorKavya <k.kavyax.sravanthi@intel.com>
Mon, 22 Aug 2022 13:19:30 +0000 (18:49 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 23 Aug 2022 01:04:17 +0000 (01:04 +0000)
commit2bb002067565fcf16641dfc9ba9d0f68e17bfc8f
tree774e4458fd4c9a7331305b90c82673139c20c1a2
parentd5fd86f256b9ab5b4e3aff70d3c177c18faea892
UefiPayloadPkg: Return PciRootBridges instead of NULL

Return PciRootBridges instead of NULL and set
PcdPciDisableBusEnumeration to FALSE when
root bridge count is zero.

Reviewed-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Gua Guo <gua.guo@intel.com>
Signed-off-by: Kavya <k.kavyax.sravanthi@intel.com>
UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeSupport.c