summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/system-coldfire.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-10-02 07:54:50 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-10-02 07:54:50 +0000
commitc90c18ea67b4f1f01befe871dd82f8a6b623a4d8 (patch)
tree7861dfdf17465d99fb811ab66f7b591088644e99 /firmware/target/coldfire/system-coldfire.c
parent15b7321fe1345a9efd296fe135f19e1da45f0e7c (diff)
downloadrockbox-c90c18ea67b4f1f01befe871dd82f8a6b623a4d8.tar.gz
rockbox-c90c18ea67b4f1f01befe871dd82f8a6b623a4d8.zip
Thanks to LinusN, fix Coldfire bootloaders not booting - FS#7533
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14949 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/system-coldfire.c')
-rw-r--r--firmware/target/coldfire/system-coldfire.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/coldfire/system-coldfire.c b/firmware/target/coldfire/system-coldfire.c
index f33a44c3b4..8b20360b46 100644
--- a/firmware/target/coldfire/system-coldfire.c
+++ b/firmware/target/coldfire/system-coldfire.c
@@ -252,6 +252,10 @@ void system_init(void)
SPURVEC = 24;
MPARK = 0x81; /* PARK[1,0]=10 + BCR24BIT */
+
+#ifndef HAVE_ADJUSTABLE_CPU_FREQ
+ cf_set_cpu_frequency(CPUFREQ_DEFAULT);
+#endif
}
void system_reboot (void)