summaryrefslogtreecommitdiff
path: root/Platform
diff options
context:
space:
mode:
authorzwei4 <david.wei@intel.com>2017-04-26 14:08:43 +0800
committerzwei4 <david.wei@intel.com>2017-04-26 15:51:37 +0800
commit2a9692e6caf96dd10691ee0c7a895718615fb29b (patch)
tree326c238696ea44beeabd57929e97db970f5fd569 /Platform
parentb61636bff9b7558b56e4edefb4c05f680cbe6d5a (diff)
downloadedk2-platforms-2a9692e6caf96dd10691ee0c7a895718615fb29b.tar.xz
Add script to build ResetVector.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Platform')
-rw-r--r--Platform/BroxtonPlatformPkg/BuildBios.bat6
-rw-r--r--Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc2
2 files changed, 7 insertions, 1 deletions
diff --git a/Platform/BroxtonPlatformPkg/BuildBios.bat b/Platform/BroxtonPlatformPkg/BuildBios.bat
index a326d3c640..0ebc5705a7 100644
--- a/Platform/BroxtonPlatformPkg/BuildBios.bat
+++ b/Platform/BroxtonPlatformPkg/BuildBios.bat
@@ -317,6 +317,12 @@ if ErrorLevel 1 goto BldFail
echo Building ResetVector...
set ResetVectorPath=%WORKSPACE%\%PLATFORM_RC_PACKAGE%\Cpu\ResetVector
+
+pushd %ResetVectorPath%\Vtf0
+ nasm.exe %Nasm_Flags% -o Bin\ResetVector.ia32.port80.raw ResetVectorCode.asm
+ python %CORE_PATH%\UefiCpuPkg\ResetVector\Vtf0\Tools\FixupForRawSection.py Bin\ResetVector.ia32.port80.raw
+popd
+
pushd %ResetVectorPath%\Vtf1
nasm.exe %Nasm_Flags% -o Bin\ResetVector.ia32.port80.raw ResetVectorCode.asm
python %CORE_PATH%\UefiCpuPkg\ResetVector\Vtf0\Tools\FixupForRawSection.py Bin\ResetVector.ia32.port80.raw
diff --git a/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc b/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc
index e8866a0dc7..ff751c164f 100644
--- a/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc
+++ b/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc
@@ -152,7 +152,7 @@
DEFINE FSP_IBBL_SIZE = 0x2000
DEFINE BLD_IBBL_SIZE = 0x6000
- DEFINE FSP_IBBM_SIZE = 0x56000
+ DEFINE FSP_IBBM_SIZE = 0x58000
DEFINE BLD_IBBM_SIZE = 0x1E000
DEFINE CAR_BASE_ADDRESS = 0xFEF00000 # @PcdTemporaryRamBase