summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2013-11-30 16:45:40 +0100
committerWim Van Sebroeck <wim@iguana.be>2014-03-31 13:21:33 +0200
commit4af897fa9992e5648d01fcff19d2c6d86a5143c9 (patch)
tree8f9bd5faadcf97e6f76f03b132e8ca6c3c71ec0c /drivers/watchdog
parent455c6fdbd219161bd09b1165f11699d6d73de11c (diff)
downloadlinux-4af897fa9992e5648d01fcff19d2c6d86a5143c9.tar.bz2
watchdog: mpc8xxx_wdt: MPC8xx is HW enabled
MPC8xx watchdog is enabled at startup by HW. If the bootloader disables it, it cannot be reenabled. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/mpc8xxx_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
index c1f65b4c0aa4..7831955cd9e1 100644
--- a/drivers/watchdog/mpc8xxx_wdt.c
+++ b/drivers/watchdog/mpc8xxx_wdt.c
@@ -237,6 +237,7 @@ static const struct of_device_id mpc8xxx_wdt_match[] = {
.compatible = "fsl,mpc823-wdt",
.data = &(struct mpc8xxx_wdt_type) {
.prescaler = 0x800,
+ .hw_enabled = true,
},
},
{},