diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-08 23:05:33 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-08 23:05:33 +0000 |
commit | f5041538574c039b07c4db8d261bd33ec0f3bab0 (patch) | |
tree | d4fc2f48c7209e3303b5c48abc211e3a961a7dac /firmware/target/arm/as3525/app.lds | |
parent | 20a78a36f36967651032ab10b4ee31412e37b69d (diff) | |
download | rockbox-f5041538574c039b07c4db8d261bd33ec0f3bab0.tar.gz rockbox-f5041538574c039b07c4db8d261bd33ec0f3bab0.zip |
FS#10048 : enable MMU and data cache on Sansa AMS to give a major speed up
- cache IRAM and DRAM
- map IRAM just next to DRAM to remove the need for -mlong-calls and reduce binsize
- tweak delays in Fuze button code
- tweak delays in Clip button code (down button sometimes doesn't respond anyway : an alternate driver is being worked on)
Before reporting any problem, please check your filesystem or format your player from the OF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21228 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/app.lds')
-rw-r--r-- | firmware/target/arm/as3525/app.lds | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/firmware/target/arm/as3525/app.lds b/firmware/target/arm/as3525/app.lds index 45ae30f9f3..eb5b28f852 100644 --- a/firmware/target/arm/as3525/app.lds +++ b/firmware/target/arm/as3525/app.lds | |||
@@ -55,6 +55,12 @@ SECTIONS | |||
55 | { | 55 | { |
56 | loadaddress = DRAM_ORIG; | 56 | loadaddress = DRAM_ORIG; |
57 | 57 | ||
58 | .vectors : | ||
59 | { | ||
60 | _vectors_start = .; | ||
61 | *(.init.text) | ||
62 | } > DRAM | ||
63 | |||
58 | .text : | 64 | .text : |
59 | { | 65 | { |
60 | _loadaddress = .; | 66 | _loadaddress = .; |
@@ -83,14 +89,6 @@ SECTIONS | |||
83 | *(.eh_frame) | 89 | *(.eh_frame) |
84 | } | 90 | } |
85 | 91 | ||
86 | .vectors IRAMORIG: | ||
87 | { | ||
88 | _vectors_start = .; | ||
89 | *(.init.text) | ||
90 | } > IRAM AT > DRAM | ||
91 | |||
92 | _vectorscopy = LOADADDR(.vectors); | ||
93 | |||
94 | .iram : | 92 | .iram : |
95 | { | 93 | { |
96 | _iramstart = .; | 94 | _iramstart = .; |