summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/system-coldfire.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-12-06 10:02:06 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-12-06 10:02:06 +0000
commit46a608bf07ec9d40bdd151e3283646682bb9e9bd (patch)
treeaab98a2c96a307ae6fee89e4eddf861a86dce487 /firmware/target/coldfire/system-coldfire.c
parent51189b4cb41fb70f4800286f99573f590941ddea (diff)
downloadrockbox-46a608bf07ec9d40bdd151e3283646682bb9e9bd.tar.gz
rockbox-46a608bf07ec9d40bdd151e3283646682bb9e9bd.zip
PLL was incorrectly initialized causing system to crash when ran from
ROM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11669 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/system-coldfire.c')
-rw-r--r--firmware/target/coldfire/system-coldfire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/system-coldfire.c b/firmware/target/coldfire/system-coldfire.c
index 2fc81496db..ff81d1cf39 100644
--- a/firmware/target/coldfire/system-coldfire.c
+++ b/firmware/target/coldfire/system-coldfire.c
@@ -314,6 +314,6 @@ int system_memory_guard(int newmode)
/* allow setting of audio clock related bits */
void coldfire_set_pllcr_audio_bits(long bits)
{
- PLLCR = (PLLCR & ~0x70c00000) | (bits & 0x70c00000);
+ PLLCR = (PLLCR & ~0x70400000) | (bits & 0x70400000);
}