diff options
author | Wei Xu <xuwei5@huawei.com> | 2014-11-20 15:15:06 +0800 |
---|---|---|
committer | Wei Xu <xuwei5@huawei.com> | 2014-11-25 12:43:50 +0800 |
commit | 8592e085f39cda5585fe5153790afac2608d40a1 (patch) | |
tree | cd2158a990e6b16ea9f4ea4e4c24e7548803c07e | |
parent | 8bb845f652a9fa2c934a68d8829120a2fbcc3ee1 (diff) |
HisiPkg: D01: Replace PcdGet32 with PcdGet64 to call PcdFvBaseAddress since it is updated to 64 bit.tmp-xuwei-tianocore-edk2-2014.11
Signed-off-by: Wei Xu <xuwei5@huawei.com>
-rw-r--r-- | HisiPkg/D01BoardPkg/Sec/Sec/Sec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/HisiPkg/D01BoardPkg/Sec/Sec/Sec.c b/HisiPkg/D01BoardPkg/Sec/Sec/Sec.c index 988dd6526..c77e72e76 100644 --- a/HisiPkg/D01BoardPkg/Sec/Sec/Sec.c +++ b/HisiPkg/D01BoardPkg/Sec/Sec/Sec.c @@ -118,7 +118,7 @@ CEntryPoint ( copy_cpsr_into_spsr ();
// Call the Platform specific function to execute additional actions if required
- JumpAddress = PcdGet32 (PcdFvBaseAddress);
+ JumpAddress = PcdGet64 (PcdFvBaseAddress); ArmPlatformSecExtraAction (MpId, &JumpAddress);
NonTrustedWorldTransition (MpId, JumpAddress);
@@ -162,7 +162,7 @@ TrustedWorldInitialization ( }
// Call the Platform specific function to execute additional actions if required
- JumpAddress = PcdGet32 (PcdFvBaseAddress);
+ JumpAddress = PcdGet64 (PcdFvBaseAddress); ArmPlatformSecExtraAction (MpId, &JumpAddress);
// Write to CP15 Non-secure Access Control Register
|