Oskar Schirmer
474ef12100
watchdog: make imx2_wdt report boot status correctly
...
Ioctl WDIOC_GETBOOTSTATUS is supposed to return some information
on why the system did (re)boot recently, value WDIOF_CARDRESET
being used to indicate watchdog induced reboot.
Up to now, imx2_wdt did not provide a value here, always returning
zero to indicate normal boot.
Do evaluate the IMX Watchdog Reset Status Register and
produce WDIOF_CARDRESET with WDIOC_GETBOOTSTATUS in case
of a watchdog induced reset.
Signed-off-by: Oskar Schirmer <oskar@scara.com >
Acked-by: Wolfram Sang <w.sang@pengutronix.de >
Signed-off-by: Wim Van Sebroeck <wim@iguana.be >
2012-03-27 19:58:30 +02:00
..
2012-03-22 20:22:30 -07:00
2012-03-24 10:41:37 -07:00
2012-03-24 12:20:25 -07:00
2012-03-08 02:16:24 -03:00
2012-03-23 17:36:29 -07:00
2012-03-21 10:15:51 -07:00
2012-03-23 17:56:39 -07:00
2012-03-22 18:15:32 -07:00
2012-03-24 10:24:31 -07:00
2012-03-24 10:41:37 -07:00
2012-03-22 20:31:15 -07:00
2012-03-21 18:55:10 -07:00
2012-03-24 10:08:39 -07:00
2012-03-23 14:39:09 -07:00
2012-03-23 10:02:20 +01:00
2012-03-23 14:12:04 -07:00
2012-03-20 21:48:17 +08:00
2012-03-21 17:54:54 -07:00
2012-03-22 12:38:04 -07:00
2012-03-23 17:36:29 -07:00
2012-03-23 14:15:07 -07:00
2012-03-20 21:04:47 -07:00
2012-03-23 16:58:35 -07:00
2012-03-21 10:30:03 -07:00
2012-03-22 12:29:50 -07:00
2012-03-23 14:39:09 -07:00
2012-03-20 21:48:19 +08:00
2012-02-27 12:12:18 -08:00
2012-03-24 10:41:37 -07:00
2012-03-21 18:55:10 -07:00
2012-03-24 10:24:31 -07:00
2012-03-23 16:58:34 -07:00
2012-03-24 12:20:25 -07:00
2012-03-23 17:30:49 -07:00
2012-03-20 21:29:37 -04:00
2012-03-23 14:02:12 -07:00
2012-03-23 14:02:12 -07:00
2012-03-23 17:37:40 -07:00
2012-03-12 22:49:03 +01:00
2012-03-23 14:02:12 -07:00
2012-03-24 10:41:37 -07:00
2012-03-05 15:49:43 -08:00
2012-03-21 10:34:56 -07:00
2012-03-23 17:36:29 -07:00
2012-03-23 16:58:34 -07:00
2012-03-23 14:02:12 -07:00
2012-03-21 10:32:00 -07:00
2012-03-20 21:04:47 -07:00
2012-03-24 10:24:31 -07:00
2012-03-22 12:38:04 -07:00
2012-03-23 17:19:37 -07:00
2012-03-23 14:02:12 -07:00
2012-03-23 16:58:34 -07:00
2012-03-20 21:48:21 +08:00
2012-03-23 16:58:41 -07:00
2011-10-14 02:56:02 -05:00
2012-03-01 09:28:41 +10:30
2012-03-27 19:58:30 +02:00
2012-03-24 12:20:25 -07:00
2012-02-09 09:07:46 -08:00