summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/BuildBxtBios.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Platform/BroxtonPlatformPkg/BuildBxtBios.sh')
-rwxr-xr-xPlatform/BroxtonPlatformPkg/BuildBxtBios.sh29
1 files changed, 28 insertions, 1 deletions
diff --git a/Platform/BroxtonPlatformPkg/BuildBxtBios.sh b/Platform/BroxtonPlatformPkg/BuildBxtBios.sh
index ef261e6818..74aa7826eb 100755
--- a/Platform/BroxtonPlatformPkg/BuildBxtBios.sh
+++ b/Platform/BroxtonPlatformPkg/BuildBxtBios.sh
@@ -107,6 +107,12 @@ for (( i=1; i<=$#; ))
elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/MX" ]; then
BoardId=MX
shift
+ elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/LH" ]; then
+ BoardId=LH
+ shift
+ elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/D" ]; then
+ FabId=D
+ shift
elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/B" ]; then
FabId=B
shift
@@ -138,9 +144,14 @@ if [ $BoardId == "MN" ]; then
elif [ $BoardId == "MX" ]; then
BOARD_ID=M3MO
echo BOARD_ID = M3MODUL >> $WORKSPACE/Conf/BiosId.env
-else
+elif [ $BoardId == "BG" ]; then
BOARD_ID=BEN1
echo BOARD_ID = BENSONV >> $WORKSPACE/Conf/BiosId.env
+elif [ $BoardId == "LH" ]; then
+ BOARD_ID=LEAF
+ echo BOARD_ID = LEAFHIL >> $WORKSPACE/Conf/BiosId.env
+else
+ break
fi
ENBDT_PF_BUILD=TRUE
@@ -212,6 +223,13 @@ if [ $BoardId == "MX" ]; then
fi
fi
+if [ $BoardId == "LH" ]; then
+ if [ $FabId == "D" ]; then
+ BOARD_REV=D
+ echo BOARD_REV = D >> $WORKSPACE/Conf/BiosId.env
+ fi
+fi
+
##**********************************************************************
## Additional EDK Build Setup/Configuration
##**********************************************************************
@@ -353,6 +371,15 @@ if [ $BoardId == "MX" ]; then
fi
fi
+if [ $BoardId == "LH" ]; then
+ if [ $FabId == "D" ]; then
+ cp -f $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Binaries/IFWI/LeafHill/FAB_D/SpiChunk1.bin $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Tools/Stitch
+ cp -f $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Binaries/IFWI/LeafHill/FAB_D/SpiChunk2.bin $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Tools/Stitch
+ cp -f $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Binaries/IFWI/LeafHill/FAB_D/SpiChunk3.bin $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Tools/Stitch
+ cp -f $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Binaries/IFWI/LeafHill/FAB_D/GCC/NvStorage.Fv $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Tools/Stitch
+ fi
+fi
+
#
# Assmeble components
#