summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/s3c2412.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2014-09-13 21:43:09 +0400
committerKukjin Kim <kgene.kim@samsung.com>2014-09-13 21:43:09 +0400
commitf6361c6b3880063c2248d4e453331e3dc1efbf83 (patch)
treede3815779566a4a7d56ebc1b0e66ad5f870b72b6 /arch/arm/mach-s3c24xx/s3c2412.c
parent68ba947c1208504080397b9fc55a0ae9ba92936d (diff)
downloadlinux-f6361c6b3880063c2248d4e453331e3dc1efbf83.tar.xz
ARM: S3C24XX: remove separate restart code
The restart-handler series from Guenter Roeck got accepted recently and implements among other things also the restart handler in the samsung watchdog driver and where applicable in the clock drivers. So there is no need for having the restart callbacks in s3c24xx boards anymore. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/s3c2412.c')
-rw-r--r--arch/arm/mach-s3c24xx/s3c2412.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/mach-s3c24xx/s3c2412.c b/arch/arm/mach-s3c24xx/s3c2412.c
index 569f3f5a6c71..ecf2c77ab88b 100644
--- a/arch/arm/mach-s3c24xx/s3c2412.c
+++ b/arch/arm/mach-s3c24xx/s3c2412.c
@@ -48,9 +48,6 @@
#include "regs-dsc.h"
#include "s3c2412-power.h"
-#define S3C2412_SWRST (S3C24XX_VA_CLKPWR + 0x30)
-#define S3C2412_SWRST_RESET (0x533C2412)
-
#ifndef CONFIG_CPU_S3C2412_ONLY
void __iomem *s3c24xx_va_gpio2 = S3C24XX_VA_GPIO;
@@ -128,26 +125,6 @@ static void s3c2412_idle(void)
cpu_do_idle();
}
-void s3c2412_restart(enum reboot_mode mode, const char *cmd)
-{
- if (mode == REBOOT_SOFT)
- soft_restart(0);
-
- /* errata "Watch-dog/Software Reset Problem" specifies that
- * this reset must be done with the SYSCLK sourced from
- * EXTCLK instead of FOUT to avoid a glitch in the reset
- * mechanism.
- *
- * See the watchdog section of the S3C2412 manual for more
- * information on this fix.
- */
-
- __raw_writel(0x00, S3C2412_CLKSRC);
- __raw_writel(S3C2412_SWRST_RESET, S3C2412_SWRST);
-
- mdelay(1);
-}
-
/* s3c2412_map_io
*
* register the standard cpu IO areas, and any passed in from the