summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/system-target.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-05-02 21:39:58 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-05-28 17:18:52 +0200
commita25700e4a04145fcf59e4674a88f55dd088a9c08 (patch)
treea472c8ab9ddb2970c67186b4a978d93b022d0241 /firmware/target/arm/imx233/system-target.h
parent643c0a1e0e80ee6010353201792ba6e2be7e1ced (diff)
downloadrockbox-a25700e4a04145fcf59e4674a88f55dd088a9c08.tar.gz
rockbox-a25700e4a04145fcf59e4674a88f55dd088a9c08.tar.bz2
rockbox-a25700e4a04145fcf59e4674a88f55dd088a9c08.zip
imx233: fix frequency reporting
The code reported the frequency in kHz instead of Hz, thus breaking a debug screen. Change-Id: Id46de970cfb55bcdc09b63f59b244ee3ad6264b8
Diffstat (limited to 'firmware/target/arm/imx233/system-target.h')
-rw-r--r--firmware/target/arm/imx233/system-target.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/imx233/system-target.h b/firmware/target/arm/imx233/system-target.h
index 18c0b249d9..3a8aadd227 100644
--- a/firmware/target/arm/imx233/system-target.h
+++ b/firmware/target/arm/imx233/system-target.h
@@ -32,11 +32,11 @@
* Absolute maximum CPU speed: 454.74 MHz (STMP3780), 320.00 MHz (STMP3700)
* Intermediate CPU speeds: 261.82 MHz, 64 MHz
* Absolute minimum CPU speed: 24 MHz */
-#define IMX233_CPUFREQ_454_MHz 454740
-#define IMX233_CPUFREQ_320_MHz 320000
-#define IMX233_CPUFREQ_261_MHz 261820
-#define IMX233_CPUFREQ_64_MHz 64000
-#define IMX233_CPUFREQ_24_MHz 24000
+#define IMX233_CPUFREQ_454_MHz 454740000
+#define IMX233_CPUFREQ_320_MHz 320000000
+#define IMX233_CPUFREQ_261_MHz 261820000
+#define IMX233_CPUFREQ_64_MHz 64000000
+#define IMX233_CPUFREQ_24_MHz 24000000
#define CPUFREQ_DEFAULT IMX233_CPUFREQ_64_MHz
#define CPUFREQ_NORMAL IMX233_CPUFREQ_64_MHz