summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/export/config/xduoox3.h6
-rw-r--r--firmware/target/mips/ingenic_jz47xx/system-jz4760.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h
index fa86caf511..7de8fa1510 100644
--- a/firmware/export/config/xduoox3.h
+++ b/firmware/export/config/xduoox3.h
@@ -160,13 +160,13 @@
#define CONFIG_CPU JZ4760B
/* If we have adjustable frequency */
-#define CPUFREQ_MAX 576000000 // datasheet sez 600MHz max. Must be multiple of 48!
+#define CPUFREQ_MAX 480000000 // datasheet sez 600MHz max. Must be multiple of 48!
#define CPUFREQ_MIN 192000000
#define CPUFREQ_NORMAL CPUFREQ_MIN
#ifndef BOOTLOADER
-#define HAVE_ADJUSTABLE_CPU_FREQ
-#define HAVE_GUI_BOOST
+//#define HAVE_ADJUSTABLE_CPU_FREQ
+//#define HAVE_GUI_BOOST
#endif
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
diff --git a/firmware/target/mips/ingenic_jz47xx/system-jz4760.c b/firmware/target/mips/ingenic_jz47xx/system-jz4760.c
index eab3ef64e6..73bd31c72c 100644
--- a/firmware/target/mips/ingenic_jz47xx/system-jz4760.c
+++ b/firmware/target/mips/ingenic_jz47xx/system-jz4760.c
@@ -451,7 +451,7 @@ static void pll0_init(unsigned int freq)
* DIV should be one of [1, 2, 3, 4, 6, 8]
*/
const int div[2][6] = { { 1, 2, 2, 2, 2, 2 },
- { 1, 6, 6, 6, 6, 6 } };
+ { 1, 4, 4, 4, 4, 4 } };
const int n2FR[9] = {
0, 0, 1, 2, 3, 0, 4, 0, 5
};