ARM: rockchip: set default reboot flag as BOOT_NORMAL
author黄涛 <huangtao@rock-chips.com>
Sat, 31 May 2014 02:37:12 +0000 (10:37 +0800)
committer黄涛 <huangtao@rock-chips.com>
Sat, 31 May 2014 02:37:12 +0000 (10:37 +0800)
arch/arm/mach-rockchip/common.c

index a41565adbacc4c1dd2fe1e74968cd800be614a94..b9893d362a13c139fe5947724b065e1ccbd8e9fb 100755 (executable)
@@ -246,7 +246,7 @@ void __init rockchip_boot_mode_init(u32 flag, u32 mode)
 
 void rockchip_restart_get_boot_mode(const char *cmd, u32 *flag, u32 *mode)
 {
-       *flag = 0;
+       *flag = SYS_LOADER_REBOOT_FLAG + BOOT_NORMAL;
        *mode = BOOT_MODE_REBOOT;
 
        if (cmd) {