MLK-14792 mx6ull: Disable WDOG3 after init
authorYe Li <ye.li@nxp.com>
Wed, 10 May 2017 05:24:36 +0000 (00:24 -0500)
committerYe Li <ye.li@nxp.com>
Wed, 10 May 2017 05:24:36 +0000 (00:24 -0500)
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>
arch/arm/imx-common/init.c

index e5dbd93..afb6967 100644 (file)
@@ -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);