diff options
| author | Fabio Estevam <[email protected]> | 2017-11-23 09:18:54 -0200 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2017-11-27 10:34:40 +0100 |
| commit | b42287f4c92517022ab4e9a21ed27b9384c725cb (patch) | |
| tree | 1f7b2c61d3c808c7ba07f321c3d8538598c15da3 | |
| parent | 23ecca2cd829485c305d9a49c25508d74e041216 (diff) | |
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 <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
| -rw-r--r-- | arch/arm/mach-imx/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/init.c b/arch/arm/mach-imx/init.c index 720ad672a67..2a05c596422 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); |
