Re: [PATCH 1/2] ARM/MXS/i.MX28: recognize watchdog reset

2015-03-30 Thread Sascha Hauer
On Fri, Mar 27, 2015 at 08:23:11PM +0100, Marc Kleine-Budde wrote: From: Steffen Trumtrar s.trumt...@pengutronix.de When a watchdog timeout is set in the linux kernel, the FORCE_UPDATE bit is set. Use this to recognize a system reset that was triggered by the watchdog. Since only the wdt

[PATCH 1/2] ARM/MXS/i.MX28: recognize watchdog reset

2015-03-27 Thread Marc Kleine-Budde
From: Steffen Trumtrar s.trumt...@pengutronix.de When a watchdog timeout is set in the linux kernel, the FORCE_UPDATE bit is set. Use this to recognize a system reset that was triggered by the watchdog. Since only the wdt part of the kernel driver sets this bit, this is a safe distinguishing