forked from len0rd/rockbox
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
This commit is contained in:
parent
270f136fd2
commit
4970f98619
4 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue