From fe76daea9ede24f9f53cb847563c2fa7a50cedf2 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sat, 5 Nov 2011 14:50:25 +0000 Subject: 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 --- arch/arm/mach-w90x900/include/mach/system.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'arch/arm/mach-w90x900/include/mach/system.h') diff --git a/arch/arm/mach-w90x900/include/mach/system.h b/arch/arm/mach-w90x900/include/mach/system.h index 68875a1..001a2f9 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 -#include -#include -#include - -#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); - } } -- cgit v1.1