diff options
author | Dave Chapman <dave@dchapman.com> | 2008-10-11 12:02:23 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-10-11 12:02:23 +0000 |
commit | 1a549d49f77da1fdf028bfe9b9669ece055069a4 (patch) | |
tree | 014425bef75f399469c3f29b9f5f8ff149fe65da /rbutil/mkamsboot/dualboot.S | |
parent | 1c4bcfac691d4473cf513ba958c8edbdc8c97939 (diff) | |
download | rockbox-1a549d49f77da1fdf028bfe9b9669ece055069a4.tar.gz rockbox-1a549d49f77da1fdf028bfe9b9669ece055069a4.zip |
Fix some off-by-one errors, plus remove some unused variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18768 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/mkamsboot/dualboot.S')
-rw-r--r-- | rbutil/mkamsboot/dualboot.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/mkamsboot/dualboot.S b/rbutil/mkamsboot/dualboot.S index 786f610aef..471158e9a8 100644 --- a/rbutil/mkamsboot/dualboot.S +++ b/rbutil/mkamsboot/dualboot.S @@ -39,7 +39,7 @@ start: ldr r1, uclunpack_size /* Source length */ sub r2, r0, r1 /* Source start - 1*/ - ldr r3, =DRAM_SIZE /* Destination end */ + ldr r3, =(DRAM_SIZE-1) /* Destination end */ uclcopy: ldrb r4, [r0], #-1 |