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:
16c1ff5
)
rk30: boot mode: set recovery mode do not use command line
author
黄涛
<huangtao@rock-chips.com>
Wed, 29 Aug 2012 10:16:04 +0000
(18:16 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Wed, 29 Aug 2012 11:53:37 +0000
(19:53 +0800)
arch/arm/mach-rk30/common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/common.c
b/arch/arm/mach-rk30/common.c
index 0663ec8cae77b21abd43aab2a3e3f34a621b98db..21775fb0d53b7e7877b6a9677200b4063940c2ee 100755
(executable)
--- a/
arch/arm/mach-rk30/common.c
+++ b/
arch/arm/mach-rk30/common.c
@@
-96,8
+96,6
@@
static void __init rk30_boot_mode_init(void)
if (boot_flag == (SYS_KERNRL_REBOOT_FLAG | BOOT_RECOVER)) {
boot_mode = BOOT_MODE_RECOVERY;
- } else if (strstr(boot_command_line, "(parameter)")) {
- boot_mode = BOOT_MODE_RECOVERY;
}
if (boot_mode || boot_flag)
printk("Boot mode: %d flag: 0x%08x\n", boot_mode, boot_flag);