diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-10 03:49:17 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-10 03:49:17 +0000 |
| commit | 4970f98619e7981a2b032e34bc0849cf139a1142 (patch) | |
| tree | 3aee4d1f88d94880a7a1bb059ccab24512140af4 | |
| parent | 270f136fd2b15b449edbb82ab175ce39d0407bf1 (diff) | |
| download | rockbox-4970f98619e7981a2b032e34bc0849cf139a1142.zip rockbox-4970f98619e7981a2b032e34bc0849cf139a1142.tar.gz rockbox-4970f98619e7981a2b032e34bc0849cf139a1142.tar.bz2 rockbox-4970f98619e7981a2b032e34bc0849cf139a1142.tar.xz | |
as3525v2: disable adjustable CPU frequency
When the rest of the code is confirmed to work properly without CPU
frequency changes, it will be possible to reliabily test set_cpu_frequency()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25924 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/export/config/sansaclipplus.h | 2 | ||||
| -rw-r--r-- | firmware/export/config/sansaclipv2.h | 2 | ||||
| -rw-r--r-- | firmware/export/config/sansafuzev2.h | 2 | ||||
| -rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h index 875ef30..79a7776 100644 --- a/firmware/export/config/sansaclipplus.h +++ b/firmware/export/config/sansaclipplus.h @@ -191,7 +191,7 @@ #define CONFIG_LED LED_VIRTUAL /* Define this if you have adjustable CPU frequency */ -#define HAVE_ADJUSTABLE_CPU_FREQ +//#define HAVE_ADJUSTABLE_CPU_FREQ #define BOOTFILE_EXT "sansa" #define BOOTFILE "rockbox." BOOTFILE_EXT diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h index 876d95a..8780395 100644 --- a/firmware/export/config/sansaclipv2.h +++ b/firmware/export/config/sansaclipv2.h @@ -179,7 +179,7 @@ #define CONFIG_LED LED_VIRTUAL /* Define this if you have adjustable CPU frequency */ -#define HAVE_ADJUSTABLE_CPU_FREQ +//#define HAVE_ADJUSTABLE_CPU_FREQ #define BOOTFILE_EXT "sansa" #define BOOTFILE "rockbox." BOOTFILE_EXT diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h index b920e41..38fa4b6 100644 --- a/firmware/export/config/sansafuzev2.h +++ b/firmware/export/config/sansafuzev2.h @@ -196,7 +196,7 @@ #endif /* !BOOTLOADER */ /* Define this if you have adjustable CPU frequency */ -#define HAVE_ADJUSTABLE_CPU_FREQ +//#define HAVE_ADJUSTABLE_CPU_FREQ #define BOOTFILE_EXT "sansa" #define BOOTFILE "rockbox." BOOTFILE_EXT diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index 51fcd97..9706307 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c @@ -453,6 +453,8 @@ void set_cpu_frequency(long frequency) } } #else /* as3525v2 */ +/* FIXME : disabled for now, seems to cause buggy memory accesses + * Disabling MMU or putting the function in uncached memory seems to help? */ void set_cpu_frequency(long frequency) { int oldstatus = disable_irq_save(); |