summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/sansaclipplus.h2
-rw-r--r--firmware/export/config/sansaclipv2.h2
-rw-r--r--firmware/export/config/sansafuzev2.h2
-rw-r--r--firmware/target/arm/as3525/system-as3525.c2
4 files changed, 5 insertions, 3 deletions
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index 875ef308d3..79a7776b51 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -191,7 +191,7 @@
191#define CONFIG_LED LED_VIRTUAL 191#define CONFIG_LED LED_VIRTUAL
192 192
193/* Define this if you have adjustable CPU frequency */ 193/* Define this if you have adjustable CPU frequency */
194#define HAVE_ADJUSTABLE_CPU_FREQ 194//#define HAVE_ADJUSTABLE_CPU_FREQ
195 195
196#define BOOTFILE_EXT "sansa" 196#define BOOTFILE_EXT "sansa"
197#define BOOTFILE "rockbox." BOOTFILE_EXT 197#define BOOTFILE "rockbox." BOOTFILE_EXT
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h
index 876d95ac22..8780395bcb 100644
--- a/firmware/export/config/sansaclipv2.h
+++ b/firmware/export/config/sansaclipv2.h
@@ -179,7 +179,7 @@
179#define CONFIG_LED LED_VIRTUAL 179#define CONFIG_LED LED_VIRTUAL
180 180
181/* Define this if you have adjustable CPU frequency */ 181/* Define this if you have adjustable CPU frequency */
182#define HAVE_ADJUSTABLE_CPU_FREQ 182//#define HAVE_ADJUSTABLE_CPU_FREQ
183 183
184#define BOOTFILE_EXT "sansa" 184#define BOOTFILE_EXT "sansa"
185#define BOOTFILE "rockbox." BOOTFILE_EXT 185#define BOOTFILE "rockbox." BOOTFILE_EXT
diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h
index b920e4153b..38fa4b6605 100644
--- a/firmware/export/config/sansafuzev2.h
+++ b/firmware/export/config/sansafuzev2.h
@@ -196,7 +196,7 @@
196#endif /* !BOOTLOADER */ 196#endif /* !BOOTLOADER */
197 197
198/* Define this if you have adjustable CPU frequency */ 198/* Define this if you have adjustable CPU frequency */
199#define HAVE_ADJUSTABLE_CPU_FREQ 199//#define HAVE_ADJUSTABLE_CPU_FREQ
200 200
201#define BOOTFILE_EXT "sansa" 201#define BOOTFILE_EXT "sansa"
202#define BOOTFILE "rockbox." BOOTFILE_EXT 202#define BOOTFILE "rockbox." BOOTFILE_EXT
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index 51fcd97980..97063074b9 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)
453 } 453 }
454} 454}
455#else /* as3525v2 */ 455#else /* as3525v2 */
456/* FIXME : disabled for now, seems to cause buggy memory accesses
457 * Disabling MMU or putting the function in uncached memory seems to help? */
456void set_cpu_frequency(long frequency) 458void set_cpu_frequency(long frequency)
457{ 459{
458 int oldstatus = disable_irq_save(); 460 int oldstatus = disable_irq_save();