The major features of this patchset include: 1 switching to generic PciHostBridge driver; 2 Change DEBUG log level;
Code can also be found in github: https://github.com/hisilicon/OpenPlatformPkg.git branch: pcihostbridge-v1
Heyi Guo (10): Hisilicon: Enable WARN and INFO debug message Hisilicon/D05/PlatformPciLib: fix misuse of macro Hisilicon/Pci: Move PciPlatform to common directory Hisilicon/PlatformPciLib: add segment for each root bridge Hisilicon: add PciHostBridgeLib Hisilicon: add PciCpuIo2Dxe Hisilicon: add PciSegmentLib for Hi161x Hisilicon/D0x: Switch to generic PciHostBridge driver Hisilicon: remove platform specific PciHostBridge Hisilicon/PlatformPciLib: clear redundant felds in RESOURCE_APPETURE
Ming Huang (3): Hisilicon/Pci: Add two api for PciPlatform driver Hisilicon/Pci: move ATU configuration to PciPlatformLib Hisilicon/Pci: move EnlargeAtuConfig0() to PciPlatformLib
Platform/Hisilicon/D03/D03.dsc | 13 +- Platform/Hisilicon/D03/D03.fdf | 5 +- .../D03/Drivers/PciPlatform/PciPlatform.h | 180 -- .../Library/PlatformPciLib/PlatformPciLib.c | 24 +- Platform/Hisilicon/D05/D05.dsc | 13 +- Platform/Hisilicon/D05/D05.fdf | 5 +- .../Library/PlatformPciLib/PlatformPciLib.c | 66 +- .../PciHostBridgeLib/PciHostBridgeLib.c | 304 +++ .../PciHostBridgeLib/PciHostBridgeLib.inf | 51 + .../Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c | 557 ++++ .../ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf | 48 + .../Drivers/PciHostBridgeDxe/PciHostBridge.c | 1659 ------------ .../Drivers/PciHostBridgeDxe/PciHostBridge.h | 528 ---- .../PciHostBridgeDxe/PciHostBridgeDxe.inf | 74 - .../PciHostBridgeDxe/PciRootBridgeIo.c | 2405 ----------------- .../Drivers/PciPlatform/PciPlatform.c | 45 + .../Drivers/PciPlatform/PciPlatform.inf | 1 + .../Hi161xPciPlatformLib.c | 384 +++ .../Hi161xPciPlatformLib.inf | 42 + .../Hi161xPciSegmentLib.inf | 36 + .../Hi161xPciSegmentLib/PciSegmentLib.c | 1503 ++++++++++ Silicon/Hisilicon/Hisilicon.dsc.inc | 8 +- .../Include/Library/PlatformPciLib.h | 3 +- 23 files changed, 3037 insertions(+), 4917 deletions(-) delete mode 100644 Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.h create mode 100644 Platform/Hisilicon/Library/PciHostBridgeLib/PciHostBridgeLib.c create mode 100644 Platform/Hisilicon/Library/PciHostBridgeLib/PciHostBridgeLib.inf create mode 100644 Silicon/Hisilicon/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c create mode 100644 Silicon/Hisilicon/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c rename {Platform/Hisilicon/D03 => Silicon/Hisilicon}/Drivers/PciPlatform/PciPlatform.c (89%) rename {Platform/Hisilicon/D03 => Silicon/Hisilicon}/Drivers/PciPlatform/PciPlatform.inf (94%) create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciPlatformLib/Hi161xPciPlatformLib.c create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciPlatformLib/Hi161xPciPlatformLib.inf create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciSegmentLib/Hi161xPciSegmentLib.inf create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciSegmentLib/PciSegmentLib.c