summaryrefslogtreecommitdiffstats
path: root/rbutil/mkamsboot/dualboot.S
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/mkamsboot/dualboot.S')
-rw-r--r--rbutil/mkamsboot/dualboot.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/mkamsboot/dualboot.S b/rbutil/mkamsboot/dualboot.S
index 471158e9a8..c8d2dd7d9f 100644
--- a/rbutil/mkamsboot/dualboot.S
+++ b/rbutil/mkamsboot/dualboot.S
@@ -44,7 +44,7 @@ start:
uclcopy:
ldrb r4, [r0], #-1
strb r4, [r3], #-1
- cmp r2, r3
+ cmp r2, r0
bne uclcopy
add r5, r2, #2 /* r5 is entry point of copy of uclunpack */