Topics

[PATCH edk2-platforms v2 0/7] NXP: Add PCIe Support for LX2160aRdbPkg

Wasim Khan <wasim.khan@...>
 

From: Wasim Khan <wasim.khan@...>

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

Leif Lindholm
 

On Mon, Jun 29, 2020 at 12:14:59 +0530, Wasim Khan wrote:
From: Wasim Khan <wasim.khan@...>

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
Thanks!
For the series:
Reviewed-by: Leif Lindholm <leif@...>
Pushed as b716f363e752..b9fba411178f.

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