mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Try to fix problems on Clip+ (not sure why they appear randomly)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25421 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
910e93cd2a
commit
b79ca59194
1 changed files with 6 additions and 0 deletions
|
|
@ -255,7 +255,13 @@ void system_init(void)
|
||||||
TIC (Test Interface Controller) > DMA > USB > IDE > ARM */
|
TIC (Test Interface Controller) > DMA > USB > IDE > ARM */
|
||||||
|
|
||||||
CGU_PROC = 0; /* fclk 24 MHz */
|
CGU_PROC = 0; /* fclk 24 MHz */
|
||||||
|
#if CONFIG_CPU == AS3525v2
|
||||||
|
/* pclk is always based on PLLA, since we don't know the current PLLA speed,
|
||||||
|
* avoid having pclk too fast and hope it's not too low */
|
||||||
|
CGU_PERI |= 0xf << 2; /* pclk lowest */
|
||||||
|
#else
|
||||||
CGU_PERI &= ~0x7f; /* pclk 24 MHz */
|
CGU_PERI &= ~0x7f; /* pclk 24 MHz */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* bits 31:30 should be set to 0 in arm926-ejs */
|
/* bits 31:30 should be set to 0 in arm926-ejs */
|
||||||
asm volatile(
|
asm volatile(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue