linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] watchdog: mpc8xxx_wdt: MPC8xx is HW enabled
@ 2013-11-30 15:45 Christophe Leroy
  2013-12-01 19:43 ` Guenter Roeck
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Christophe Leroy @ 2013-11-30 15:45 UTC (permalink / raw)
  To: Wim Van Sebroeck, scottwood; +Cc: linuxppc-dev, linux-kernel, linux-watchdog

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>

diff -ur a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
--- a/drivers/watchdog/mpc8xxx_wdt.c	2013-05-11 22:57:46.000000000 +0200
+++ b/drivers/watchdog/mpc8xxx_wdt.c	2013-08-08 02:12:15.000000000 +0200
@@ -273,6 +310,7 @@
 		.compatible =3D "fsl,mpc823-wdt",
 		.data =3D &(struct mpc8xxx_wdt_type) {
 			.prescaler =3D 0x800,
+			.hw_enabled =3D true,
 		},
 	},
 	{},

---
Ce courrier =C3=A9lectronique ne contient aucun virus ou logiciel malveilla=
nt parce que la protection avast! Antivirus est active.
http://www.avast.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-24 20:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-30 15:45 [PATCH] watchdog: mpc8xxx_wdt: MPC8xx is HW enabled Christophe Leroy
2013-12-01 19:43 ` Guenter Roeck
2013-12-02  6:14   ` Wolfgang Denk
2013-12-06 19:35     ` Scott Wood
2013-12-02 16:04 ` Guenter Roeck
2014-02-24 19:51 ` Wim Van Sebroeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).