diff options
Diffstat (limited to 'firmware/target/arm/tcc77x/crt0.S')
-rw-r--r-- | firmware/target/arm/tcc77x/crt0.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc77x/crt0.S b/firmware/target/arm/tcc77x/crt0.S index 7c900212db..251fd0c903 100644 --- a/firmware/target/arm/tcc77x/crt0.S +++ b/firmware/target/arm/tcc77x/crt0.S | |||
@@ -109,7 +109,7 @@ start_loc: | |||
109 | mov r0, #0x20000000 /* Otherwise, load address is the start of DRAM */ | 109 | mov r0, #0x20000000 /* Otherwise, load address is the start of DRAM */ |
110 | #endif | 110 | #endif |
111 | mov r1, #0x20000000 /* Destination: 1MB from end of DRAM */ | 111 | mov r1, #0x20000000 /* Destination: 1MB from end of DRAM */ |
112 | add r1, r1, #((MEM - 1) * 0x100000) | 112 | add r1, r1, #((MEMORYSIZE - 1) * 0x100000) |
113 | 113 | ||
114 | ldr r2, =_dataend | 114 | ldr r2, =_dataend |
115 | 1: | 115 | 1: |