]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c
OvmfPkg/PciHostBridgeLib: remove Bhyve and Xen support
[mirror_edk2.git] / OvmfPkg / Library / PciHostBridgeLib / PciHostBridgeLib.c
index 6db91fb7e20c6e0765dda8044f77fdba08837e5b..835efffccaf596637db3a26ebcfe41336dbb66cd 100644 (file)
@@ -16,8 +16,6 @@
 #include <Protocol/PciHostBridgeResourceAllocation.h> // EFI_PCI_HOST_BRIDGE...\r
 #include <Protocol/PciRootBridgeIo.h>                 // EFI_PCI_ATTRIBUTE_I...\r
 \r
-#include "PciHostBridge.h"\r
-\r
 STATIC PCI_ROOT_BRIDGE_APERTURE mNonExistAperture = { MAX_UINT64, 0 };\r
 \r
 \r
@@ -42,10 +40,6 @@ PciHostBridgeGetRootBridges (
   PCI_ROOT_BRIDGE_APERTURE Mem;\r
   PCI_ROOT_BRIDGE_APERTURE MemAbove4G;\r
 \r
-  if (PcdGetBool (PcdPciDisableBusEnumeration)) {\r
-    return ScanForRootBridges (Count);\r
-  }\r
-\r
   ZeroMem (&Io, sizeof (Io));\r
   ZeroMem (&Mem, sizeof (Mem));\r
   ZeroMem (&MemAbove4G, sizeof (MemAbove4G));\r