diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-08-28 17:11:53 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-08-29 02:53:06 +0000 |
commit | fc7eb3b2a399104f72699a6a3a795106250058a8 (patch) | |
tree | 3833474c27198de65fdf38fccb95f80773a582d2 /firmware | |
parent | a2b77446c2bbc76a88dbabdc7f99dafc01d157ab (diff) | |
download | rockbox-fc7eb3b2a399104f72699a6a3a795106250058a8.tar.gz rockbox-fc7eb3b2a399104f72699a6a3a795106250058a8.zip |
xduoox3: When not using dynamic clocks, use max cpu
Change-Id: I789bb4eccc5b663156f5d1b7cd5d291b60ccb18d
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config/xduoox3.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h index e859dff51e..e5b5ed9a10 100644 --- a/firmware/export/config/xduoox3.h +++ b/firmware/export/config/xduoox3.h | |||
@@ -152,10 +152,9 @@ | |||
152 | /* Define this if you have a Ingenic JZ4760B */ | 152 | /* Define this if you have a Ingenic JZ4760B */ |
153 | #define CONFIG_CPU JZ4760B | 153 | #define CONFIG_CPU JZ4760B |
154 | 154 | ||
155 | /* We have adjustable frequency */ | 155 | /* If we have adjustable frequency */ |
156 | #define CPUFREQ_MAX 576000000 // datasheet sez 600MHz max. Must be multiple of 48! | 156 | #define CPUFREQ_MAX 576000000 // datasheet sez 600MHz max. Must be multiple of 48! |
157 | #define CPUFREQ_MIN 192000000 | 157 | #define CPUFREQ_MIN 192000000 |
158 | #define CPUFREQ_DEFAULT CPUFREQ_MIN | ||
159 | #define CPUFREQ_NORMAL CPUFREQ_MIN | 158 | #define CPUFREQ_NORMAL CPUFREQ_MIN |
160 | 159 | ||
161 | #ifndef BOOTLOADER | 160 | #ifndef BOOTLOADER |
@@ -163,7 +162,10 @@ | |||
163 | #define HAVE_GUI_BOOST | 162 | #define HAVE_GUI_BOOST |
164 | #endif | 163 | #endif |
165 | 164 | ||
166 | #ifndef HAVE_ADJUSTABLE_CPU_FREQ | 165 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
166 | #define CPUFREQ_DEFAULT CPUFREQ_MIN | ||
167 | #else | ||
168 | #define CPUFREQ_DEFAULT CPUFREQ_MAX | ||
167 | #define CPU_FREQ CPUFREQ_MAX | 169 | #define CPU_FREQ CPUFREQ_MAX |
168 | #endif | 170 | #endif |
169 | 171 | ||