aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc100/common.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2011-12-22 17:35:21 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 07:57:19 -0500
commit5497d2e1d63bfdd707d4b19651c4127545ccd135 (patch)
tree56fac6bd7f87aa06afd4f1f9c8532d2cd943c73d /arch/arm/mach-s5pc100/common.c
parent73aed8b9493f98edaabe4395c4043c4d3bccf7e1 (diff)
ARM: 7251/1: restart: S5PC100: use new restart hook
Hook these platforms restart code into the new restart hook rather than using arch_reset(). Cc: Ben Dooks <ben-linux@fluff.org> 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-s5pc100/common.c')
-rw-r--r--arch/arm/mach-s5pc100/common.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/common.c b/arch/arm/mach-s5pc100/common.c
index e6eadacc108c..73594a2fcf26 100644
--- a/arch/arm/mach-s5pc100/common.c
+++ b/arch/arm/mach-s5pc100/common.c
@@ -45,6 +45,7 @@
45#include <plat/iic-core.h> 45#include <plat/iic-core.h>
46#include <plat/onenand-core.h> 46#include <plat/onenand-core.h>
47#include <plat/regs-serial.h> 47#include <plat/regs-serial.h>
48#include <plat/watchdog-reset.h>
48 49
49#include "common.h" 50#include "common.h"
50 51
@@ -221,3 +222,11 @@ void __init s5pc100_init_uarts(struct s3c2410_uartcfg *cfg, int no)
221{ 222{
222 s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no); 223 s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no);
223} 224}
225
226void s5pc100_restart(char mode, const char *cmd)
227{
228 if (mode != 's')
229 arch_wdt_reset();
230
231 soft_restart(0);
232}