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

Wasim Khan posted 7 patches 3 years, 10 months ago
Failed in applying to current master (apply log)
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
[edk2-devel] [PATCH edk2-platforms v2 0/7] NXP: Add PCIe Support for LX2160aRdbPkg
Posted by Wasim Khan 3 years, 10 months ago
From: Wasim Khan <wasim.khan@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH edk2-platforms v2 0/7] NXP: Add PCIe Support for LX2160aRdbPkg
Posted by Leif Lindholm 3 years, 9 months ago
On Mon, Jun 29, 2020 at 12:14:59 +0530, Wasim Khan wrote:
> From: Wasim Khan <wasim.khan@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

Thanks!
For the series:
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
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
> 

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#62041): https://edk2.groups.io/g/devel/message/62041
Mute This Topic: https://groups.io/mt/75189886/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-