diff options
author | Guennadi Liakhovetski <lg@denx.de> | 2008-05-08 08:09:27 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-09 22:21:43 (GMT) |
commit | 2ab02fd456d8ef92ae9f5439618d1fa7ca16e5f3 (patch) | |
tree | eaf7a41e3cec224bed0ef3b74ae6ddc0b83825b5 /board/mx31ads | |
parent | f3f31757464bd91af4de17de386cb763fa0b6ba0 (diff) | |
download | u-boot-fsl-qoriq-2ab02fd456d8ef92ae9f5439618d1fa7ca16e5f3.tar.xz |
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.S | 2 |
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 |