From f5041538574c039b07c4db8d261bd33ec0f3bab0 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Mon, 8 Jun 2009 23:05:33 +0000 Subject: 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 --- firmware/target/arm/as3525/system-target.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/target/arm/as3525/system-target.h') diff --git a/firmware/target/arm/as3525/system-target.h b/firmware/target/arm/as3525/system-target.h index 713e96c4b8..daea180a64 100644 --- a/firmware/target/arm/as3525/system-target.h +++ b/firmware/target/arm/as3525/system-target.h @@ -25,4 +25,10 @@ #include "clock-target.h" /* CPUFREQ_* are defined here */ +#ifdef BOOTLOADER +#define UNCACHED_ADDR(a) (a) +#else +#define UNCACHED_ADDR(a) (a + 0x10000000) +#endif + #endif /* SYSTEM_TARGET_H */ -- cgit v1.2.3