Permalink
Browse files

add bootloader command to reboot

Change-Id: I337d65ea1dcc3cb1afe01832715ca2952c321875
  • Loading branch information...
1 parent 80664ff commit 8e3d42a3b37b96bf440a99565768a94542ce7cfb @ohanar ohanar committed Aug 27, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 arch/arm/mach-exynos/sec-reboot.c
@@ -91,6 +91,9 @@ static void sec_reboot(char str, const char *cmd)
else if (!strcmp(cmd, "recovery"))
writel(REBOOT_MODE_PREFIX | REBOOT_MODE_RECOVERY,
S5P_INFORM3);
+ else if (!strcmp(cmd, "bootloader"))
+ writel(REBOOT_MODE_PREFIX | REBOOT_MODE_DOWNLOAD,
+ S5P_INFORM3);
else if (!strcmp(cmd, "download"))
writel(REBOOT_MODE_PREFIX | REBOOT_MODE_DOWNLOAD,
S5P_INFORM3);

0 comments on commit 8e3d42a

Please sign in to comment.