diff options
author | Guennadi Liakhovetski <lg@denx.de> | 2008-05-08 10:09:27 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-10 00:21:43 +0200 |
commit | 2ab02fd456d8ef92ae9f5439618d1fa7ca16e5f3 (patch) | |
tree | eaf7a41e3cec224bed0ef3b74ae6ddc0b83825b5 /cpu/arm1136 | |
parent | f3f31757464bd91af4de17de386cb763fa0b6ba0 (diff) | |
download | u-boot-midas-2ab02fd456d8ef92ae9f5439618d1fa7ca16e5f3.tar.gz u-boot-midas-2ab02fd456d8ef92ae9f5439618d1fa7ca16e5f3.tar.bz2 u-boot-midas-2ab02fd456d8ef92ae9f5439618d1fa7ca16e5f3.zip |
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 'cpu/arm1136')
-rw-r--r-- | cpu/arm1136/mx31/generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/arm1136/mx31/generic.c b/cpu/arm1136/mx31/generic.c index 16b2cf1364..29c08c105f 100644 --- a/cpu/arm1136/mx31/generic.c +++ b/cpu/arm1136/mx31/generic.c @@ -39,7 +39,7 @@ static u32 mx31_decode_pll(u32 reg, u32 infreq) (mfd * pd)) << 10; } -u32 mx31_get_mpl_dpdgck_clk(void) +static u32 mx31_get_mpl_dpdgck_clk(void) { u32 infreq; @@ -51,7 +51,7 @@ u32 mx31_get_mpl_dpdgck_clk(void) return mx31_decode_pll(__REG(CCM_MPCTL), infreq); } -u32 mx31_get_mcu_main_clk(void) +static u32 mx31_get_mcu_main_clk(void) { /* For now we assume mpl_dpdgck_clk == mcu_main_clk * which should be correct for most boards |