diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-07-26 21:51:44 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-07-26 21:51:44 +0000 |
commit | 3deb27053a7772e06ac40bbabe230fabcef882f0 (patch) | |
tree | 3a6b26235cab95fc21eb997f762113df9ae22c49 /firmware/target/coldfire | |
parent | 31848ac8bd4f6696238bafc4a07e2ba84605c3af (diff) | |
download | rockbox-3deb27053a7772e06ac40bbabe230fabcef882f0.tar.gz 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')
-rw-r--r-- | firmware/target/coldfire/iaudio/system-iaudio.c | 4 | ||||
-rw-r--r-- | firmware/target/coldfire/iriver/system-iriver.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iaudio/system-iaudio.c b/firmware/target/coldfire/iaudio/system-iaudio.c index 565f75aa6d..d934577911 100644 --- a/firmware/target/coldfire/iaudio/system-iaudio.c +++ b/firmware/target/coldfire/iaudio/system-iaudio.c | |||
@@ -24,6 +24,8 @@ | |||
24 | #include "timer.h" | 24 | #include "timer.h" |
25 | #include "pcf50606.h" | 25 | #include "pcf50606.h" |
26 | 26 | ||
27 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | ||
28 | |||
27 | /* Settings for all possible clock frequencies (with properly working timers) | 29 | /* Settings for all possible clock frequencies (with properly working timers) |
28 | * | 30 | * |
29 | * xxx_REFRESH_TIMER below | 31 | * xxx_REFRESH_TIMER below |
@@ -113,3 +115,5 @@ void set_cpu_frequency(long frequency) | |||
113 | break; | 115 | break; |
114 | } | 116 | } |
115 | } | 117 | } |
118 | |||
119 | #endif /* HAVE_ADJUSTABLE_CPU_FREQ */ | ||
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 @@ | |||
24 | #include "timer.h" | 24 | #include "timer.h" |
25 | #include "pcf50606.h" | 25 | #include "pcf50606.h" |
26 | 26 | ||
27 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | ||
28 | |||
27 | /* Settings for all possible clock frequencies (with properly working timers) | 29 | /* Settings for all possible clock frequencies (with properly working timers) |
28 | * NOTE: Some 5249 chips don't like having PLLDIV set to 0. We must avoid that! | 30 | * NOTE: Some 5249 chips don't like having PLLDIV set to 0. We must avoid that! |
29 | * | 31 | * |
@@ -155,3 +157,5 @@ void set_cpu_frequency(long frequency) | |||
155 | break; | 157 | break; |
156 | } | 158 | } |
157 | } | 159 | } |
160 | |||
161 | #endif /* HAVE_ADJUSTABLE_CPU_FREQ */ | ||