9
0
Fork 0

imx6-mmdc: Fix MAPSR usage

The commit ea1fb2f75d by Eric Nelson
imx6-mmdc: fix automatic power down enable in write level calibration

fixed the incorrect usage of the MAPSR register, but there is one more
place where the MAPSR is misused in the exact same way, so fix that as
well.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Marek Vasut 2015-11-13 05:40:14 +01:00 committed by Sascha Hauer
parent 63b8d87744
commit edc1bfa1fe
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ int mmdc_do_dqs_calibration(void)
writel(v, P0_IPS + MDPDC);
/* enable Adopt power down timer */
v = readl(P0_IPS + MAPSR) & 0xfffffff7;
v = readl(P0_IPS + MAPSR) & 0xfffffffe;
writel(v, P0_IPS + MAPSR);
/* restore MDMISC value (RALAT, WALAT) */