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:
Rafaël Carré 2010-04-01 08:21:21 +00:00
parent 910e93cd2a
commit b79ca59194

View file

@ -255,7 +255,13 @@ void system_init(void)
TIC (Test Interface Controller) > DMA > USB > IDE > ARM */
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 */
#endif
/* bits 31:30 should be set to 0 in arm926-ejs */
asm volatile(