|
@@ -45,6 +45,7 @@
|
|
|
#include <plat/iic-core.h>
|
|
|
#include <plat/onenand-core.h>
|
|
|
#include <plat/regs-serial.h>
|
|
|
+#include <plat/watchdog-reset.h>
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
@@ -221,3 +222,11 @@ void __init s5pc100_init_uarts(struct s3c2410_uartcfg *cfg, int no)
|
|
|
{
|
|
|
s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no);
|
|
|
}
|
|
|
+
|
|
|
+void s5pc100_restart(char mode, const char *cmd)
|
|
|
+{
|
|
|
+ if (mode != 's')
|
|
|
+ arch_wdt_reset();
|
|
|
+
|
|
|
+ soft_restart(0);
|
|
|
+}
|