This supersedes the fixes I sent out yesterday^Wtwo days ago and last week. The diffstat speaks for itself. Note that there is a dependency on 'ArmPlatformPkg: implement CpuIo2 protocol driver specific for PCI' which I sent out yesterday, and needs to go into EDK2 mainline
Changes since v1: - re-added missing CpuIoSize PCD definition to the .DSCs - corrected the legacy I/O space, this resides at 0xEFFF0000
Ard Biesheuvel (2): Platforms/AMD/Styx: implement PciHostBridgeLib Platform/AMD/Styx: move to generic PciLib and PciHostBridgeDxe
Platforms/AMD/Styx/Drivers/PciHostBridgeDxe/PciHostBridge.c | 1285 ------------ Platforms/AMD/Styx/Drivers/PciHostBridgeDxe/PciHostBridge.h | 498 ----- Platforms/AMD/Styx/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf | 54 - Platforms/AMD/Styx/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c | 2150 -------------------- Platforms/AMD/Styx/HuskyBoard/HuskyBoard.dsc | 30 +- Platforms/AMD/Styx/HuskyBoard/HuskyBoard.fdf | 6 +- Platforms/AMD/Styx/Library/AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.c | 196 ++ Platforms/AMD/Styx/Library/AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.inf | 55 + Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 30 +- Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf | 6 +- 10 files changed, 305 insertions(+), 4005 deletions(-) delete mode 100644 Platforms/AMD/Styx/Drivers/PciHostBridgeDxe/PciHostBridge.c delete mode 100644 Platforms/AMD/Styx/Drivers/PciHostBridgeDxe/PciHostBridge.h delete mode 100644 Platforms/AMD/Styx/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf delete mode 100644 Platforms/AMD/Styx/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c create mode 100644 Platforms/AMD/Styx/Library/AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.c create mode 100644 Platforms/AMD/Styx/Library/AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.inf