summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat
diff options
context:
space:
mode:
authorlushifex <shifeix.a.lu@intel.com>2017-12-19 16:28:35 +0800
committerGuo Mang <mang.guo@intel.com>2017-12-20 14:08:49 +0800
commit4eb373e2b3882be36ddf8aebfb5f32a168a35c2f (patch)
treee81961314ffe72543e2d9a84bca0ee98bf6d8c39 /Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat
parent6f8bb8f2a3f2845b3d6aeab6829f10b95aac7cc5 (diff)
downloadedk2-platforms-4eb373e2b3882be36ddf8aebfb5f32a168a35c2f.tar.xz
Build Script.
Add build script for E0 stepping LeafHill FAB D CRB board. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat')
-rw-r--r--Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat11
1 files changed, 11 insertions, 0 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat b/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat
index 01e56c5040..4c1fcb1882 100644
--- a/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat
+++ b/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat
@@ -52,6 +52,10 @@ if /i "%~3"=="MX" (
set BoardId=MX
)
+if /i "%~3"=="LH" (
+ set BoardId=LH
+)
+
:OptLoop1
if /i "%~1"=="/FspW" (
@@ -112,6 +116,8 @@ if /i "!Platform_Type!"=="MINN" (
set Platform_Type=BENS
) else if /i "!Platform_Type!"=="M3MO" (
set Platform_Type=M3MO
+) else if /i "!Platform_Type!"=="LEAF" (
+ set Platform_Type=LEAF
) else (
echo Error - Unsupported PlatformType: !Platform_Type!
goto Usage
@@ -165,6 +171,11 @@ if %BoardId%==BG (
copy /y /b ..\..\Binaries\IFWI\MinnowBoard3Next\FAB_A\SpiChunk2.bin .
copy /y /b ..\..\Binaries\IFWI\MinnowBoard3Next\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
+) else if %BoardId%==LH (
+ copy /y /b ..\..\Binaries\IFWI\LeafHill\FAB_D\SpiChunk1.bin .
+ copy /y /b ..\..\Binaries\IFWI\LeafHill\FAB_D\SpiChunk2.bin .
+ copy /y /b ..\..\Binaries\IFWI\LeafHill\FAB_D\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
)
move /y spi_out.bin %BIOS_ID%.bin >> Stitching.log