summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-06-08 23:05:33 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-06-08 23:05:33 +0000
commitf5041538574c039b07c4db8d261bd33ec0f3bab0 (patch)
treed4fc2f48c7209e3303b5c48abc211e3a961a7dac /tools
parent20a78a36f36967651032ab10b4ee31412e37b69d (diff)
downloadrockbox-f5041538574c039b07c4db8d261bd33ec0f3bab0.tar.gz
rockbox-f5041538574c039b07c4db8d261bd33ec0f3bab0.tar.bz2
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 'tools')
-rwxr-xr-xtools/configure12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/configure b/tools/configure
index a58e8c6e1c..f081b8ba72 100755
--- a/tools/configure
+++ b/tools/configure
@@ -259,7 +259,7 @@ arm7tdmicc () {
arm9tdmicc () {
prefixtools arm-elf-
GCCOPTS="$CCOPTS -mcpu=arm9tdmi"
- if test "$modelname" != "gigabeatf"; then
+ if test "$modelname" != "gigabeatf" -a "$t_manufacturer" != "as3525"; then
GCCOPTS="$GCCOPTS -mlong-calls"
fi
GCCOPTIMIZE="-fomit-frame-pointer"
@@ -1734,7 +1734,6 @@ fi
modelname="clip"
target="-DSANSA_CLIP"
memory=2
- arm9tdmicc
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_native="$bmp2rb_mono"
tool="$rootdir/tools/scramble -add=clip"
@@ -1747,6 +1746,7 @@ fi
t_cpu="arm"
t_manufacturer="as3525"
t_model="sansa-clip"
+ arm9tdmicc
;;
@@ -1755,7 +1755,6 @@ fi
modelname="e200v2"
target="-DSANSA_E200V2"
memory=8
- arm9tdmicc
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
tool="$rootdir/tools/scramble -add=e2v2"
@@ -1768,6 +1767,7 @@ fi
t_cpu="arm"
t_manufacturer="as3525"
t_model="sansa-e200v2"
+ arm9tdmicc
;;
@@ -1776,7 +1776,6 @@ fi
modelname="m200v4"
target="-DSANSA_M200V4"
memory=2
- arm9tdmicc
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_native="$bmp2rb_mono"
tool="$rootdir/tools/scramble -add=m2v4"
@@ -1789,6 +1788,7 @@ fi
t_cpu="arm"
t_manufacturer="as3525"
t_model="sansa-m200v4"
+ arm9tdmicc
;;
@@ -1797,7 +1797,6 @@ fi
modelname="fuze"
target="-DSANSA_FUZE"
memory=8
- arm9tdmicc
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
tool="$rootdir/tools/scramble -add=fuze"
@@ -1810,6 +1809,7 @@ fi
t_cpu="arm"
t_manufacturer="as3525"
t_model="sansa-fuze"
+ arm9tdmicc
;;
@@ -1818,7 +1818,6 @@ fi
modelname="c200v2"
target="-DSANSA_C200V2"
memory=2 # as per OF diagnosis mode
- arm9tdmicc
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
tool="$rootdir/tools/scramble -add=c2v2"
@@ -1834,6 +1833,7 @@ fi
t_cpu="arm"
t_manufacturer="as3525"
t_model="sansa-c200v2"
+ arm9tdmicc
;;
60|Clipv2|clipv2)