[edk2] [PATCH 0/4] Platform/NXP-Adding NXP NOR IP

Vabhav posted 4 patches 6 years, 4 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
.../NXP/Drivers/NorFlashDxe/NorFlashBlockIoDxe.c   | 254 +++++++
Platform/NXP/Drivers/NorFlashDxe/NorFlashDxe.c     | 446 ++++++++++++
Platform/NXP/Drivers/NorFlashDxe/NorFlashDxe.inf   |  65 ++
Platform/NXP/Drivers/NorFlashDxe/NorFlashFvbDxe.c  | 807 +++++++++++++++++++++
Platform/NXP/Include/Library/Ifc.h                 | 147 ++++
Platform/NXP/Include/Library/IfcBase.h             | 139 ++++
Platform/NXP/Include/Library/NorFlash.h            | 222 ++++++
Platform/NXP/Include/Library/NorFlashLib.h         |  67 ++
.../Include/Library/IfcBoardSpecificLib.h          |  51 ++
Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc       |  22 +
Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf       |   9 +-
Platform/NXP/LS1043aRdbPkg/VarStore.fdf.inc        |  98 +++
Platform/NXP/Library/IfcFlashLib/IfcFlashLib.c     |  65 ++
Platform/NXP/Library/IfcFlashLib/IfcFlashLib.inf   |  30 +
Platform/NXP/Library/NorFlashLib/CfiCommand.h      |  99 +++
Platform/NXP/Library/NorFlashLib/CfiNorFlashLib.c  | 184 +++++
Platform/NXP/Library/NorFlashLib/CfiNorFlashLib.h  |  54 ++
Platform/NXP/Library/NorFlashLib/IfcNorFlashLib.c  |  52 ++
Platform/NXP/Library/NorFlashLib/NorFlashLib.c     | 658 +++++++++++++++++
Platform/NXP/Library/NorFlashLib/NorFlashLib.inf   |  42 ++
Platform/NXP/NxpQoriqLs.dsc                        |   6 +-
21 files changed, 3515 insertions(+), 2 deletions(-)
create mode 100644 Platform/NXP/Drivers/NorFlashDxe/NorFlashBlockIoDxe.c
create mode 100644 Platform/NXP/Drivers/NorFlashDxe/NorFlashDxe.c
create mode 100755 Platform/NXP/Drivers/NorFlashDxe/NorFlashDxe.inf
create mode 100644 Platform/NXP/Drivers/NorFlashDxe/NorFlashFvbDxe.c
create mode 100755 Platform/NXP/Include/Library/Ifc.h
create mode 100644 Platform/NXP/Include/Library/IfcBase.h
create mode 100644 Platform/NXP/Include/Library/NorFlash.h
create mode 100644 Platform/NXP/Include/Library/NorFlashLib.h
create mode 100755 Platform/NXP/LS1043aRdbPkg/Include/Library/IfcBoardSpecificLib.h
create mode 100644 Platform/NXP/LS1043aRdbPkg/VarStore.fdf.inc
create mode 100644 Platform/NXP/Library/IfcFlashLib/IfcFlashLib.c
create mode 100644 Platform/NXP/Library/IfcFlashLib/IfcFlashLib.inf
create mode 100644 Platform/NXP/Library/NorFlashLib/CfiCommand.h
create mode 100644 Platform/NXP/Library/NorFlashLib/CfiNorFlashLib.c
create mode 100644 Platform/NXP/Library/NorFlashLib/CfiNorFlashLib.h
create mode 100644 Platform/NXP/Library/NorFlashLib/IfcNorFlashLib.c
create mode 100644 Platform/NXP/Library/NorFlashLib/NorFlashLib.c
create mode 100644 Platform/NXP/Library/NorFlashLib/NorFlashLib.inf
[edk2] [PATCH 0/4] Platform/NXP-Adding NXP NOR IP
Posted by Vabhav 6 years, 4 months ago
Following patches will add support of NXP NOR IP in edk2-platforms
directory 'edk2-platforms/Platform/NXP'

