]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.c
Rollback the enhancement of Pcibus in r4844 for more investigation.
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / PciResourceSupport.c
index 563f229c7f59af37191b1dc3efd02d70349b7b9b..9e094d1f8e90fcf842395fee064e35053ba3dc0e 100644 (file)
@@ -593,13 +593,6 @@ CreateResourceNode (
   Node->PciDev        = PciDev;\r
   Node->Length        = Length;\r
   Node->Alignment     = Alignment;\r
-  if(((ResType == PciBarTypeIo16) || (ResType == PciBarTypeIo32)) && ( Alignment == 0x0FFF))\r
-  {\r
-    if((PciDev->Decodes & EFI_BRIDGE_IOEN1K_DECODE_SUPPORTED) == EFI_BRIDGE_IOEN1K_DECODE_SUPPORTED)\r
-      Node->Alignment = 0x3FF;\r
-    else\r
-      Node->Alignment = 0xFFF;\r
-  }\r
   Node->Bar           = Bar;\r
   Node->ResType       = ResType;\r
   Node->Reserved      = FALSE;\r