public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH edk2-platforms v4 00/24] Add PEI phase to LS1043ARDB Platform
@ 2020-05-01  5:49 Pankaj Bansal
  2020-05-01  5:49 ` [PATCH edk2-platforms v4 01/24] Silicon/NXP: Add I2c lib Pankaj Bansal
                   ` (23 more replies)
  0 siblings, 24 replies; 35+ messages in thread
From: Pankaj Bansal @ 2020-05-01  5:49 UTC (permalink / raw)
  To: Leif Lindholm, Meenakshi Aggarwal, Michael D Kinney, devel,
	Varun Sethi, Samer El-Haj-Mahmoud, Jon Nettleton, Ard Biesheuvel

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


^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2020-05-11 10:27 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-01  5:49 [PATCH edk2-platforms v4 00/24] Add PEI phase to LS1043ARDB Platform Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 01/24] Silicon/NXP: Add I2c lib Pankaj Bansal
2020-05-05 15:11   ` Leif Lindholm
2020-05-01  5:49 ` [PATCH edk2-platforms v4 02/24] Silicon/NXP: changes to use I2clib in i2cdxe Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 03/24] Silicon/NXP/I2cDxe: Fix I2c Timeout with RTC Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 04/24] Silicon/Maxim: Fix bug in RtcWrite in Ds1307RtcLib Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 05/24] Silicon/Maxim: Add comments " Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 06/24] NXP/LS1043aRdb: Move Soc specific components to soc files Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 07/24] Silicon/NXP: remove print information from Soc lib Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 08/24] Silicon/NXP: remove not needed components Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 09/24] Silicon/NXP: Remove unnecessary PCDs Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 10/24] Silicon/NXP: Move dsc file Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 11/24] Platform/NXP: rename the ArmPlatformLib as per ArmPlatformPkg Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 12/24] Silicon/NXP: Move RAM retrieval from SocLib Pankaj Bansal
2020-05-06 10:44   ` Leif Lindholm
2020-05-07  7:28     ` Pankaj Bansal
2020-05-07 10:15       ` Leif Lindholm
2020-05-08  5:31         ` Pankaj Bansal
2020-05-11 10:27           ` Leif Lindholm
2020-05-01  5:49 ` [PATCH edk2-platforms v4 13/24] Platform/NXP/LS1043aRdbPkg: Add Clock retrieval APIs Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 14/24] Silicon/NXP: Use Clock retrieval PPI in modules Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 15/24] Silicon: NXP: Remove direct calls to SwapMmio* APIs Pankaj Bansal
2020-05-06 10:48   ` Leif Lindholm
2020-05-01  5:49 ` [PATCH edk2-platforms v4 16/24] Silicon/NXP: Add Chassis2 Package Pankaj Bansal
2020-05-06 10:52   ` Leif Lindholm
2020-05-01  5:49 ` [PATCH edk2-platforms v4 17/24] Silicon/NXP/LS1043A: Use ChassisLib from Chassis2 Pkg Pankaj Bansal
2020-05-06 10:54   ` Leif Lindholm
2020-05-01  5:49 ` [PATCH edk2-platforms v4 18/24] Silicon/NXP/LS1043A: Move SocLib to Soc Package Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 19/24] NXP/LS1043aRdbPkg/ArmPlatformLib: Remove extern SocInit Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 20/24] NXP: LS1043aRdbPkg: Use ArmPlatformHelper.S from ArmPlatformPkg Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 21/24] Platform/NXP: Use FV rules from ArmVirtPkg Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 22/24] Platform/NXP/LS1043aRdbPkg: Add VarStore Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 23/24] Silicon/NXP: move MemoryInitPeiLib as per PEIM structures Pankaj Bansal
2020-05-01  5:49 ` [PATCH edk2-platforms v4 24/24] Platform/NXP/LS1043aRdbPkg: Add PEI Phase Pankaj Bansal
2020-05-06 10:57   ` Leif Lindholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox