summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2015-08-05 20:57:54 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:45 +0100
commit046105ef09d0be46b43b243f52e769571c2a841c (patch)
treecc5d65a08c7f6f427d14be614af6aa8c5315720e
parenta7c4334d46b003deb5c76720bdeddcd86f15eaaf (diff)
MLK-11320 ARM: imx7d: disable wdog powerdown timer for LPSR
In LPSR mode, wdog will be reset when resume, need to disable wdog powerdown timer to avoid system reset after timeout setting of 16 seconds. Signed-off-by: Anson Huang <b20788@freescale.com>
-rw-r--r--board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S b/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S
index 2aee8c802f3..121e2f07bc3 100644
--- a/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S
+++ b/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S
@@ -15,6 +15,11 @@
cmp r7, #0
beq 16f
+ /* disable wdog powerdown counter */
+ ldr r0, =0x30280000
+ ldrh r1, =0x0
+ strh r1, [r0, #0x8]
+
/* initialize AIPs 1-3 port */
ldr r0, =0x301f0000
ldr r1, =0x77777777