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:46:50 +0800
commit9ebc4988446ff7c6bdba6257b61de3a88a01d418 (patch)
tree5affb5933ec627455db4e69356adde8abaaadc69
parentec27deab06b022a5d7738f22431fb38e29ec2f74 (diff)
downloadu-boot-imx-9ebc4988446ff7c6bdba6257b61de3a88a01d418.zip
u-boot-imx-9ebc4988446ff7c6bdba6257b61de3a88a01d418.tar.gz
u-boot-imx-9ebc4988446ff7c6bdba6257b61de3a88a01d418.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]