Updated Directory structure for added folders in 'edk2-platforms/Platform/NXP'
will be:
|-- Drivers
|   |-- NorFlashDxe
|   |   |-- NorFlashBlockIoDxe.c
|   |   |-- NorFlashDxe.c
|   |   |-- NorFlashDxe.inf
|   |   `-- NorFlashFvbDxe.c
|-- Include
|   `-- Library
|       |-- IfcBase.h
|       |-- Ifc.h
|       |-- NorFlash.h
|       `-- NorFlashLib.h
|-- Library
|   |-- IfcFlashLib
|   |   |-- IfcFlashLib.c
|   |   `-- IfcFlashLib.inf
|   `-- NorFlashLib
|       |-- CfiCommand.h
|       |-- CfiNorFlashLib.c
|       |-- CfiNorFlashLib.h
|       |-- IfcNorFlashLib.c
|       |-- NorFlashLib.c
|       `-- NorFlashLib.inf
|-- LS1043aRdbPkg
|   |-- Include
|   |   `-- Library
|   |       `-- IfcBoardSpecificLib.h
|   |-- LS1043aRdbPkg.dsc
|   |-- LS1043aRdbPkg.fdf
|   `-- VarStore.fdf.inc
|-- NxpQoriqLs.dsc

In Platform/NXP/Library:
IfcFlashLib and NorFlashLib will be added

In Platform/NXP/Drivers:
NorFlashDxe driver will be added

Platform/NXP/LS1043aRdbPkg will host VarStore.fdf.inc for runtime variable
support.

Please review and look forward for your support for upstreaming the patches in
edk2-platforms.


Vabhav (4):
  Platform/NXP : Add Integrated flash controller library support
  Platform/NXP : Add Support for NOR flash Library
  Platform/NXP : Add Support for NOR Flash driver
  Compilation:Modify dsc,fdf files and add inc file

 .../NXP/Drivers/NorFlashDxe/NorFlashBlockIoDxe.c   | 254 +++++++
 Platform/NXP/Drivers/NorFlashDxe/NorFlashDxe.c     | 446 ++++++++++++
 Platform/NXP/Drivers/NorFlashDxe/NorFlashDxe.inf   |  65 ++
 Platform/NXP/Drivers/NorFlashDxe/NorFlashFvbDxe.c  | 807 +++++++++++++++++++++
 Platform/NXP/Include/Library/Ifc.h                 | 147 ++++
 Platform/NXP/Include/Library/IfcBase.h             | 139 ++++
 Platform/NXP/Include/Library/NorFlash.h            | 222 ++++++
 Platform/NXP/Include/Library/NorFlashLib.h         |  67 ++
 .../Include/Library/IfcBoardSpecificLib.h          |  51 ++
 Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc       |  22 +
 Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf       |   9 +-
 Platform/NXP/LS1043aRdbPkg/VarStore.fdf.inc        |  98 +++
 Platform/NXP/Library/IfcFlashLib/IfcFlashLib.c     |  65 ++
 Platform/NXP/Library/IfcFlashLib/IfcFlashLib.inf   |  30 +
 Platform/NXP/Library/NorFlashLib/CfiCommand.h      |  99 +++
 Platform/NXP/Library/NorFlashLib/CfiNorFlashLib.c  | 184 +++++
 Platform/NXP/Library/NorFlashLib/CfiNorFlashLib.h  |  54 ++
 Platform/NXP/Library/NorFlashLib/IfcNorFlashLib.c  |  52 ++
 Platform/NXP/Library/NorFlashLib/NorFlashLib.c     | 658 +++++++++++++++++
 Platform/NXP/Library/NorFlashLib/NorFlashLib.inf   |  42 ++
 Platform/NXP/NxpQoriqLs.dsc                        |   6 +-
 21 files changed, 3515 insertions(+), 2 deletions(-)
 create mode 100644 Platform/NXP/Drivers/NorFlashDxe/NorFlashBlockIoDxe.c
 create mode 100644 Platform/NXP/Drivers/NorFlashDxe/NorFlashDxe.c
 create mode 100755 Platform/NXP/Drivers/NorFlashDxe/NorFlashDxe.inf
 create mode 100644 Platform/NXP/Drivers/NorFlashDxe/NorFlashFvbDxe.c
 create mode 100755 Platform/NXP/Include/Library/Ifc.h
 create mode 100644 Platform/NXP/Include/Library/IfcBase.h
 create mode 100644 Platform/NXP/Include/Library/NorFlash.h
 create mode 100644 Platform/NXP/Include/Library/NorFlashLib.h
 create mode 100755 Platform/NXP/LS1043aRdbPkg/Include/Library/IfcBoardSpecificLib.h
 create mode 100644 Platform/NXP/LS1043aRdbPkg/VarStore.fdf.inc
 create mode 100644 Platform/NXP/Library/IfcFlashLib/IfcFlashLib.c
 create mode 100644 Platform/NXP/Library/IfcFlashLib/IfcFlashLib.inf
 create mode 100644 Platform/NXP/Library/NorFlashLib/CfiCommand.h
 create mode 100644 Platform/NXP/Library/NorFlashLib/CfiNorFlashLib.c
 create mode 100644 Platform/NXP/Library/NorFlashLib/CfiNorFlashLib.h
 create mode 100644 Platform/NXP/Library/NorFlashLib/IfcNorFlashLib.c
 create mode 100644 Platform/NXP/Library/NorFlashLib/NorFlashLib.c
 create mode 100644 Platform/NXP/Library/NorFlashLib/NorFlashLib.inf

-- 
1.9.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel