watchdog: at91rm9200: implement restart handler
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 12 Mar 2015 12:07:28 +0000 (13:07 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 16 Mar 2015 16:03:02 +0000 (17:03 +0100)
commit9ab45f3fb2bebd048ffa2692e8f7cc89f3d379d4
tree05a02c41aac62c2ed8f812ff93cf6414f2ca0204
parent8432f9e5e82a13b82a76171c89b0858e855c9da5
watchdog: at91rm9200: implement restart handler

Restarting the at91rm9200 is done through programming the watchdog and waiting
for it to reset.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/watchdog/at91rm9200_wdt.c