projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae08eb
)
mx53: Fix mask for SATA reference clock
author
Fabio Estevam
<fabio.estevam@freescale.com>
Fri, 11 May 2012 14:39:11 +0000
(14:39 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:25 +0000
(14:07 +0200)
SATA_ALT_REF_CLK field corresponds to bits 1 and 2 of offset 0x180c.
Fix the mask for these bits.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/armv7/mx5/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx5/clock.c
b/arch/arm/cpu/armv7/mx5/clock.c
index fc2406bcad7ed7e343ad0616a99c6e7d81dbeda6..64862b31f1f2073fca718c1471c249dac40bfd4c 100644
(file)
--- a/
arch/arm/cpu/armv7/mx5/clock.c
+++ b/
arch/arm/cpu/armv7/mx5/clock.c
@@
-843,7
+843,7
@@
void mxc_set_sata_internal_clock(void)
set_usb_phy1_clk();
- writel((readl(tmp_base) & (~0x
7
)) | 0x4, tmp_base);
+ writel((readl(tmp_base) & (~0x
6
)) | 0x4, tmp_base);
}
#endif