summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/Sec
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPlatformPkg/Sec')
-rw-r--r--ArmPlatformPkg/Sec/SecEntryPoint.S2
-rw-r--r--ArmPlatformPkg/Sec/SecEntryPoint.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/ArmPlatformPkg/Sec/SecEntryPoint.S b/ArmPlatformPkg/Sec/SecEntryPoint.S
index 87de96e916..4a8e9d68d4 100644
--- a/ArmPlatformPkg/Sec/SecEntryPoint.S
+++ b/ArmPlatformPkg/Sec/SecEntryPoint.S
@@ -88,7 +88,7 @@ _SetupPrimaryCoreStack:
_InitGlobals:
str r1, [r3], #4
cmp r3, r2
- blt _InitGlobals
+ bne _InitGlobals
b _PrepareArguments
diff --git a/ArmPlatformPkg/Sec/SecEntryPoint.asm b/ArmPlatformPkg/Sec/SecEntryPoint.asm
index e4ceb697f8..c3566f065e 100644
--- a/ArmPlatformPkg/Sec/SecEntryPoint.asm
+++ b/ArmPlatformPkg/Sec/SecEntryPoint.asm
@@ -90,7 +90,7 @@ _SetupPrimaryCoreStack
_InitGlobals
str r1, [r3], #4
cmp r3, r2
- blt _InitGlobals
+ bne _InitGlobals
b _PrepareArguments