summaryrefslogtreecommitdiff
path: root/board/mx31ads
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 /board/mx31ads
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 'board/mx31ads')
-rw-r--r--board/mx31ads/lowlevel_init.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mx31ads/lowlevel_init.S b/board/mx31ads/lowlevel_init.S
index 099a7ca..e166058 100644
--- a/board/mx31ads/lowlevel_init.S
+++ b/board/mx31ads/lowlevel_init.S
@@ -220,7 +220,7 @@ lowlevel_init:
mov r1, #CS4_BASE
ldrh r1, [r1, #0x2]
/* Is 27MHz switch set? */
- ands r1, r1, #0x16
+ ands r1, r1, #0x10
/* 532-133-66.5 */
ldr r0, =CCM_BASE