summaryrefslogtreecommitdiff
path: root/BeagleBoardPkg/Sec/Arm/ModuleEntryPoint.asm
diff options
context:
space:
mode:
Diffstat (limited to 'BeagleBoardPkg/Sec/Arm/ModuleEntryPoint.asm')
-rw-r--r--BeagleBoardPkg/Sec/Arm/ModuleEntryPoint.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/BeagleBoardPkg/Sec/Arm/ModuleEntryPoint.asm b/BeagleBoardPkg/Sec/Arm/ModuleEntryPoint.asm
index 71e60b707a..52171692b5 100644
--- a/BeagleBoardPkg/Sec/Arm/ModuleEntryPoint.asm
+++ b/BeagleBoardPkg/Sec/Arm/ModuleEntryPoint.asm
@@ -59,8 +59,8 @@ stack_pointer_setup
mov r13,r4
// Call C entry point
- mov r0, #0x80000000 /* memory base arg0 */
- mov r1, #0x10000000 /* memory size arg1 */
+ LoadConstantToReg (FixedPcdGet32(PcdMemorySize) ,r1) /* memory size arg1 */
+ LoadConstantToReg (FixedPcdGet32(PcdMemoryBase) ,r0) /* memory size arg0 */
blx CEntryPoint /* Assume C code is thumb */
ShouldNeverGetHere