From fc7eb3b2a399104f72699a6a3a795106250058a8 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 28 Aug 2020 17:11:53 -0400 Subject: xduoox3: When not using dynamic clocks, use max cpu Change-Id: I789bb4eccc5b663156f5d1b7cd5d291b60ccb18d --- firmware/export/config/xduoox3.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'firmware/export/config/xduoox3.h') 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 @@ /* 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 -- cgit v1.2.3