as3525*: initialize cpu_frequency correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27082 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
49a3808ddf
commit
a937b8ba05
1 changed files with 6 additions and 0 deletions
|
@ -265,6 +265,12 @@ void system_init(void)
|
|||
#endif
|
||||
AS3525_PCLK_SEL);
|
||||
|
||||
#if CONFIG_CPU == AS3525
|
||||
cpu_frequency = CPUFREQ_DEFAULT; /* fastbus */
|
||||
#else
|
||||
cpu_frequency = CPUFREQ_MAX;
|
||||
#endif
|
||||
|
||||
#if !defined(BOOTLOADER) && defined(SANSA_FUZE) || defined(SANSA_CLIP) || defined(SANSA_E200V2)
|
||||
/* XXX: remove me when we have a new bootloader */
|
||||
MPMC_DYNAMIC_CONTROL = 0x0; /* MPMCCLKOUT stops when all SDRAMs are idle */
|
||||
|
|
Loading…
Reference in a new issue