From 3f54101858210c921e6d0039f29f649459a9a1a9 Mon Sep 17 00:00:00 2001 From: Mihail Zenkov Date: Tue, 19 Jan 2016 00:21:10 +0100 Subject: Enable frequency scaling on AMSv2 devices. Voltage scaling is not yet enabled, but will follow once we are sure these changes are stable. Preliminary testing suggests a large increase in battery life, which will be further improved by voltage scaling. Patch by Mihail Zenkov with help from myself and others on the forums. Change-Id: I171d20bbee19a48c13cd14efb0d023883cc8c687 --- firmware/export/config/sansaclipplus.h | 4 ++-- firmware/export/config/sansaclipv2.h | 4 ++-- firmware/export/config/sansaclipzip.h | 4 ++-- firmware/export/config/sansafuzev2.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'firmware/export/config') diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h index a2df3d21c8..e9ebf02f85 100644 --- a/firmware/export/config/sansaclipplus.h +++ b/firmware/export/config/sansaclipplus.h @@ -176,7 +176,7 @@ #define CURRENT_MAX_CHG 150 /* Define this to the CPU frequency */ -#define CPU_FREQ 240000000 +#define CPU_FREQ 192000000 /* Type of LCD */ #define CONFIG_LCD LCD_SSD1303 @@ -194,7 +194,7 @@ #define CONFIG_LED LED_VIRTUAL /* Define this if you have adjustable CPU frequency */ -//#define HAVE_ADJUSTABLE_CPU_FREQ +#define HAVE_ADJUSTABLE_CPU_FREQ #define BOOTFILE_EXT "sansa" #define BOOTFILE "rockbox." BOOTFILE_EXT diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h index 8b0b84c1d0..d163d116cf 100644 --- a/firmware/export/config/sansaclipv2.h +++ b/firmware/export/config/sansaclipv2.h @@ -172,7 +172,7 @@ #define CURRENT_MAX_CHG 150 /* Define this to the CPU frequency */ -#define CPU_FREQ 240000000 +#define CPU_FREQ 192000000 /* Type of LCD */ #define CONFIG_LCD LCD_SSD1303 @@ -190,7 +190,7 @@ #define CONFIG_LED LED_VIRTUAL /* Define this if you have adjustable CPU frequency */ -//#define HAVE_ADJUSTABLE_CPU_FREQ +#define HAVE_ADJUSTABLE_CPU_FREQ #define BOOTFILE_EXT "sansa" #define BOOTFILE "rockbox." BOOTFILE_EXT diff --git a/firmware/export/config/sansaclipzip.h b/firmware/export/config/sansaclipzip.h index 9743261a52..1f6307865a 100644 --- a/firmware/export/config/sansaclipzip.h +++ b/firmware/export/config/sansaclipzip.h @@ -175,7 +175,7 @@ #define CURRENT_MAX_CHG 150 /* Define this to the CPU frequency */ -#define CPU_FREQ 240000000 +#define CPU_FREQ 192000000 /* Type of LCD */ #define CONFIG_LCD LCD_CLIPZIP @@ -193,7 +193,7 @@ #define CONFIG_LED LED_VIRTUAL /* Define this if you have adjustable CPU frequency */ -//#define HAVE_ADJUSTABLE_CPU_FREQ +#define HAVE_ADJUSTABLE_CPU_FREQ #define BOOTFILE_EXT "sansa" #define BOOTFILE "rockbox." BOOTFILE_EXT diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h index f53c287d87..3b4fb2279b 100644 --- a/firmware/export/config/sansafuzev2.h +++ b/firmware/export/config/sansafuzev2.h @@ -182,7 +182,7 @@ #define CURRENT_MAX_CHG 200 /* Define this to the CPU frequency */ -#define CPU_FREQ 240000000 +#define CPU_FREQ 192000000 /* Type of LCD */ #define CONFIG_LCD LCD_FUZE @@ -208,7 +208,7 @@ #define HAVE_BOOTLOADER_USB_MODE /* Define this if you have adjustable CPU frequency */ -//#define HAVE_ADJUSTABLE_CPU_FREQ +#define HAVE_ADJUSTABLE_CPU_FREQ #define BOOTFILE_EXT "sansa" #define BOOTFILE "rockbox." BOOTFILE_EXT -- cgit v1.2.3