summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2016-03-27 22:46:53 +0200
committerMichael Giacomelli <giac2000@hotmail.com>2016-03-27 23:14:51 +0200
commit7be692e80612ce180d1dc4c796f6ee0586ec565a (patch)
treefdbadbf92805cebb557b080daba8e9b10b7264ee /firmware/export
parent775b21ebc45051b51851ee5ed6597c221ed9cede (diff)
downloadrockbox-7be692e80612ce180d1dc4c796f6ee0586ec565a.tar.gz
rockbox-7be692e80612ce180d1dc4c796f6ee0586ec565a.zip
Enable voltage scaling on AMSv2.
Voltage is reduced when the CPU is unboosted, resulting in a large reduction in power consumption. In analogy with the AMSv1 voltage scaling code (currently disabled due to problems with SD cards), I have defined a config file option to enable/disable it. Change-Id: Ia89c31ec06dd012354b4d53435e7b5b36243b206
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/sansaclipplus.h3
-rw-r--r--firmware/export/config/sansaclipv2.h3
-rw-r--r--firmware/export/config/sansaclipzip.h3
-rw-r--r--firmware/export/config/sansafuzev2.h3
4 files changed, 12 insertions, 0 deletions
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index 6b84faabd4..faa22259a6 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -198,6 +198,9 @@
198/* Define this if you have adjustable CPU frequency */ 198/* Define this if you have adjustable CPU frequency */
199#define HAVE_ADJUSTABLE_CPU_FREQ 199#define HAVE_ADJUSTABLE_CPU_FREQ
200 200
201/*define this to enable CPU voltage scaling on AMS devices*/
202#define HAVE_ADJUSTABLE_CPU_VOLTAGE
203
201#define BOOTFILE_EXT "sansa" 204#define BOOTFILE_EXT "sansa"
202#define BOOTFILE "rockbox." BOOTFILE_EXT 205#define BOOTFILE "rockbox." BOOTFILE_EXT
203#define BOOTDIR "/.rockbox" 206#define BOOTDIR "/.rockbox"
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h
index 5f6d195810..301cfc8c7f 100644
--- a/firmware/export/config/sansaclipv2.h
+++ b/firmware/export/config/sansaclipv2.h
@@ -194,6 +194,9 @@
194/* Define this if you have adjustable CPU frequency */ 194/* Define this if you have adjustable CPU frequency */
195#define HAVE_ADJUSTABLE_CPU_FREQ 195#define HAVE_ADJUSTABLE_CPU_FREQ
196 196
197/*define this to enable CPU voltage scaling on AMS devices*/
198#define HAVE_ADJUSTABLE_CPU_VOLTAGE
199
197#define BOOTFILE_EXT "sansa" 200#define BOOTFILE_EXT "sansa"
198#define BOOTFILE "rockbox." BOOTFILE_EXT 201#define BOOTFILE "rockbox." BOOTFILE_EXT
199#define BOOTDIR "/.rockbox" 202#define BOOTDIR "/.rockbox"
diff --git a/firmware/export/config/sansaclipzip.h b/firmware/export/config/sansaclipzip.h
index b028dadb75..ea1c57193d 100644
--- a/firmware/export/config/sansaclipzip.h
+++ b/firmware/export/config/sansaclipzip.h
@@ -197,6 +197,9 @@
197/* Define this if you have adjustable CPU frequency */ 197/* Define this if you have adjustable CPU frequency */
198#define HAVE_ADJUSTABLE_CPU_FREQ 198#define HAVE_ADJUSTABLE_CPU_FREQ
199 199
200/*define this to enable CPU voltage scaling on AMS devices*/
201#define HAVE_ADJUSTABLE_CPU_VOLTAGE
202
200#define BOOTFILE_EXT "sansa" 203#define BOOTFILE_EXT "sansa"
201#define BOOTFILE "rockbox." BOOTFILE_EXT 204#define BOOTFILE "rockbox." BOOTFILE_EXT
202#define BOOTDIR "/.rockbox" 205#define BOOTDIR "/.rockbox"
diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h
index 3b4fb2279b..523a331df1 100644
--- a/firmware/export/config/sansafuzev2.h
+++ b/firmware/export/config/sansafuzev2.h
@@ -210,6 +210,9 @@
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 this to enable CPU voltage scaling on AMS devices*/
214#define HAVE_ADJUSTABLE_CPU_VOLTAGE
215
213#define BOOTFILE_EXT "sansa" 216#define BOOTFILE_EXT "sansa"
214#define BOOTFILE "rockbox." BOOTFILE_EXT 217#define BOOTFILE "rockbox." BOOTFILE_EXT
215#define BOOTDIR "/.rockbox" 218#define BOOTDIR "/.rockbox"