summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/iriver/system-iriver.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-07-26 21:51:44 +0000
committerJens Arnold <amiconn@rockbox.org>2007-07-26 21:51:44 +0000
commit3deb27053a7772e06ac40bbabe230fabcef882f0 (patch)
tree3a6b26235cab95fc21eb997f762113df9ae22c49 /firmware/target/coldfire/iriver/system-iriver.c
parent31848ac8bd4f6696238bafc4a07e2ba84605c3af (diff)
downloadrockbox-3deb27053a7772e06ac40bbabe230fabcef882f0.tar.gz
rockbox-3deb27053a7772e06ac40bbabe230fabcef882f0.tar.bz2
rockbox-3deb27053a7772e06ac40bbabe230fabcef882f0.zip
Fix red bootloader builds. * Fix non-working PP5022 bootloaders. Also define correct IRAM size for PP5022/PP5024 bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14015 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iriver/system-iriver.c')
-rw-r--r--firmware/target/coldfire/iriver/system-iriver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iriver/system-iriver.c b/firmware/target/coldfire/iriver/system-iriver.c
index f2973ac525..184f76cdad 100644
--- a/firmware/target/coldfire/iriver/system-iriver.c
+++ b/firmware/target/coldfire/iriver/system-iriver.c
@@ -24,6 +24,8 @@
#include "timer.h"
#include "pcf50606.h"
+#ifdef HAVE_ADJUSTABLE_CPU_FREQ
+
/* Settings for all possible clock frequencies (with properly working timers)
* NOTE: Some 5249 chips don't like having PLLDIV set to 0. We must avoid that!
*
@@ -155,3 +157,5 @@ void set_cpu_frequency(long frequency)
break;
}
}
+
+#endif /* HAVE_ADJUSTABLE_CPU_FREQ */