diff options
author | codeworkx <codeworkx@cyanogenmod.org> | 2012-12-09 16:04:25 +0100 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.org> | 2012-12-09 16:05:28 +0100 |
commit | a71808b497441557d1a0c476e9305e9f5e0d4842 (patch) | |
tree | 32595860f2cffa1b18dff12f5e30db864c56e107 /arch/arm/mach-exynos | |
parent | 78ac47eaca3e4d89e73482ffc4fda4d6a924cb0d (diff) | |
download | kernel_samsung_smdk4412-a71808b497441557d1a0c476e9305e9f5e0d4842.tar.gz kernel_samsung_smdk4412-a71808b497441557d1a0c476e9305e9f5e0d4842.tar.bz2 kernel_samsung_smdk4412-a71808b497441557d1a0c476e9305e9f5e0d4842.zip |
smdk4412: reboot bootloader boots into download mode
Change-Id: I7fff613ec8b4dcd4bae58ee4aab51c64e571025f
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r-- | arch/arm/mach-exynos/sec-reboot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/sec-reboot.c b/arch/arm/mach-exynos/sec-reboot.c index d847c6d37fa..593624b2386 100644 --- a/arch/arm/mach-exynos/sec-reboot.c +++ b/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); |