mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
This commit is contained in:
parent
775b21ebc4
commit
7be692e806
5 changed files with 14 additions and 2 deletions
|
|
@ -210,6 +210,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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue