[ARM] 4907/1: [AT91] SAM9/CAP9 reset reason
authorAndrew Victor <linux@maxim.org.za>
Wed, 2 Apr 2008 20:52:19 +0000 (21:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 4 Apr 2008 08:52:23 +0000 (09:52 +0100)
commit565ac44593d17bdfc9f595614b56bb335a9b8d6f
tree42438439fc8116a5f1a07e919f5695435e6b6c63
parentf5d0f4574fe1584891b5167fb0ba42974af13e49
[ARM] 4907/1: [AT91] SAM9/CAP9 reset reason

The Reset controller on the SAM9/CAP9 processors will store the reason
for the last system reset.
On startup, display this information (wakeup signal, RTT alarm,
watchdog reset, user reset, etc)

Based on patch from David Brownell.

Signed-off-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/pm.c
include/asm-arm/arch-at91/at91_shdwc.h