diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-11 15:12:17 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-05 12:57:16 +0000 |
commit | 8fb06b124288bf11d9fc2406864ef419c0ebce85 (patch) | |
tree | 9dc079761e5333f0ab133dc920a3a26df3340288 /arch/arm/mach-netx/generic.c | |
parent | 6f91c5a46cf8f083e9316ce238d1aadb629f41dc (diff) | |
download | linux-8fb06b124288bf11d9fc2406864ef419c0ebce85.tar.gz linux-8fb06b124288bf11d9fc2406864ef419c0ebce85.tar.bz2 linux-8fb06b124288bf11d9fc2406864ef419c0ebce85.zip |
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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-netx/generic.c')
-rw-r--r-- | arch/arm/mach-netx/generic.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); +} |