From: 黄涛 Date: Sat, 31 May 2014 02:37:12 +0000 (+0800) Subject: ARM: rockchip: set default reboot flag as BOOT_NORMAL X-Git-Tag: firefly_0821_release~5199 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=60dad30fe9d315b74cb01df10fc24eeb7dc4b7f3;p=firefly-linux-kernel-4.4.55.git ARM: rockchip: set default reboot flag as BOOT_NORMAL --- diff --git a/arch/arm/mach-rockchip/common.c b/arch/arm/mach-rockchip/common.c index a41565adbacc..b9893d362a13 100755 --- a/arch/arm/mach-rockchip/common.c +++ b/arch/arm/mach-rockchip/common.c @@ -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) {