ARM: picoxcell: implement watchdog restart
authorJamie Iles <jamie@jamieiles.com>
Sat, 17 Dec 2011 13:42:37 +0000 (13:42 +0000)
committerJamie Iles <jamie@jamieiles.com>
Sun, 18 Dec 2011 10:48:41 +0000 (10:48 +0000)
commit1b46f8782c2607afa1298b0c7f7fe307fc0f7a5b
treefe154b4ed20efe29ac246418f06f24b9dd07715d
parenta53bfa07369b7c3448a60d29f0fc2e81751ed0b7
ARM: picoxcell: implement watchdog restart

Allow the platform to be restarted by triggering the watchdog to expire
with the shortest possible expiry.  This should reset the CPU core and
all on-chip peripherals.

v2: - use writel_relaxed().

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
arch/arm/mach-picoxcell/common.c