diff options
author | Heiko Stuebner <heiko@sntech.de> | 2014-09-14 02:43:09 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-09-14 02:43:09 +0900 |
commit | f6361c6b3880063c2248d4e453331e3dc1efbf83 (patch) | |
tree | de3815779566a4a7d56ebc1b0e66ad5f870b72b6 /arch/arm/mach-s3c24xx/s3c2410.c | |
parent | 68ba947c1208504080397b9fc55a0ae9ba92936d (diff) |
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/s3c2410.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2410.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-s3c24xx/s3c2410.c b/arch/arm/mach-s3c24xx/s3c2410.c index 5ffe828cd659..2a6985a4a0ff 100644 --- a/arch/arm/mach-s3c24xx/s3c2410.c +++ b/arch/arm/mach-s3c24xx/s3c2410.c @@ -42,7 +42,6 @@ #include <plat/cpu.h> #include <plat/devs.h> #include <plat/pm.h> -#include <plat/watchdog-reset.h> #include <plat/gpio-core.h> #include <plat/gpio-cfg.h> @@ -135,15 +134,3 @@ int __init s3c2410a_init(void) s3c2410_dev.bus = &s3c2410a_subsys; return s3c2410_init(); } - -void s3c2410_restart(enum reboot_mode mode, const char *cmd) -{ - if (mode == REBOOT_SOFT) { - soft_restart(0); - } - - samsung_wdt_reset(); - - /* we'll take a jump through zero as a poor second */ - soft_restart(0); -} |