summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2016-05-04 18:57:29 +0800
committerAnson Huang <Anson.Huang@nxp.com>2016-05-09 18:23:26 +0800
commitefd941df167314c47d4746ce04c98f1691d9e103 (patch)
tree63191bb8868248bacf1a193199b1260a3b34614b
parente72d4df921eecba9be7fcd2cf7d1633d9f2329ce (diff)
downloadu-boot-imx-efd941df167314c47d4746ce04c98f1691d9e103.zip
u-boot-imx-efd941df167314c47d4746ce04c98f1691d9e103.tar.gz
u-boot-imx-efd941df167314c47d4746ce04c98f1691d9e103.tar.bz2
MLK-12748-2 imx: remove IOMUXC GPR setting for i.mx7d retention mode
i.MX7D TO1.2 removes the DDR PADs retention mode setting in IOMUXC GPR, it is same as TO1.0, so only apply the IOMUXC GPR setting for TO1.1. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
-rw-r--r--board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S b/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S
index 41ceb69..fbcd682 100644
--- a/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S
+++ b/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S
@@ -227,10 +227,10 @@ TUNE_END:
ldr r7, [r1, #0x800]
and r7, r7, #0xFF
- cmp r7, #0x10
- beq 2f
+ cmp r7, #0x11
+ bne 2f
- /* from TO1.1 */
+ /* for TO1.1 */
ldr r7, [r11]
bic r7, r7, #(1 << 27)
str r7, [r11]