* [Patch][edk2-platforms/devel-IntelAtomProcessorE3900] Add SpiAccessControl for UP2
@ 2018-08-24 4:56 Guo, Mang
0 siblings, 0 replies; only message in thread
From: Guo, Mang @ 2018-08-24 4:56 UTC (permalink / raw)
To: edk2-devel@lists.01.org; +Cc: Wei, David
Add SpiAccessControl for UP2, default is disabled
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Guo Mang <mang.guo@intel.com>
---
.../BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat b/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat
index b859cb1..995f739 100644
--- a/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat
+++ b/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat
@@ -205,7 +205,12 @@ if %BoardId%==BG (
copy /y /b ..\..\..\Board\UP2\IFWI\FAB_A\SpiChunk1.bin .
copy /y /b ..\..\..\Board\UP2\IFWI\FAB_A\SpiChunk2.bin .
copy /y /b ..\..\..\Board\UP2\IFWI\FAB_A\SpiChunk3.bin .
- copy /y /b SpiChunk1.bin+.\BIOS_COMPONENTS\IBBL.Fv+.\BIOS_COMPONENTS\IBB.Fv+SpiChunk2.bin+.\BIOS_COMPONENTS\OBB.Fv+.\BIOS_COMPONENTS\NvStorage.Fv+SpiChunk3.bin spi_out.bin
+ copy /y /b ..\..\..\Board\UP2\IFWI\FAB_A\SpiChunk1SpiAccessControl.bin .
+ if %SpiAccessControl% EQU 0 (
+ copy /y /b SpiChunk1.bin+.\BIOS_COMPONENTS\IBBL.Fv+.\BIOS_COMPONENTS\IBB.Fv+SpiChunk2.bin+.\BIOS_COMPONENTS\OBB.Fv+.\BIOS_COMPONENTS\NvStorage.Fv+SpiChunk3.bin spi_out.bin
+ ) else (
+ copy /y /b SpiChunk1SpiAccessControl.bin+.\BIOS_COMPONENTS\IBBL.Fv+.\BIOS_COMPONENTS\IBB.Fv+SpiChunk2.bin+.\BIOS_COMPONENTS\OBB.Fv+.\BIOS_COMPONENTS\NvStorage.Fv+SpiChunk3.bin spi_out.bin
+ )
)
move /y spi_out.bin %BIOS_ID%.bin >> Stitching.log
--
2.10.1.windows.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-24 4:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-24 4:56 [Patch][edk2-platforms/devel-IntelAtomProcessorE3900] Add SpiAccessControl for UP2 Guo, Mang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox