public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mx53: Fix mask for SATA reference clock
@ 2012-05-12  0:39 Fabio Estevam
  2012-05-29 21:40 ` Fabio Estevam
  2012-06-12 17:24 ` Stefano Babic
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2012-05-12  0:39 UTC (permalink / raw)
  To: u-boot

From: Fabio Estevam <fabio.estevam@freescale.com>

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>
---
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(-)

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
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] mx53: Fix mask for SATA reference clock
  2012-05-12  0:39 [U-Boot] [PATCH] mx53: Fix mask for SATA reference clock Fabio Estevam
@ 2012-05-29 21:40 ` Fabio Estevam
  2012-06-12 17:23   ` Stefano Babic
  2012-06-12 17:24 ` Stefano Babic
  1 sibling, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2012-05-29 21:40 UTC (permalink / raw)
  To: u-boot

On Fri, May 11, 2012 at 9:39 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> SATA_ALT_REF_CLK field corresponds to bits 1 and 2 of offset 0x180c.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] mx53: Fix mask for SATA reference clock
  2012-05-29 21:40 ` Fabio Estevam
@ 2012-06-12 17:23   ` Stefano Babic
  0 siblings, 0 replies; 4+ messages in thread
From: Stefano Babic @ 2012-06-12 17:23 UTC (permalink / raw)
  To: u-boot

On 29/05/2012 23:40, Fabio Estevam wrote:
> On Fri, May 11, 2012 at 9:39 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> From: Fabio Estevam <fabio.estevam@freescale.com>
>>
>> SATA_ALT_REF_CLK field corresponds to bits 1 and 2 of offset 0x180c.
> 
> 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


-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] mx53: Fix mask for SATA reference clock
  2012-05-12  0:39 [U-Boot] [PATCH] mx53: Fix mask for SATA reference clock Fabio Estevam
  2012-05-29 21:40 ` Fabio Estevam
@ 2012-06-12 17:24 ` Stefano Babic
  1 sibling, 0 replies; 4+ messages in thread
From: Stefano Babic @ 2012-06-12 17:24 UTC (permalink / raw)
  To: u-boot

On 12/05/2012 02:39, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> 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>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-12 17:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-12  0:39 [U-Boot] [PATCH] mx53: Fix mask for SATA reference clock Fabio Estevam
2012-05-29 21:40 ` Fabio Estevam
2012-06-12 17:23   ` Stefano Babic
2012-06-12 17:24 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox