This series of patches fixes the build errors when using GCC with
"MINNOW2_FSP_BUILD = TRUE".

I followed the release notes(*) and the coreboot wiki(**) to generate
Vlv2MiscBinariesPkg/FspBinary/FvFsp.bin. Although the firmware image was built,
it didn't work for me.

Any suggestions are welcome.

(*) 
https://firmware.intel.com/sites/default/files/MinnowBoard_MAX-Rel_0_93-ReleaseNotes.txt
(**) http://wiki.minnowboard.org/Coreboot

Gary Lin (4):
  Vlv2TbltDevicePkg/FspSupport: Fix GCC build errors
  Vlv2TbltDevicePkg/SecFspPlatformSecLibVlv2: Add assembly code for GCC
  Vlv2TbltDevicePkg/PlatformFspLib: Fix the include path
  Vlv2TbltDevicePkg: Add RAW file type to Rule.Common.SEC.BINARY

 .../PeiFspHobProcessLibVlv2/FspHobProcessLibVlv2.c |   5 +-
 .../FspPlatformSecLibVlv2.inf                      |  13 +-
 .../Ia32/AsmSaveSecContext.S                       |  43 +++
 .../Library/SecFspPlatformSecLibVlv2/Ia32/Fsp.h    |  48 +++
 .../SecFspPlatformSecLibVlv2/Ia32/PeiCoreEntry.S   | 130 ++++++++
 .../SecFspPlatformSecLibVlv2/Ia32/SecEntry.S       | 328 +++++++++++++++++++++
 .../SecFspPlatformSecLibVlv2/PlatformInit.c        |   4 +-
 .../Library/SecFspPlatformSecLibVlv2/UartInit.c    |   6 +-
 .../Library/PlatformFspLib/PlatformFspLib.c        |   2 +-
 Vlv2TbltDevicePkg/PlatformPkgGcc.fdf               |   6 +-
 10 files changed, 571 insertions(+), 14 deletions(-)
 create mode 100644 
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/Ia32/AsmSaveSecContext.S
 create mode 100644 
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/Ia32/Fsp.h
 create mode 100644 
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/Ia32/PeiCoreEntry.S
 create mode 100644 
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/Ia32/SecEntry.S

-- 
2.9.2

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to