summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-h720x/common.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-05 11:12:35 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 12:57:12 +0000
commit0d68370b246dad8c4a94c3a49d700622664ad89a (patch)
tree5659026f23d1910b43a630b85b34288b00a7376a /arch/arm/mach-h720x/common.c
parent6fca1e17f64936de2e9c614c0d246e65ae553b68 (diff)
downloadlinux-0d68370b246dad8c4a94c3a49d700622664ad89a.tar.bz2
ARM: restart: h720x: use new restart hook
Hook these platforms restart code into the new restart hook rather than using arch_reset(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-h720x/common.c')
-rw-r--r--arch/arm/mach-h720x/common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-h720x/common.c b/arch/arm/mach-h720x/common.c
index 51d4e44ab973..f8a2f6bb5483 100644
--- a/arch/arm/mach-h720x/common.c
+++ b/arch/arm/mach-h720x/common.c
@@ -242,3 +242,8 @@ void __init h720x_map_io(void)
{
iotable_init(h720x_io_desc,ARRAY_SIZE(h720x_io_desc));
}
+
+void h720x_restart(char mode, const char *cmd)
+{
+ CPU_REG (PMU_BASE, PMU_STAT) |= PMU_WARMRESET;
+}