summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525
diff options
context:
space:
mode:
authorMihail Zenkov <mihail.zenkov@gmail.com>2016-08-11 19:49:57 +0000
committerMihail Zenkov <mihail.zenkov@gmail.com>2016-08-11 19:49:57 +0000
commita25d0c58aa801087e80b479a7f536d519a422891 (patch)
tree7f89d6d2615486e595608a25821e2522b9d5bd87 /firmware/target/arm/as3525
parentcfa1c843f254ac56fa2b2b5d481cc01425592a1e (diff)
downloadrockbox-a25d0c58aa801087e80b479a7f536d519a422891.tar.gz
rockbox-a25d0c58aa801087e80b479a7f536d519a422891.tar.bz2
rockbox-a25d0c58aa801087e80b479a7f536d519a422891.zip
Increase CVDD1 only for Clip+ version 0
Change-Id: I839ba2191a5c52ef6f58fd4a273db628b690a05c
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index a7fa78a0d6..af11d7d842 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -484,7 +484,10 @@ void set_cpu_frequency(long frequency)
#if defined(SANSA_CLIPZIP)
ascodec_write_pmu(0x17, 1, 0x80 | 19);
#elif defined(SANSA_CLIPPLUS)
- ascodec_write_pmu(0x17, 1, 0x80 | 26);
+ if (amsv2_variant)
+ ascodec_write_pmu(0x17, 1, 0x80 | 22);
+ else
+ ascodec_write_pmu(0x17, 1, 0x80 | 26);
#else
ascodec_write_pmu(0x17, 1, 0x80 | 22);
#endif