[edk2-devel] [PATCH edk2-platforms v4 00/24] Add PEI phase to LS1043ARDB Platform

Pankaj Bansal posted 24 patches 3 years, 11 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
Silicon/NXP/Chassis2/Chassis2.dec             |  22 +
Silicon/NXP/NxpQoriqLs.dec                    |  96 +--
Silicon/NXP/Chassis2/Chassis2.dsc.inc         |  10 +
Silicon/NXP/LS1043A/LS1043A.dsc.inc           |  48 +-
{Platform => Silicon}/NXP/NxpQoriqLs.dsc.inc  |  73 ++-
Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc  |  26 +-
Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf  |  21 +-
.../Drivers/PlatformDxe/PlatformDxe.inf       |  11 +-
.../Library/ArmPlatformLib/ArmPlatformLib.inf |  40 ++
.../Library/PlatformLib/ArmPlatformLib.inf    |  55 --
.../Library/ChassisLib/ChassisLib.inf         |  33 ++
Silicon/NXP/Drivers/I2cDxe/I2cDxe.inf         |  14 +-
Silicon/NXP/LS1043A/Library/SocLib/SocLib.inf |  27 +
.../NXP/Library/DUartPortLib/DUartPortLib.inf |   5 +-
Silicon/NXP/Library/I2cLib/I2cLib.inf         |  30 +
.../MemoryInitPeiLib.inf                      |  10 +-
Silicon/NXP/Library/SocLib/LS1043aSocLib.inf  |  45 --
Silicon/NXP/Chassis2/Include/Chassis.h        |  36 ++
Silicon/NXP/Drivers/I2cDxe/I2cDxe.h           |  50 +-
Silicon/NXP/Include/Chassis2/LsSerDes.h       |  62 --
Silicon/NXP/Include/Chassis2/NxpSoc.h         | 361 ------------
Silicon/NXP/Include/DramInfo.h                |  38 --
Silicon/NXP/Include/Library/ChassisLib.h      |  51 ++
Silicon/NXP/Include/Library/I2cLib.h          | 100 ++++
Silicon/NXP/Include/Library/IoAccessLib.h     | 236 +-------
Silicon/NXP/Include/Library/SocLib.h          |  52 ++
Silicon/NXP/Include/Ppi/NxpPlatformGetClock.h |  52 ++
Silicon/NXP/LS1043A/Include/Soc.h             |  55 ++
Silicon/NXP/LS1043A/Include/SocSerDes.h       |  51 --
Silicon/NXP/Library/DUartPortLib/DUart.h      |   8 +-
Silicon/NXP/Library/I2cLib/I2cLibInternal.h   | 105 ++++
.../MemoryInitPeiLib/MemoryInitPeiLib.h       |  38 ++
Silicon/NXP/Library/SocLib/NxpChassis.h       | 136 -----
.../Drivers/PlatformDxe/PlatformDxe.c         |  15 +-
.../ArmPlatformLib.c                          |  61 +-
.../ArmPlatformLibMem.c}                      |  79 ++-
.../Maxim/Library/Ds1307RtcLib/Ds1307RtcLib.c |  23 +-
.../Chassis2/Library/ChassisLib/ChassisLib.c  |  98 ++++
Silicon/NXP/Drivers/I2cDxe/I2cDxe.c           | 533 +----------------
Silicon/NXP/LS1043A/Library/SocLib/SocLib.c   |  77 +++
.../NXP/Library/DUartPortLib/DUartPortLib.c   |   7 +-
Silicon/NXP/Library/I2cLib/I2cLib.c           | 545 ++++++++++++++++++
Silicon/NXP/Library/IoAccessLib/IoAccessLib.c |  17 +-
.../Library/MemoryInitPei/MemoryInitPeiLib.c  | 140 -----
.../MemoryInitPeiLib/MemoryInitPeiLib.c       | 278 +++++++++
Silicon/NXP/Library/SocLib/Chassis.c          | 495 ----------------
Silicon/NXP/Library/SocLib/Chassis2/Soc.c     | 162 ------
Silicon/NXP/Library/SocLib/SerDes.c           | 268 ---------
Platform/NXP/FVRules.fdf.inc                  |  59 +-
.../AArch64/ArmPlatformHelper.S               |  45 ++
.../Library/PlatformLib/NxpQoriqLsHelper.S    |  31 -
Platform/NXP/LS1043aRdbPkg/VarStore.fdf.inc   |  91 +++
52 files changed, 2090 insertions(+), 2931 deletions(-)
create mode 100644 Silicon/NXP/Chassis2/Chassis2.dec
create mode 100644 Silicon/NXP/Chassis2/Chassis2.dsc.inc
rename {Platform => Silicon}/NXP/NxpQoriqLs.dsc.inc (84%)
create mode 100644 Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.inf
delete mode 100644 Platform/NXP/LS1043aRdbPkg/Library/PlatformLib/ArmPlatformLib.inf
create mode 100644 Silicon/NXP/Chassis2/Library/ChassisLib/ChassisLib.inf
create mode 100644 Silicon/NXP/LS1043A/Library/SocLib/SocLib.inf
create mode 100644 Silicon/NXP/Library/I2cLib/I2cLib.inf
rename Silicon/NXP/Library/{MemoryInitPei => MemoryInitPeiLib}/MemoryInitPeiLib.inf (74%)
delete mode 100644 Silicon/NXP/Library/SocLib/LS1043aSocLib.inf
create mode 100644 Silicon/NXP/Chassis2/Include/Chassis.h
delete mode 100644 Silicon/NXP/Include/Chassis2/LsSerDes.h
delete mode 100644 Silicon/NXP/Include/Chassis2/NxpSoc.h
delete mode 100644 Silicon/NXP/Include/DramInfo.h
create mode 100644 Silicon/NXP/Include/Library/ChassisLib.h
create mode 100644 Silicon/NXP/Include/Library/I2cLib.h
create mode 100644 Silicon/NXP/Include/Library/SocLib.h
create mode 100644 Silicon/NXP/Include/Ppi/NxpPlatformGetClock.h
create mode 100644 Silicon/NXP/LS1043A/Include/Soc.h
delete mode 100644 Silicon/NXP/LS1043A/Include/SocSerDes.h
create mode 100644 Silicon/NXP/Library/I2cLib/I2cLibInternal.h
create mode 100644 Silicon/NXP/Library/MemoryInitPeiLib/MemoryInitPeiLib.h
delete mode 100644 Silicon/NXP/Library/SocLib/NxpChassis.h
rename Platform/NXP/LS1043aRdbPkg/Library/{PlatformLib => ArmPlatformLib}/ArmPlatformLib.c (51%)
rename Platform/NXP/LS1043aRdbPkg/Library/{PlatformLib/NxpQoriqLsMem.c => ArmPlatformLib/ArmPlatformLibMem.c} (54%)
create mode 100644 Silicon/NXP/Chassis2/Library/ChassisLib/ChassisLib.c
create mode 100644 Silicon/NXP/LS1043A/Library/SocLib/SocLib.c
create mode 100644 Silicon/NXP/Library/I2cLib/I2cLib.c
delete mode 100644 Silicon/NXP/Library/MemoryInitPei/MemoryInitPeiLib.c
create mode 100644 Silicon/NXP/Library/MemoryInitPeiLib/MemoryInitPeiLib.c
delete mode 100644 Silicon/NXP/Library/SocLib/Chassis.c
delete mode 100644 Silicon/NXP/Library/SocLib/Chassis2/Soc.c
delete mode 100644 Silicon/NXP/Library/SocLib/SerDes.c
create mode 100644 Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/AArch64/ArmPlatformHelper.S
delete mode 100644 Platform/NXP/LS1043aRdbPkg/Library/PlatformLib/NxpQoriqLsHelper.S
create mode 100644 Platform/NXP/LS1043aRdbPkg/VarStore.fdf.inc
[edk2-devel] [PATCH edk2-platforms v4 00/24] Add PEI phase to LS1043ARDB Platform
Posted by Pankaj Bansal 3 years, 11 months ago
From: Pankaj Bansal <pankaj.bansal@nxp.com>

This patch series adds PEI phase to NXP LS1043ARDB Platform.
V3 series can be referred here:
https://edk2.groups.io/g/devel/message/57306

I have taken care of the review comments received on V3.

Pankaj Bansal (24):
  Silicon/NXP: Add I2c lib
  Silicon/NXP: changes to use I2clib in i2cdxe
  Silicon/NXP/I2cDxe: Fix I2c Timeout with RTC
  Silicon/Maxim: Fix bug in RtcWrite in Ds1307RtcLib
  Silicon/Maxim: Add comments in Ds1307RtcLib
  NXP/LS1043aRdb: Move Soc specific components to soc files
  Silicon/NXP: remove print information from Soc lib
  Silicon/NXP: remove not needed components
  Silicon/NXP: Remove unnecessary PCDs
  Silicon/NXP: Move dsc file
  Platform/NXP: rename the ArmPlatformLib as per ArmPlatformPkg
  Silicon/NXP: Move RAM retrieval from SocLib
  Platform/NXP/LS1043aRdbPkg: Add Clock retrieval APIs
  Silicon/NXP: Use Clock retrieval PPI in modules
  Silicon: NXP: Remove direct calls to SwapMmio* APIs
  Silicon/NXP: Add Chassis2 Package
  Silicon/NXP/LS1043A: Use ChassisLib from Chassis2 Pkg
  Silicon/NXP/LS1043A: Move SocLib to Soc Package
  NXP/LS1043aRdbPkg/ArmPlatformLib: Remove extern SocInit
  NXP: LS1043aRdbPkg: Use ArmPlatformHelper.S from ArmPlatformPkg
  Platform/NXP: Use FV rules from ArmVirtPkg
  Platform/NXP/LS1043aRdbPkg: Add VarStore
  Silicon/NXP: move MemoryInitPeiLib as per PEIM structures
  Platform/NXP/LS1043aRdbPkg: Add PEI Phase

 Silicon/NXP/Chassis2/Chassis2.dec             |  22 +
 Silicon/NXP/NxpQoriqLs.dec                    |  96 +--
 Silicon/NXP/Chassis2/Chassis2.dsc.inc         |  10 +
 Silicon/NXP/LS1043A/LS1043A.dsc.inc           |  48 +-
 {Platform => Silicon}/NXP/NxpQoriqLs.dsc.inc  |  73 ++-
 Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc  |  26 +-
 Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf  |  21 +-
 .../Drivers/PlatformDxe/PlatformDxe.inf       |  11 +-
 .../Library/ArmPlatformLib/ArmPlatformLib.inf |  40 ++
 .../Library/PlatformLib/ArmPlatformLib.inf    |  55 --
 .../Library/ChassisLib/ChassisLib.inf         |  33 ++
 Silicon/NXP/Drivers/I2cDxe/I2cDxe.inf         |  14 +-
 Silicon/NXP/LS1043A/Library/SocLib/SocLib.inf |  27 +
 .../NXP/Library/DUartPortLib/DUartPortLib.inf |   5 +-
 Silicon/NXP/Library/I2cLib/I2cLib.inf         |  30 +
 .../MemoryInitPeiLib.inf                      |  10 +-
 Silicon/NXP/Library/SocLib/LS1043aSocLib.inf  |  45 --
 Silicon/NXP/Chassis2/Include/Chassis.h        |  36 ++
 Silicon/NXP/Drivers/I2cDxe/I2cDxe.h           |  50 +-
 Silicon/NXP/Include/Chassis2/LsSerDes.h       |  62 --
 Silicon/NXP/Include/Chassis2/NxpSoc.h         | 361 ------------
 Silicon/NXP/Include/DramInfo.h                |  38 --
 Silicon/NXP/Include/Library/ChassisLib.h      |  51 ++
 Silicon/NXP/Include/Library/I2cLib.h          | 100 ++++
 Silicon/NXP/Include/Library/IoAccessLib.h     | 236 +-------
 Silicon/NXP/Include/Library/SocLib.h          |  52 ++
 Silicon/NXP/Include/Ppi/NxpPlatformGetClock.h |  52 ++
 Silicon/NXP/LS1043A/Include/Soc.h             |  55 ++
 Silicon/NXP/LS1043A/Include/SocSerDes.h       |  51 --
 Silicon/NXP/Library/DUartPortLib/DUart.h      |   8 +-
 Silicon/NXP/Library/I2cLib/I2cLibInternal.h   | 105 ++++
 .../MemoryInitPeiLib/MemoryInitPeiLib.h       |  38 ++
 Silicon/NXP/Library/SocLib/NxpChassis.h       | 136 -----
 .../Drivers/PlatformDxe/PlatformDxe.c         |  15 +-
 .../ArmPlatformLib.c                          |  61 +-
 .../ArmPlatformLibMem.c}                      |  79 ++-
 .../Maxim/Library/Ds1307RtcLib/Ds1307RtcLib.c |  23 +-
 .../Chassis2/Library/ChassisLib/ChassisLib.c  |  98 ++++
 Silicon/NXP/Drivers/I2cDxe/I2cDxe.c           | 533 +----------------
 Silicon/NXP/LS1043A/Library/SocLib/SocLib.c   |  77 +++
 .../NXP/Library/DUartPortLib/DUartPortLib.c   |   7 +-
 Silicon/NXP/Library/I2cLib/I2cLib.c           | 545 ++++++++++++++++++
 Silicon/NXP/Library/IoAccessLib/IoAccessLib.c |  17 +-
 .../Library/MemoryInitPei/MemoryInitPeiLib.c  | 140 -----
 .../MemoryInitPeiLib/MemoryInitPeiLib.c       | 278 +++++++++
 Silicon/NXP/Library/SocLib/Chassis.c          | 495 ----------------
 Silicon/NXP/Library/SocLib/Chassis2/Soc.c     | 162 ------
 Silicon/NXP/Library/SocLib/SerDes.c           | 268 ---------
 Platform/NXP/FVRules.fdf.inc                  |  59 +-
 .../AArch64/ArmPlatformHelper.S               |  45 ++
 .../Library/PlatformLib/NxpQoriqLsHelper.S    |  31 -
 Platform/NXP/LS1043aRdbPkg/VarStore.fdf.inc   |  91 +++
 52 files changed, 2090 insertions(+), 2931 deletions(-)
 create mode 100644 Silicon/NXP/Chassis2/Chassis2.dec
 create mode 100644 Silicon/NXP/Chassis2/Chassis2.dsc.inc
 rename {Platform => Silicon}/NXP/NxpQoriqLs.dsc.inc (84%)
 create mode 100644 Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.inf
 delete mode 100644 Platform/NXP/LS1043aRdbPkg/Library/PlatformLib/ArmPlatformLib.inf
 create mode 100644 Silicon/NXP/Chassis2/Library/ChassisLib/ChassisLib.inf
 create mode 100644 Silicon/NXP/LS1043A/Library/SocLib/SocLib.inf
 create mode 100644 Silicon/NXP/Library/I2cLib/I2cLib.inf
 rename Silicon/NXP/Library/{MemoryInitPei => MemoryInitPeiLib}/MemoryInitPeiLib.inf (74%)
 delete mode 100644 Silicon/NXP/Library/SocLib/LS1043aSocLib.inf
 create mode 100644 Silicon/NXP/Chassis2/Include/Chassis.h
 delete mode 100644 Silicon/NXP/Include/Chassis2/LsSerDes.h
 delete mode 100644 Silicon/NXP/Include/Chassis2/NxpSoc.h
 delete mode 100644 Silicon/NXP/Include/DramInfo.h
 create mode 100644 Silicon/NXP/Include/Library/ChassisLib.h
 create mode 100644 Silicon/NXP/Include/Library/I2cLib.h
 create mode 100644 Silicon/NXP/Include/Library/SocLib.h
 create mode 100644 Silicon/NXP/Include/Ppi/NxpPlatformGetClock.h
 create mode 100644 Silicon/NXP/LS1043A/Include/Soc.h
 delete mode 100644 Silicon/NXP/LS1043A/Include/SocSerDes.h
 create mode 100644 Silicon/NXP/Library/I2cLib/I2cLibInternal.h
 create mode 100644 Silicon/NXP/Library/MemoryInitPeiLib/MemoryInitPeiLib.h
 delete mode 100644 Silicon/NXP/Library/SocLib/NxpChassis.h
 rename Platform/NXP/LS1043aRdbPkg/Library/{PlatformLib => ArmPlatformLib}/ArmPlatformLib.c (51%)
 rename Platform/NXP/LS1043aRdbPkg/Library/{PlatformLib/NxpQoriqLsMem.c => ArmPlatformLib/ArmPlatformLibMem.c} (54%)
 create mode 100644 Silicon/NXP/Chassis2/Library/ChassisLib/ChassisLib.c
 create mode 100644 Silicon/NXP/LS1043A/Library/SocLib/SocLib.c
 create mode 100644 Silicon/NXP/Library/I2cLib/I2cLib.c
 delete mode 100644 Silicon/NXP/Library/MemoryInitPei/MemoryInitPeiLib.c
 create mode 100644 Silicon/NXP/Library/MemoryInitPeiLib/MemoryInitPeiLib.c
 delete mode 100644 Silicon/NXP/Library/SocLib/Chassis.c
 delete mode 100644 Silicon/NXP/Library/SocLib/Chassis2/Soc.c
 delete mode 100644 Silicon/NXP/Library/SocLib/SerDes.c
 create mode 100644 Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/AArch64/ArmPlatformHelper.S
 delete mode 100644 Platform/NXP/LS1043aRdbPkg/Library/PlatformLib/NxpQoriqLsHelper.S
 create mode 100644 Platform/NXP/LS1043aRdbPkg/VarStore.fdf.inc

-- 
2.17.1


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

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