From: Christophe Leroy Date: Sat, 30 Nov 2013 15:45:40 +0000 (+0100) Subject: watchdog: mpc8xxx_wdt: MPC8xx is HW enabled X-Git-Tag: firefly_0821_release~176^2~4200^2~37 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4af897fa9992e5648d01fcff19d2c6d86a5143c9;p=firefly-linux-kernel-4.4.55.git 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 Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- 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, }, }, {},