summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/common.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-05 15:40:09 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 12:57:15 +0000
commit9854a38e371a153c7c4adb2cb7951c27befe0362 (patch)
tree0e4de89b4eb1a27e2e1b2096bc25977ccdf93453 /arch/arm/mach-mmp/common.c
parentb23fcd9035a35b032c624ac2f23f40ea941d5355 (diff)
ARM: restart: mmp: use new restart hook
Hook the Shark 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-mmp/common.c')
-rw-r--r--arch/arm/mach-mmp/common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/common.c b/arch/arm/mach-mmp/common.c
index 5720674739f..062b5b93c50 100644
--- a/arch/arm/mach-mmp/common.c
+++ b/arch/arm/mach-mmp/common.c
@@ -45,3 +45,8 @@ void __init mmp_map_io(void)
/* this is early, initialize mmp_chip_id here */
mmp_chip_id = __raw_readl(MMP_CHIPID);
}
+
+void mmp_restart(char mode, const char *cmd)
+{
+ soft_restart(0);
+}