diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-05 14:50:25 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-05 12:57:21 +0000 |
commit | fe76daea9ede24f9f53cb847563c2fa7a50cedf2 (patch) | |
tree | b6dbe02cb5169b90aa6bf786a0179516e3a1c253 /arch/arm/mach-w90x900/include | |
parent | f5733a1e80fa0b40bea815ddf605ece272c6dac1 (diff) | |
download | linux-stable-fe76daea9ede24f9f53cb847563c2fa7a50cedf2.tar.gz linux-stable-fe76daea9ede24f9f53cb847563c2fa7a50cedf2.tar.bz2 linux-stable-fe76daea9ede24f9f53cb847563c2fa7a50cedf2.zip |
ARM: restart: w90x900: 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-w90x900/include')
-rw-r--r-- | arch/arm/mach-w90x900/include/mach/system.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/mach-w90x900/include/mach/system.h b/arch/arm/mach-w90x900/include/mach/system.h index 68875a1c16be..001a2f93a1e2 100644 --- a/arch/arm/mach-w90x900/include/mach/system.h +++ b/arch/arm/mach-w90x900/include/mach/system.h @@ -14,28 +14,11 @@ * (at your option) any later version. * */ - -#include <linux/io.h> -#include <asm/proc-fns.h> -#include <mach/map.h> -#include <mach/regs-timer.h> - -#define WTCR (TMR_BA + 0x1C) -#define WTCLK (1 << 10) -#define WTE (1 << 7) -#define WTRE (1 << 1) - static void arch_idle(void) { } static void arch_reset(char mode, const char *cmd) { - if (mode == 's') { - /* Jump into ROM at address 0 */ - soft_restart(0); - } else { - __raw_writel(WTE | WTRE | WTCLK, WTCR); - } } |