mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] imx6-mmdc: restore RALAT/WALAT in MMDC0, not MMDC1
@ 2015-10-23 23:34 Eric Nelson
  2015-10-26  6:54 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Nelson @ 2015-10-23 23:34 UTC (permalink / raw)
  To: barebox, s.hauer; +Cc: Eric Nelson

Signed-off-by: Eric Nelson <eric@nelint.com>
---
 arch/arm/mach-imx/imx6-mmdc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/imx6-mmdc.c b/arch/arm/mach-imx/imx6-mmdc.c
index 40fe0cf..7840c1a 100644
--- a/arch/arm/mach-imx/imx6-mmdc.c
+++ b/arch/arm/mach-imx/imx6-mmdc.c
@@ -474,7 +474,7 @@ int mmdc_do_dqs_calibration(void)
 	writel(v, P0_IPS + MAPSR);
 
 	/* restore MDMISC value (RALAT, WALAT) */
-	writel(esdmisc_val, P1_IPS + MDMISC);
+	writel(esdmisc_val, P0_IPS + MDMISC);
 
 	/* clear DQS pull ups */
 	v = readl(IOMUXC_SW_PAD_CTL_PAD_DRAM_SDQS0) & ~0x7000;
-- 
2.6.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] imx6-mmdc: restore RALAT/WALAT in MMDC0, not MMDC1
  2015-10-23 23:34 [PATCH] imx6-mmdc: restore RALAT/WALAT in MMDC0, not MMDC1 Eric Nelson
@ 2015-10-26  6:54 ` Sascha Hauer
  2015-10-26 14:09   ` Eric Nelson
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2015-10-26  6:54 UTC (permalink / raw)
  To: Eric Nelson; +Cc: barebox

On Fri, Oct 23, 2015 at 04:34:40PM -0700, Eric Nelson wrote:
> Signed-off-by: Eric Nelson <eric@nelint.com>
> ---
>  arch/arm/mach-imx/imx6-mmdc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/mach-imx/imx6-mmdc.c b/arch/arm/mach-imx/imx6-mmdc.c
> index 40fe0cf..7840c1a 100644
> --- a/arch/arm/mach-imx/imx6-mmdc.c
> +++ b/arch/arm/mach-imx/imx6-mmdc.c
> @@ -474,7 +474,7 @@ int mmdc_do_dqs_calibration(void)
>  	writel(v, P0_IPS + MAPSR);
>  
>  	/* restore MDMISC value (RALAT, WALAT) */
> -	writel(esdmisc_val, P1_IPS + MDMISC);
> +	writel(esdmisc_val, P0_IPS + MDMISC);
>  
>  	/* clear DQS pull ups */
>  	v = readl(IOMUXC_SW_PAD_CTL_PAD_DRAM_SDQS0) & ~0x7000;
> -- 
> 2.6.2
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] imx6-mmdc: restore RALAT/WALAT in MMDC0, not MMDC1
  2015-10-26  6:54 ` Sascha Hauer
@ 2015-10-26 14:09   ` Eric Nelson
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Nelson @ 2015-10-26 14:09 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

Hi Sascha,

On 10/25/2015 11:54 PM, Sascha Hauer wrote:
> On Fri, Oct 23, 2015 at 04:34:40PM -0700, Eric Nelson wrote:
>> Signed-off-by: Eric Nelson <eric@nelint.com>
>> ---
>>  arch/arm/mach-imx/imx6-mmdc.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Applied, thanks
> 
> Sascha
> 
>>
>> diff --git a/arch/arm/mach-imx/imx6-mmdc.c b/arch/arm/mach-imx/imx6-mmdc.c
>> index 40fe0cf..7840c1a 100644
>> --- a/arch/arm/mach-imx/imx6-mmdc.c
>> +++ b/arch/arm/mach-imx/imx6-mmdc.c
>> @@ -474,7 +474,7 @@ int mmdc_do_dqs_calibration(void)
>>  	writel(v, P0_IPS + MAPSR);
>>  
>>  	/* restore MDMISC value (RALAT, WALAT) */
>> -	writel(esdmisc_val, P1_IPS + MDMISC);
>> +	writel(esdmisc_val, P0_IPS + MDMISC);
>>  
>>  	/* clear DQS pull ups */
>>  	v = readl(IOMUXC_SW_PAD_CTL_PAD_DRAM_SDQS0) & ~0x7000;
>> -- 
>> 2.6.2
>>
>>
> 

Note that this typo should have had an impact on performance
because RALAT and WALAT for MMDC0 would be left at their
max values.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2015-10-26 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-23 23:34 [PATCH] imx6-mmdc: restore RALAT/WALAT in MMDC0, not MMDC1 Eric Nelson
2015-10-26  6:54 ` Sascha Hauer
2015-10-26 14:09   ` Eric Nelson

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