[PATCH] imx6-mmdc: restore RALAT/WALAT in MMDC0, not MMDC1
Eric Nelson
eric at nelint.com
Mon Oct 26 07:09:07 PDT 2015
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 at 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.
More information about the barebox
mailing list