From 6390af9058e0b495b0c217fb6290ecf12130a24a Mon Sep 17 00:00:00 2001 From: Guillaume Betous Date: Fri, 11 May 2012 17:38:10 +0200 Subject: [PATCH] Improve logs at reboot time BZ: 30330 Add message for reset type. Change-Id: I8283f8c851e5ea92709cc2a4f744f73633b47c45 Signed-off-by: Guillaume Betous Reviewed-on: http://android.intel.com:8080/48465 Reviewed-by: Monnier, Olivier Tested-by: Monnier, Olivier --- arch/x86/platform/intel-mid/intel-mid.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/platform/intel-mid/intel-mid.c b/arch/x86/platform/intel-mid/intel-mid.c index 613380e..4c52bd7 100644 --- a/arch/x86/platform/intel-mid/intel-mid.c +++ b/arch/x86/platform/intel-mid/intel-mid.c @@ -280,10 +280,13 @@ static void intel_mid_reboot(void) pr_debug("intel_scu_fw_update: IFWI upgrade failed...\n"); BUG(); } - if (force_cold_boot) + if (force_cold_boot) { + pr_info("Immediate COLD BOOT\n"); intel_scu_ipc_simple_command(IPCMSG_COLD_BOOT, 0); - else + } else { + pr_info("Immediate COLD RESET\n"); intel_scu_ipc_simple_command(IPCMSG_COLD_RESET, 0); + } } static void intel_mid_emergency_reboot(char *cmd) -- 2.7.4