From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.nue.novell.com (smtp.nue.novell.com [195.135.221.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 708B91A1DF3 for ; Thu, 11 Aug 2016 01:38:37 -0700 (PDT) Received: from GaryWorkstation.apac.novell.com (ip-203-192-156-9.asianetcom.net [203.192.156.9]) by smtp.nue.novell.com with ESMTP (NOT encrypted); Thu, 11 Aug 2016 10:38:33 +0200 From: Gary Lin To: edk2-devel@lists.01.org Date: Thu, 11 Aug 2016 16:38:16 +0800 Message-Id: <20160811083820.27055-1-glin@suse.com> X-Mailer: git-send-email 2.9.2 Subject: [PATCH 0/4] Fix GCC Minnowboard FSP build X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2016 08:38:38 -0000 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