From 8fb06b124288bf11d9fc2406864ef419c0ebce85 Mon Sep 17 00:00:00 2001 From: Russell King Date: Fri, 11 Nov 2011 15:12:17 +0000 Subject: ARM: restart: netx: use new restart hook Hook these platforms restart code into the new restart hook rather than using arch_reset(). Signed-off-by: Russell King --- arch/arm/mach-netx/generic.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/arm/mach-netx/generic.c') diff --git a/arch/arm/mach-netx/generic.c b/arch/arm/mach-netx/generic.c index 00023b5cf12b..59e67979f197 100644 --- a/arch/arm/mach-netx/generic.c +++ b/arch/arm/mach-netx/generic.c @@ -187,3 +187,8 @@ static int __init netx_init(void) subsys_initcall(netx_init); +void netx_restart(char mode, const char *cmd) +{ + writel(NETX_SYSTEM_RES_CR_FIRMW_RES_EN | NETX_SYSTEM_RES_CR_FIRMW_RES, + NETX_SYSTEM_RES_CR); +} -- cgit