summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/include/mach/system-reset.h
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2011-12-22 23:37:44 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 12:57:18 +0000
commit57538975917d4b0c467dbdd21328337f059bc027 (patch)
treee7fbdeacc9d55950f8092edf53603ec557edd667 /arch/arm/mach-s3c2410/include/mach/system-reset.h
parente11e909df5d1ae876502f9e5f714852aa6548b58 (diff)
ARM: 7254/1: restart: S3C24XX: move SWRST based S3C platforms to
S3C2412/S3C2416/S3C2443 use a special register to signal the reset to the processor and used therefore the s3c24xx_reset_hook mechanism in the s3c24xx-specific arch reset. This patch introduces restart functions for these architectures, moves the board files to them and removes the s3c24xx_reset_hook infrastructure, as all users are gone. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/include/mach/system-reset.h')
-rw-r--r--arch/arm/mach-s3c2410/include/mach/system-reset.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/system-reset.h b/arch/arm/mach-s3c2410/include/mach/system-reset.h
index 913893d4465..1e495f35ddd 100644
--- a/arch/arm/mach-s3c2410/include/mach/system-reset.h
+++ b/arch/arm/mach-s3c2410/include/mach/system-reset.h
@@ -13,8 +13,6 @@
#include <mach/hardware.h>
#include <plat/watchdog-reset.h>
-extern void (*s3c24xx_reset_hook)(void);
-
static void
arch_reset(char mode, const char *cmd)
{
@@ -22,9 +20,6 @@ arch_reset(char mode, const char *cmd)
soft_restart(0);
}
- if (s3c24xx_reset_hook)
- s3c24xx_reset_hook();
-
arch_wdt_reset();
/* we'll take a jump through zero as a poor second */