summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/xduoox3.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/xduoox3.h')
-rw-r--r--firmware/export/config/xduoox3.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h
index f510495bd9..999b6b9912 100644
--- a/firmware/export/config/xduoox3.h
+++ b/firmware/export/config/xduoox3.h
@@ -148,8 +148,18 @@
/* Define this if you have a Ingenic JZ4760B */
#define CONFIG_CPU JZ4760B
-/* Define this to the CPU frequency */
-#define CPU_FREQ 480000000 /* CPU clock: 480 MHz -- Keep a multiple of 48MHz! */
+/* We have adjustable frequency */
+#define CPUFREQ_MAX 576000000 // datasheet sez 600MHz max. Must be multiple of 48!
+#define CPUFREQ_MIN 192000000
+#define CPUFREQ_DEFAULT CPUFREQ_MIN
+
+#define HAVE_ADJUSTABLE_CPU_FREQ
+#ifdef HAVE_ADJUSTABLE_CPU_FREQ
+//#define HAVE_GUI_BOOST
+#define CPUFREQ_NORMAL CPUFREQ_MIN
+#else
+#define CPU_FREQ CPUFREQ_MAX
+#endif
/* Define this if you want to use the JZ47XX i2c interface */
#define CONFIG_I2C I2C_JZ47XX