diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2012-09-07 18:39:08 +0100 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2013-05-08 17:43:00 +0100 |
commit | 8ff5607e9d4fa0aaed3e0d0ffc63b8775a8116ca (patch) | |
tree | 457cd87d14a53afbb71557e8923e286cfb079510 /ArmPlatformPkg/ArmVExpressPkg | |
parent | 710b2cb025dc704ccc2367dc5a9592b7ab2f4fc1 (diff) |
VEA5: fix memory init
The A5 BSP was initialising memory in the wrong place since the BSP was updated to support the latest submissions.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'ArmPlatformPkg/ArmVExpressPkg')
-rw-r--r-- | ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA5s/CTA5sBoot.S | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA5s/CTA5sBoot.S b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA5s/CTA5sBoot.S index 07d14a8bf..f90546ef2 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA5s/CTA5sBoot.S +++ b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA5s/CTA5sBoot.S @@ -84,6 +84,19 @@ ASM_PFX(ArmPlatformSecBootAction): **/ ASM_PFX(ArmPlatformInitializeBootMemory): + bx lr + +/** + Initialize the memory where the initial stacks will reside + + This memory can contain the initial stacks (Secure and Secure Monitor stacks). + In some platform, this region is already initialized and the implementation of this function can + do nothing. This memory can also represent the Secure RAM. + This function is called before the satck has been set up. Its implementation must ensure the stack + pointer is not used (probably required to use assembly language) + +**/ +ASM_PFX(ArmPlatformSecBootMemoryInit): mov r5, lr // @@ -123,16 +136,4 @@ ASM_PFX(ArmPlatformInitializeBootMemory): bx r5 -/** - Initialize the memory where the initial stacks will reside - - This memory can contain the initial stacks (Secure and Secure Monitor stacks). - In some platform, this region is already initialized and the implementation of this function can - do nothing. This memory can also represent the Secure RAM. - This function is called before the satck has been set up. Its implementation must ensure the stack - pointer is not used (probably required to use assembly language) - -**/ -ASM_PFX(ArmPlatformSecBootMemoryInit): - bx lr |