From 7be692e80612ce180d1dc4c796f6ee0586ec565a Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sun, 27 Mar 2016 22:46:53 +0200 Subject: 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 --- firmware/export/config/sansaclipzip.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/export/config/sansaclipzip.h') 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 @@ /* Define this if you have adjustable CPU frequency */ #define HAVE_ADJUSTABLE_CPU_FREQ +/*define this to enable CPU voltage scaling on AMS devices*/ +#define HAVE_ADJUSTABLE_CPU_VOLTAGE + #define BOOTFILE_EXT "sansa" #define BOOTFILE "rockbox." BOOTFILE_EXT #define BOOTDIR "/.rockbox" -- cgit v1.2.3