diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-03-10 21:39:04 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-03-10 21:39:04 +0000 |
commit | 9603e4e92ff9a4ae656cc4a857bdb655cf126375 (patch) | |
tree | 4c4836092f7ba7001bb8f27ba39d094b26a614fe /firmware/target/arm/tcc780x/crt0.S | |
parent | 292f139f4c897b4332592f5fe93d2950fb6f24e7 (diff) |
D2: Fix IRAM usage, but disable it for now as Tremor does not fit ('make zip' works now). Fix duplicate CONFIG_LCD value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16623 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc780x/crt0.S')
-rw-r--r-- | firmware/target/arm/tcc780x/crt0.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/target/arm/tcc780x/crt0.S b/firmware/target/arm/tcc780x/crt0.S index 6e092bcd82..af37b40814 100644 --- a/firmware/target/arm/tcc780x/crt0.S +++ b/firmware/target/arm/tcc780x/crt0.S @@ -133,6 +133,16 @@ copied_start: ldrhi r5, [r4], #4 strhi r5, [r2], #4 bhi 1b + + /* Copy the IRAM (SRAM) */ + ldr r2, =_iramcopy + ldr r3, =_iramstart + ldr r4, =_iramend +1: + cmp r4, r3 + ldrhi r5, [r2], #4 + strhi r5, [r3], #4 + bhi 1b /* Zero out IBSS */ ldr r2, =_iedata |