summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/system-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-09-04 00:35:58 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-09-04 00:35:58 +0200
commita1b101b107900e0d163700fda0aab0efc429f55e (patch)
tree04d737d2e589936639f196d5353d522b01bf0f30 /firmware/target/arm/imx233/system-imx233.c
parent1e8eb4752b679469b7f830c4ed97a1da1e607bad (diff)
downloadrockbox-a1b101b107900e0d163700fda0aab0efc429f55e.tar.gz
rockbox-a1b101b107900e0d163700fda0aab0efc429f55e.zip
imx233: disable cpu frequency scaling
Frequency scaling seems to be unstable and causes the device to freeze. It is unclear why at the moment, perhaps we need to ramp up the vddd voltage to avoid a false brownout ? Change-Id: I7aaea9d7c213922a65250fe50775fb785d430226
Diffstat (limited to 'firmware/target/arm/imx233/system-imx233.c')
-rw-r--r--firmware/target/arm/imx233/system-imx233.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/system-imx233.c b/firmware/target/arm/imx233/system-imx233.c
index 610a974c9b..f8a0b81316 100644
--- a/firmware/target/arm/imx233/system-imx233.c
+++ b/firmware/target/arm/imx233/system-imx233.c
@@ -158,6 +158,8 @@ void udelay(unsigned us)
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
void set_cpu_frequency(long frequency)
{
+ (void) frequency;
+#if 0
switch(frequency)
{
case IMX233_CPUFREQ_454_MHz:
@@ -199,6 +201,7 @@ void set_cpu_frequency(long frequency)
default:
break;
}
+#endif
}
#endif