From: Wasim Khan <wasim.k...@nxp.com> LX2160-Rev1 and LX2160-Rev2 has different PCIe controller. This patch series adds PCIe support for LX2160aRdbPkg which includes - Add PCIe space in VirtualMemoryMap - Platform driver to check SoC version and sets PCDs for PCIe controller, which are used by PciHostBridgeLib and PciSegmentLib. PciHostBridgeLib and PciSegmentLib already has support for both PCIe controllers. - Enable NetworkPkg for LX2160aRdbPkg Platform.
Changes in V2: - Addressed review comments on V1 V1 series can be referred here: https://edk2.groups.io/g/devel/message/61062 Wasim Khan (7): Silicon/NXP: LX2160A: Define PCIe related PCDs Platform/NXP: LX2160aRdbPkg: Add PCIe space in VirtualMemoryMap 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 ++++++++ Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.inf | 2 + Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 1 + Silicon/NXP/Include/Pcie.h | 1 + Silicon/NXP/LX2160A/Include/Soc.h | 3 + Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/PlatformDxe.c | 97 ++++++++++++++++++++ Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPlatformLibMem.c | 11 ++- Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.c | 6 +- 12 files changed, 198 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 (#61795): https://edk2.groups.io/g/devel/message/61795 Mute This Topic: https://groups.io/mt/75189886/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-