mx53: Fix mask for SATA reference clock
PATCH 1/1 mx53: Fix mask for SATA reference clock
From: Fabio Estevam <[email protected]>
SATA_ALT_REF_CLK field corresponds to bits 1 and 2 of offset 0x180c.
Fix the mask for these bits.
---
Stefano,
I don't have a SATA disk handy to try this.
arch/arm/cpu/armv7/mx5/clock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/cpu/armv7/mx5/clock.c +1 -1
@@ -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
Signature · 1 line
1.7.1
PATCH 1/1 mx53: Fix mask for SATA reference clock
Quoted 3 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
SATA_ALT_REF_CLKfield corresponds to bits 1 and 2 of offset0x180c.
Just in case someone would like to check the mx53 fuse map, it is now available at:
http://cache.freescale.com/files/dsp/doc/ref_manual/IMX53RMAD.pdf?fpsp=1&WT_TYPE=Reference%20Manuals&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation
Regards,
Fabio Estevam
PATCH 1/1 mx53: Fix mask for SATA reference clock
Quoted 9 lines · Fabio Estevam
Quoted 3 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
SATA_ALT_REF_CLKfield corresponds to bits 1 and 2 of offset0x180c.Just in case someone would like to check the mx53 fuse map, it is now available at:
http://cache.freescale.com/files/dsp/doc/ref_manual/IMX53RMAD.pdf?fpsp=1&WT_TYPE=Reference%20Manuals&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation
Thanks, Fabio !
Regards,
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH 1/1 mx53: Fix mask for SATA reference clock
In reply to Fabio EstevamQuoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
SATA_ALT_REF_CLKfield corresponds to bits 1 and 2 of offset0x180c.Fix the mask for these bits.
Signed-off-by Fabio Estevam <[email protected]>---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================