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:
parent
63b8d87744
commit
edc1bfa1fe
|
@ -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) */
|
||||
|
|
Loading…
Reference in New Issue