diff options
author | Mihail Zenkov <mihail.zenkov@gmail.com> | 2016-01-19 00:21:10 +0100 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2016-01-21 19:26:00 +0100 |
commit | 3f54101858210c921e6d0039f29f649459a9a1a9 (patch) | |
tree | 5b24f6a71922e58d853e0df778afe8ed9eccd8da /firmware/export | |
parent | 7432af09580a2e88fbc47271b38d02dfc0c79837 (diff) | |
download | rockbox-3f54101858210c921e6d0039f29f649459a9a1a9.tar.gz rockbox-3f54101858210c921e6d0039f29f649459a9a1a9.zip |
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
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config/sansaclipplus.h | 4 | ||||
-rw-r--r-- | firmware/export/config/sansaclipv2.h | 4 | ||||
-rw-r--r-- | firmware/export/config/sansaclipzip.h | 4 | ||||
-rw-r--r-- | firmware/export/config/sansafuzev2.h | 4 |
4 files changed, 8 insertions, 8 deletions
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 @@ | |||
176 | #define CURRENT_MAX_CHG 150 | 176 | #define CURRENT_MAX_CHG 150 |
177 | 177 | ||
178 | /* Define this to the CPU frequency */ | 178 | /* Define this to the CPU frequency */ |
179 | #define CPU_FREQ 240000000 | 179 | #define CPU_FREQ 192000000 |
180 | 180 | ||
181 | /* Type of LCD */ | 181 | /* Type of LCD */ |
182 | #define CONFIG_LCD LCD_SSD1303 | 182 | #define CONFIG_LCD LCD_SSD1303 |
@@ -194,7 +194,7 @@ | |||
194 | #define CONFIG_LED LED_VIRTUAL | 194 | #define CONFIG_LED LED_VIRTUAL |
195 | 195 | ||
196 | /* Define this if you have adjustable CPU frequency */ | 196 | /* Define this if you have adjustable CPU frequency */ |
197 | //#define HAVE_ADJUSTABLE_CPU_FREQ | 197 | #define HAVE_ADJUSTABLE_CPU_FREQ |
198 | 198 | ||
199 | #define BOOTFILE_EXT "sansa" | 199 | #define BOOTFILE_EXT "sansa" |
200 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 200 | #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 @@ | |||
172 | #define CURRENT_MAX_CHG 150 | 172 | #define CURRENT_MAX_CHG 150 |
173 | 173 | ||
174 | /* Define this to the CPU frequency */ | 174 | /* Define this to the CPU frequency */ |
175 | #define CPU_FREQ 240000000 | 175 | #define CPU_FREQ 192000000 |
176 | 176 | ||
177 | /* Type of LCD */ | 177 | /* Type of LCD */ |
178 | #define CONFIG_LCD LCD_SSD1303 | 178 | #define CONFIG_LCD LCD_SSD1303 |
@@ -190,7 +190,7 @@ | |||
190 | #define CONFIG_LED LED_VIRTUAL | 190 | #define CONFIG_LED LED_VIRTUAL |
191 | 191 | ||
192 | /* Define this if you have adjustable CPU frequency */ | 192 | /* Define this if you have adjustable CPU frequency */ |
193 | //#define HAVE_ADJUSTABLE_CPU_FREQ | 193 | #define HAVE_ADJUSTABLE_CPU_FREQ |
194 | 194 | ||
195 | #define BOOTFILE_EXT "sansa" | 195 | #define BOOTFILE_EXT "sansa" |
196 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 196 | #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 @@ | |||
175 | #define CURRENT_MAX_CHG 150 | 175 | #define CURRENT_MAX_CHG 150 |
176 | 176 | ||
177 | /* Define this to the CPU frequency */ | 177 | /* Define this to the CPU frequency */ |
178 | #define CPU_FREQ 240000000 | 178 | #define CPU_FREQ 192000000 |
179 | 179 | ||
180 | /* Type of LCD */ | 180 | /* Type of LCD */ |
181 | #define CONFIG_LCD LCD_CLIPZIP | 181 | #define CONFIG_LCD LCD_CLIPZIP |
@@ -193,7 +193,7 @@ | |||
193 | #define CONFIG_LED LED_VIRTUAL | 193 | #define CONFIG_LED LED_VIRTUAL |
194 | 194 | ||
195 | /* Define this if you have adjustable CPU frequency */ | 195 | /* Define this if you have adjustable CPU frequency */ |
196 | //#define HAVE_ADJUSTABLE_CPU_FREQ | 196 | #define HAVE_ADJUSTABLE_CPU_FREQ |
197 | 197 | ||
198 | #define BOOTFILE_EXT "sansa" | 198 | #define BOOTFILE_EXT "sansa" |
199 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 199 | #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 @@ | |||
182 | #define CURRENT_MAX_CHG 200 | 182 | #define CURRENT_MAX_CHG 200 |
183 | 183 | ||
184 | /* Define this to the CPU frequency */ | 184 | /* Define this to the CPU frequency */ |
185 | #define CPU_FREQ 240000000 | 185 | #define CPU_FREQ 192000000 |
186 | 186 | ||
187 | /* Type of LCD */ | 187 | /* Type of LCD */ |
188 | #define CONFIG_LCD LCD_FUZE | 188 | #define CONFIG_LCD LCD_FUZE |
@@ -208,7 +208,7 @@ | |||
208 | #define HAVE_BOOTLOADER_USB_MODE | 208 | #define HAVE_BOOTLOADER_USB_MODE |
209 | 209 | ||
210 | /* Define this if you have adjustable CPU frequency */ | 210 | /* Define this if you have adjustable CPU frequency */ |
211 | //#define HAVE_ADJUSTABLE_CPU_FREQ | 211 | #define HAVE_ADJUSTABLE_CPU_FREQ |
212 | 212 | ||
213 | #define BOOTFILE_EXT "sansa" | 213 | #define BOOTFILE_EXT "sansa" |
214 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 214 | #define BOOTFILE "rockbox." BOOTFILE_EXT |