summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-05-10 00:24:36 -0500
committerYe Li <ye.li@nxp.com>2017-05-10 00:24:36 -0500
commit4a9f777e8b44d5b2a32cfe344469b18e74373f64 (patch)
tree3795580b5de90ee3207a8ffe6eb8164c57342d2d
parentf84b9d512f92b66076357820b1003a1006ff619d (diff)
downloadu-boot-imx-4a9f777e8b44d5b2a32cfe344469b18e74373f64.zip
u-boot-imx-4a9f777e8b44d5b2a32cfe344469b18e74373f64.tar.gz
u-boot-imx-4a9f777e8b44d5b2a32cfe344469b18e74373f64.tar.bz2
MLK-14792 mx6ull: Disable WDOG3 after init
Need to power down WDOG3 for mx6ull, otherwise the kernel will reboot once the iomux for WDOG_ANY pin is configured. This is missed in community u-boot. Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r--arch/arm/imx-common/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/imx-common/init.c b/arch/arm/imx-common/init.c
index e5dbd93..afb6967 100644
--- a/arch/arm/imx-common/init.c
+++ b/arch/arm/imx-common/init.c
@@ -78,7 +78,7 @@ void imx_set_wdog_powerdown(bool enable)
writew(enable, &wdog1->wmcr);
writew(enable, &wdog2->wmcr);
- if (is_mx6sx() || is_mx6ul() || is_mx7())
+ if (is_mx6sx() || is_mx6ul() || is_mx6ull() || is_mx7())
writew(enable, &wdog3->wmcr);
#ifdef CONFIG_MX7D
writew(enable, &wdog4->wmcr);