From: Fabio Estevam Date: Thu, 23 Nov 2017 11:18:54 +0000 (-0200) Subject: imx: Also clear powerdown enable bit for WDOG3 on i.MX6ULL X-Git-Tag: v2018.01-rc1~66^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b42287f4c92517022ab4e9a21ed27b9384c725cb;p=u-boot imx: Also clear powerdown enable bit for WDOG3 on i.MX6ULL Clear powerdown enable bit for WDOG3 on i.MX6ULL to avoid unwanted kernel reboots. Suggested-by: Ye Li Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan Reviewed-by: Stefano Babic --- diff --git a/arch/arm/mach-imx/init.c b/arch/arm/mach-imx/init.c index 720ad672a6..2a05c59642 100644 --- a/arch/arm/mach-imx/init.c +++ b/arch/arm/mach-imx/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);