summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/crt0-pp.S
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-05-19 14:35:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-05-19 14:35:11 +0000
commitcca0e3d8f8a9cd713e87dd2ae1c8de19f025b485 (patch)
treed19545e032e3d4cb1a8aff92d572ecad724c8bb8 /firmware/target/arm/crt0-pp.S
parent6ea228d39d780ea86967fc11fa86c34e8f4779fe (diff)
downloadrockbox-cca0e3d8f8a9cd713e87dd2ae1c8de19f025b485.tar.gz
rockbox-cca0e3d8f8a9cd713e87dd2ae1c8de19f025b485.zip
FS#5472 add a memory size prompt to configure to allow ipod video builds for
64 MB ram git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13408 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/crt0-pp.S')
-rw-r--r--firmware/target/arm/crt0-pp.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/crt0-pp.S b/firmware/target/arm/crt0-pp.S
index 362d736b49..41a0495861 100644
--- a/firmware/target/arm/crt0-pp.S
+++ b/firmware/target/arm/crt0-pp.S
@@ -88,7 +88,12 @@ pad_skip:
ldr r3, =0x3f84 /* r3 and r1 values here are magic, don't touch */
orr r3, r3, r5 /* adjust for execute address */
ldr r2, =0xf000f014
+#if MEM > 32
+ mov r1, #0x7400 /* r1 appears to indicate how much memory (not in
+ bytes) is remapped */
+#else
mov r1, #0x3a00
+#endif
ldr r0, =0xf000f010
mov pc, #0x40000000