summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp2000/core.c
diff options
context:
space:
mode:
authorRussell King2011-11-05 12:46:04 +0100
committerRussell King2012-01-05 13:57:13 +0100
commit1139b926c4b1754276fc5e2556cc9c0f46b010c6 (patch)
treed9baf1c9bcc75e95aebf441b8dc1d48ff7a3b417 /arch/arm/mach-ixp2000/core.c
parentARM: restart: iop13xx: use new restart hook (diff)
downloadkernel-qcow2-linux-1139b926c4b1754276fc5e2556cc9c0f46b010c6.tar.gz
kernel-qcow2-linux-1139b926c4b1754276fc5e2556cc9c0f46b010c6.tar.xz
kernel-qcow2-linux-1139b926c4b1754276fc5e2556cc9c0f46b010c6.zip
ARM: restart: ixp2000: use new restart hook
Hook these platforms restart code into the new restart hook rather than using arch_reset(). In doing so, we split out the IXDP2401, IXDP2801 and IXDP2805 platform specific restart code into their own platform files. Acked-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ixp2000/core.c')
-rw-r--r--arch/arm/mach-ixp2000/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp2000/core.c b/arch/arm/mach-ixp2000/core.c
index 24f0fe35f4ad..81c45370a4e6 100644
--- a/arch/arm/mach-ixp2000/core.c
+++ b/arch/arm/mach-ixp2000/core.c
@@ -515,3 +515,7 @@ void __init ixp2000_init_irq(void)
}
}
+void ixp2000_restart(char mode, const char *cmd)
+{
+ ixp2000_reg_wrb(IXP2000_RESET0, RSTALL);
+}