summaryrefslogtreecommitdiff
path: root/include/configs/mx31ads.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <lg@denx.de>2008-05-08 10:09:27 +0200
committerWolfgang Denk <wd@denx.de>2008-05-10 00:21:43 +0200
commit2ab02fd456d8ef92ae9f5439618d1fa7ca16e5f3 (patch)
treeeaf7a41e3cec224bed0ef3b74ae6ddc0b83825b5 /include/configs/mx31ads.h
parentf3f31757464bd91af4de17de386cb763fa0b6ba0 (diff)
downloadu-boot-imx-2ab02fd456d8ef92ae9f5439618d1fa7ca16e5f3.zip
u-boot-imx-2ab02fd456d8ef92ae9f5439618d1fa7ca16e5f3.tar.gz
u-boot-imx-2ab02fd456d8ef92ae9f5439618d1fa7ca16e5f3.tar.bz2
mx31ads: fix 32kHz clock handling
According to schematics and to RedBoot sources, the MX31ADS uses a 32768Hz oscillator as a SKIL source. Fix previously wrongly assumed 32000Hz value. Also fix a typo when verifying a jumper configuration. While at it, make two needlessly global functions static. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Diffstat (limited to 'include/configs/mx31ads.h')
-rw-r--r--include/configs/mx31ads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h
index 7614b95..2ea48a6 100644
--- a/include/configs/mx31ads.h
+++ b/include/configs/mx31ads.h
@@ -28,7 +28,7 @@
#define CONFIG_ARM1136 1 /* This is an arm1136 CPU core */
#define CONFIG_MX31 1 /* in a mx31 */
#define CONFIG_MX31_HCLK_FREQ 26000000 /* RedBoot says 26MHz */
-#define CONFIG_MX31_CLK32 32000
+#define CONFIG_MX31_CLK32 32768
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO
@@ -139,7 +139,7 @@
#define CFG_LOAD_ADDR CONFIG_LOADADDR
-#define CFG_HZ 32000
+#define CFG_HZ CONFIG_MX31_CLK32 /* use 32kHz clock as source */
#define CONFIG_CMDLINE_EDITING 1