rk30: boot mode: set recovery mode do not use command line

This commit is contained in:
黄涛
2012-08-29 18:16:04 +08:00
parent 16c1ff51e2
commit 5c13de701a

View File

@@ -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);