summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2013-11-30 15:45:40 (GMT)
committerWim Van Sebroeck <wim@iguana.be>2014-03-31 11:21:33 (GMT)
commit4af897fa9992e5648d01fcff19d2c6d86a5143c9 (patch)
tree8f9bd5faadcf97e6f76f03b132e8ca6c3c71ec0c /drivers
parent455c6fdbd219161bd09b1165f11699d6d73de11c (diff)
downloadlinux-4af897fa9992e5648d01fcff19d2c6d86a5143c9.tar.xz
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')
-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 c1f65b4..7831955 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,
},
},
{},