[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131130154540.E83D743E15@localhost.localdomain>
Date: Sat, 30 Nov 2013 16:45:40 +0100 (CET)
From: Christophe Leroy <christophe.leroy@....fr>
To: Wim Van Sebroeck <wim@...ana.be>, <scottwood@...escale.com>
CC: linux-kernel@...r.kernel.org, linux-watchdog@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH] 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@....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 = "fsl,mpc823-wdt",
.data = &(struct mpc8xxx_wdt_type) {
.prescaler = 0x800,
+ .hw_enabled = true,
},
},
{},
---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists