summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/system-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-01-25 14:33:15 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-02-04 17:17:44 +0100
commitc156c5f5e57ee0ae5fc1dbba92550f80f9eaf4a8 (patch)
tree83bf7f706ab16b93e3a47abc75519e6b72186061 /firmware/target/arm/imx233/system-imx233.c
parentbaec807d70826522d9a1045fd3c3165ba205887f (diff)
downloadrockbox-c156c5f5e57ee0ae5fc1dbba92550f80f9eaf4a8.tar.gz
rockbox-c156c5f5e57ee0ae5fc1dbba92550f80f9eaf4a8.zip
zen/zenxfi: adjust maximum emi voltage
Running at 130MHz is unsafe since on those targets, we disable memory frequency scaling because it is unstable. That leads to situation where cpu is running at 64MHz and VDD is at 1.050V. But on STMP3700, the EMI uses the VDD rail instead of a dedicated VDDMEM rail as on STMP3780. Thus we are essentially running the EMI at 130MHz at 1.050V when the minimum recommened voltage is 1.2V. This commit runs the EMI at 64MHz all the time on the ZEN and ZEN X-Fi which will lead to reduce performance but hopefully increases stability. Change-Id: Ida6c2ec130b1778973e383d7c44a06a6ca8f9268
Diffstat (limited to 'firmware/target/arm/imx233/system-imx233.c')
-rw-r--r--firmware/target/arm/imx233/system-imx233.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/system-imx233.c b/firmware/target/arm/imx233/system-imx233.c
index 860039b85f..165a32d143 100644
--- a/firmware/target/arm/imx233/system-imx233.c
+++ b/firmware/target/arm/imx233/system-imx233.c
@@ -286,8 +286,8 @@ struct cpufreq_profile_t
286/* Some devices don't handle very well memory frequency changes, so avoid them 286/* Some devices don't handle very well memory frequency changes, so avoid them
287 * by running at highest speed at all time */ 287 * by running at highest speed at all time */
288#if defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI) 288#if defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI)
289#define EMIFREQ_NORMAL IMX233_EMIFREQ_130_MHz 289#define EMIFREQ_NORMAL IMX233_EMIFREQ_64_MHz
290#define EMIFREQ_MAX IMX233_EMIFREQ_130_MHz 290#define EMIFREQ_MAX IMX233_EMIFREQ_64_MHz
291#else /* weird targets */ 291#else /* weird targets */
292#define EMIFREQ_NORMAL IMX233_EMIFREQ_64_MHz 292#define EMIFREQ_NORMAL IMX233_EMIFREQ_64_MHz
293#define EMIFREQ_MAX IMX233_EMIFREQ_130_MHz 293#define EMIFREQ_MAX IMX233_EMIFREQ_130_MHz