summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-17 05:10:41 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-17 05:10:41 +0000
commit37862a215763411b1a939f0ba9c48ffe7d185247 (patch)
tree4a599edbdd619e594dd3a906415b773f625893b0
parentab7365610b2a1b2b866a4b6bf5aaaec703678b83 (diff)
downloadrockbox-37862a215763411b1a939f0ba9c48ffe7d185247.tar.gz
rockbox-37862a215763411b1a939f0ba9c48ffe7d185247.zip
as3525: Fix previous commit, IRAM_ORIG can not be represented as an immediate value on targets with 2MB of ram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25230 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/crt0.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/crt0.S b/firmware/target/arm/crt0.S
index 5d07d34c59..001d651a61 100644
--- a/firmware/target/arm/crt0.S
+++ b/firmware/target/arm/crt0.S
@@ -74,7 +74,7 @@ newstart:
74 bl map_section 74 bl map_section
75 75
76 mov r0, #0 @ physical address 76 mov r0, #0 @ physical address
77 mov r1, #IRAM_ORIG @ virtual address 77 ldr r1, =IRAM_ORIG @ virtual address
78 mov r2, #1 @ size : 1MB 78 mov r2, #1 @ size : 1MB
79 mov r3, #CACHE_ALL 79 mov r3, #CACHE_ALL
80 bl map_section 80 bl map_section