From: Wasim Khan <wasim.k...@nxp.com> This patch series adds PCIe support for LX2160aRdbPkg. LX2160-Rev1 and LX2160-Rev2 has different PCIe controller. Platform driver checks the SoC version and enable corresponding PCIe controller and its feature using dynamic PCDs.
PciHostBridgeLib and PciSegmentLib already has support for both PCIe controllers. This patch series dependes on below patch series: 1 - Silicon/NXP: LX2160A: Add SerDes Support 2 - Silicon/NXP: Add SVR and DEVDISRn config configuration Wasim Khan (7): Platform/NXP: LX2160aRdbPkg: Add PCIe space in VirtualMemoryMap Silicon/NXP: LX2160A: Define PCIe related PCDs Platform/NXP: LX2160aRdbPkg: Add PlatformDxe driver Platform/NXP: LX2160aRdbPkg: Enable PlatformDxe driver Platform/NXP: LX2160aRdbPkg: Hide Root Port for LX2160A-Rev2 Platform/NXP: LX2160aRdbPkg: Enable NetworkPkg Platform/NXP: LX2160aRdbPkg: Enable PCIE support Silicon/NXP/NxpQoriqLs.dec | 1 + Silicon/NXP/LX2160A/LX2160A.dsc.inc | 5 + Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc | 22 +++++ Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.fdf | 15 +++ Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/PlatformDxe.inf | 36 ++++++++ Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 1 + Silicon/NXP/Include/Pcie.h | 1 + Silicon/NXP/LX2160A/Include/Soc.h | 8 ++ Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/PlatformDxe.c | 96 ++++++++++++++++++++ Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPlatformLibMem.c | 38 +++++++- Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.c | 6 +- 11 files changed, 227 insertions(+), 2 deletions(-) create mode 100644 Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/PlatformDxe.inf create mode 100644 Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/PlatformDxe.c -- 2.7.4 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#61062): https://edk2.groups.io/g/devel/message/61062 Mute This Topic: https://groups.io/mt/74793019/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-