Adds support to the N1xxWU board series in the ClevoOpenBoardPkg to write debug messages to a dedicated area on SPI flash. This supports simple closed chassis debug. At this time, only a PEI library instance is added since it is anticipated an alternative mechanism will be available in DXE such as USB debug.
Cc: Ankit Sinha <ankit.si...@intel.com> Cc: Nate DeSimone <nathaniel.l.desim...@intel.com> Cc: Chasel Chiu <chasel.c...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Liming Gao <liming....@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Michael Kubacki (3): KabylakeSiliconPkg: Add SPI write support in PEI ClevoOpenBoardPkg/N1xxWU: Flash map update ClevoOpenBoardPkg/N1xxWU: Write PEI debug messages to SPI flash Platform/Intel/ClevoOpenBoardPkg/OpenBoardPkg.dec | 5 + .../ClevoOpenBoardPkg/N1xxWU/OpenBoardPkg.dsc | 22 +- Silicon/Intel/KabylakeSiliconPkg/SiPkgPeiLib.dsc | 3 +- .../N1xxWU/Include/Fdf/FlashMapInclude.fdf | 44 +-- .../ClevoOpenBoardPkg/N1xxWU/OpenBoardPkg.fdf | 4 + .../PeiSerialPortLibSpiFlash.inf | 56 ++++ .../Pch/Library/PeiSpiLib/PeiSpiLib.inf | 50 ++++ .../Pch/Include/Library/SpiLib.h | 32 ++ .../PeiSerialPortLibSpiFlash.c | 326 +++++++++++++++++++++ .../Pch/Library/PeiSpiLib/PeiSpiLib.c | 225 ++++++++++++++ .../LibraryPrivate/BasePchSpiCommonLib/SpiCommon.c | 5 +- .../Intel/ClevoOpenBoardPkg/N1xxWU/prebuild.bat | 4 +- 12 files changed, 744 insertions(+), 32 deletions(-) create mode 100644 Platform/Intel/ClevoOpenBoardPkg/Library/PeiSerialPortLibSpiFlash/PeiSerialPortLibSpiFlash.inf create mode 100644 Silicon/Intel/KabylakeSiliconPkg/Pch/Library/PeiSpiLib/PeiSpiLib.inf create mode 100644 Silicon/Intel/KabylakeSiliconPkg/Pch/Include/Library/SpiLib.h create mode 100644 Platform/Intel/ClevoOpenBoardPkg/Library/PeiSerialPortLibSpiFlash/PeiSerialPortLibSpiFlash.c create mode 100644 Silicon/Intel/KabylakeSiliconPkg/Pch/Library/PeiSpiLib/PeiSpiLib.c -- 2.16.2.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel