summaryrefslogtreecommitdiff
path: root/drivers/watchdog/imx_watchdog.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-10-07 22:02:10 -0400
committerTom Rini <trini@konsulko.com>2016-10-08 09:33:37 -0400
commitf5fd45ff64e28a73499548358e3d1ceda0de7daf (patch)
treeec595a705a2ec1f256c5c83b4e4ee7427aec58f4 /drivers/watchdog/imx_watchdog.c
parent1f957708072e153637718497f7a1a6e364220337 (diff)
parent3dddc793e0114eb7dfc68b98a4316644d4031fcb (diff)
downloadu-boot-imx-f5fd45ff64e28a73499548358e3d1ceda0de7daf.zip
u-boot-imx-f5fd45ff64e28a73499548358e3d1ceda0de7daf.tar.gz
u-boot-imx-f5fd45ff64e28a73499548358e3d1ceda0de7daf.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'drivers/watchdog/imx_watchdog.c')
-rw-r--r--drivers/watchdog/imx_watchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/imx_watchdog.c b/drivers/watchdog/imx_watchdog.c
index 2938d9f..3f826d1 100644
--- a/drivers/watchdog/imx_watchdog.c
+++ b/drivers/watchdog/imx_watchdog.c
@@ -34,7 +34,7 @@ void hw_watchdog_init(void)
#endif
timeout = (CONFIG_WATCHDOG_TIMEOUT_MSECS / 500) - 1;
writew(WCR_WDZST | WCR_WDBG | WCR_WDE | WCR_WDT | WCR_SRS |
- SET_WCR_WT(timeout), &wdog->wcr);
+ WCR_WDA | SET_WCR_WT(timeout), &wdog->wcr);
hw_watchdog_reset();
}
#endif