aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/sec-reboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/sec-reboot.c')
-rw-r--r--arch/arm/mach-exynos/sec-reboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/sec-reboot.c b/arch/arm/mach-exynos/sec-reboot.c
index 7b2e6e5..fd70fc6 100644
--- a/arch/arm/mach-exynos/sec-reboot.c
+++ b/arch/arm/mach-exynos/sec-reboot.c
@@ -112,6 +112,8 @@ static void sec_reboot(char str, const char *cmd)
&& !kstrtoul(cmd + 3, 0, &value))
writel(REBOOT_SET_PREFIX | REBOOT_SET_SUD | value,
S5P_INFORM3);
+ else if (!strncmp(cmd, "emergency", 9))
+ writel(0, S5P_INFORM3);
else
writel(REBOOT_MODE_PREFIX | REBOOT_MODE_NONE,
S5P_INFORM3);