diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-04-23 15:32:50 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-04-23 15:32:50 +0000 |
commit | 11cca264ff57ad0b234bd1cd2c9a2366b967feb7 (patch) | |
tree | 7693e7150d5abc9687966cc248bfbd550d356964 /firmware/export/system.h | |
parent | 6cee7579dbdc4d41c4df08c9395cf96c952ebab1 (diff) | |
download | rockbox-11cca264ff57ad0b234bd1cd2c9a2366b967feb7.tar.gz rockbox-11cca264ff57ad0b234bd1cd2c9a2366b967feb7.zip |
i.MX31/Gigabeat S: Implement frequency and voltage scaling-- 1.6V for 528MHz, and 1.35V for 264MHz and 132MHz. Keep DPTC overdrive ( > 400MHz) voltage scaling off for now because of uncertainties. Simplify the (working) mess later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25699 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/system.h')
-rw-r--r-- | firmware/export/system.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h index 9df382bc24..3984ebeb11 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h | |||
@@ -66,15 +66,17 @@ void cpu_boost(bool on_off); | |||
66 | #endif | 66 | #endif |
67 | void cpu_idle_mode(bool on_off); | 67 | void cpu_idle_mode(bool on_off); |
68 | int get_cpu_boost_counter(void); | 68 | int get_cpu_boost_counter(void); |
69 | #else | 69 | #else /* ndef HAVE_ADJUSTABLE_CPU_FREQ */ |
70 | #ifndef FREQ | ||
70 | #define FREQ CPU_FREQ | 71 | #define FREQ CPU_FREQ |
72 | #endif | ||
71 | #define set_cpu_frequency(frequency) | 73 | #define set_cpu_frequency(frequency) |
72 | #define cpu_boost(on_off) | 74 | #define cpu_boost(on_off) |
73 | #define cpu_boost_id(on_off, id) | 75 | #define cpu_boost_id(on_off, id) |
74 | #define cpu_idle_mode(on_off) | 76 | #define cpu_idle_mode(on_off) |
75 | #define get_cpu_boost_counter() | 77 | #define get_cpu_boost_counter() |
76 | #define get_cpu_boost_tracker() | 78 | #define get_cpu_boost_tracker() |
77 | #endif | 79 | #endif /* HAVE_ADJUSTABLE_CPU_FREQ */ |
78 | 80 | ||
79 | #ifdef CPU_BOOST_LOGGING | 81 | #ifdef CPU_BOOST_LOGGING |
80 | #define cpu_boost(on_off) cpu_boost_(on_off,__FILE__, __LINE__) | 82 | #define cpu_boost(on_off) cpu_boost_(on_off,__FILE__, __LINE__) |