watchdog: mpc8xxx_wdt: MPC8xx is HW enabled
authorChristophe Leroy <christophe.leroy@c-s.fr>
Sat, 30 Nov 2013 15:45:40 +0000 (16:45 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 31 Mar 2014 11:21:33 +0000 (13:21 +0200)
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>
drivers/watchdog/mpc8xxx_wdt.c

index c1f65b4c0aa4050442bd1742d32a0883e68537dd..7831955cd9e19f1ff3d3adca74512d48880c8be2 100644 (file)
@@ -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,
                },
        },
        {},