diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-05-11 14:39:11 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:25 +0200 |
commit | 3f5f200bbe9aee283b88a2647763b1f97abb96ac (patch) | |
tree | 06ecd2151eca62c2a4d5ecede05015e6fbb75311 /arch/arm | |
parent | eae08eb2b53ffb87f3342e45ab422d8625659fcd (diff) | |
download | u-boot-imx-3f5f200bbe9aee283b88a2647763b1f97abb96ac.zip u-boot-imx-3f5f200bbe9aee283b88a2647763b1f97abb96ac.tar.gz u-boot-imx-3f5f200bbe9aee283b88a2647763b1f97abb96ac.tar.bz2 |
mx53: Fix mask for SATA reference clock
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/armv7/mx5/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx5/clock.c b/arch/arm/cpu/armv7/mx5/clock.c index fc2406b..64862b3 100644 --- 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) & (~0x7)) | 0x4, tmp_base); + writel((readl(tmp_base) & (~0x6)) | 0x4, tmp_base); } #endif |