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:39:54 +0800
commitf63c93eacd999d7dab7262f63353f04947e0e0ca (patch)
tree81b56aee4eb0a583c1338e6baf279d0007b33b22
parentf511c9f6744d4c6ef9fe15214c78580fb42aa2d1 (diff)
downloadu-boot-imx-f63c93eacd999d7dab7262f63353f04947e0e0ca.zip
u-boot-imx-f63c93eacd999d7dab7262f63353f04947e0e0ca.tar.gz
u-boot-imx-f63c93eacd999d7dab7262f63353f04947e0e0ca.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 0533055..ee4d217 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]