projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2174383
)
ARM: rockchip: support reboot fastboot
author
黄涛
<huangtao@rock-chips.com>
Mon, 23 Jun 2014 06:25:05 +0000
(14:25 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 23 Jun 2014 06:25:05 +0000
(14:25 +0800)
arch/arm/mach-rockchip/common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/common.c
b/arch/arm/mach-rockchip/common.c
index b9893d362a13c139fe5947724b065e1ccbd8e9fb..87aba158e9e4268e818e0ebf7554f86d500ff863 100755
(executable)
--- a/
arch/arm/mach-rockchip/common.c
+++ b/
arch/arm/mach-rockchip/common.c
@@
-254,6
+254,8
@@
void rockchip_restart_get_boot_mode(const char *cmd, u32 *flag, u32 *mode)
*flag = SYS_LOADER_REBOOT_FLAG + BOOT_LOADER;
else if(!strcmp(cmd, "recovery"))
*flag = SYS_LOADER_REBOOT_FLAG + BOOT_RECOVER;
+ else if (!strcmp(cmd, "fastboot"))
+ *flag = SYS_LOADER_REBOOT_FLAG + BOOT_FASTBOOT;
else if (!strcmp(cmd, "charge")) {
*flag = SYS_LOADER_REBOOT_FLAG + BOOT_CHARGING;
*mode = BOOT_MODE_CHARGE;