xduoox3: When not using dynamic clocks, use max cpu

Change-Id: I789bb4eccc5b663156f5d1b7cd5d291b60ccb18d
This commit is contained in:
Solomon Peachy 2020-08-28 17:11:53 -04:00
parent a2b77446c2
commit fc7eb3b2a3

View file

@ -152,10 +152,9 @@
/* Define this if you have a Ingenic JZ4760B */
#define CONFIG_CPU JZ4760B
/* We have adjustable frequency */
/* If 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 CPUFREQ_NORMAL CPUFREQ_MIN
#ifndef BOOTLOADER
@ -163,7 +162,10 @@
#define HAVE_GUI_BOOST
#endif
#ifndef HAVE_ADJUSTABLE_CPU_FREQ
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
#define CPUFREQ_DEFAULT CPUFREQ_MIN
#else
#define CPUFREQ_DEFAULT CPUFREQ_MAX
#define CPU_FREQ CPUFREQ_MAX
#endif