Skip to content

Commit 028091f

Browse files
Sebastian PanceacKAGA-KOKO
authored andcommitted
x86/platform/intel-mid: Handle Intel Edison reboot correctly
When the Intel Edison module is powered with 3.3V, the reboot command makes the module stuck. If the module is powered at a greater voltage, like 4.4V (as the Edison Mini Breakout board does), reboot works OK. The official Intel Edison BSP sends the IPCMSG_COLD_RESET message to the SCU by default. The IPCMSG_COLD_BOOT which is used by the upstream kernel is only sent when explicitely selected on the kernel command line. Use IPCMSG_COLD_RESET unconditionally which makes reboot work independent of the power supply voltage. [ tglx: Massaged changelog ] Fixes: bda7b07 ("x86/platform/intel-mid: Implement power off sequence") Signed-off-by: Sebastian Panceac <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Andy Shevchenko <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
1 parent 22636f8 commit 028091f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/platform/intel-mid/intel-mid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static void intel_mid_power_off(void)
7979

8080
static void intel_mid_reboot(void)
8181
{
82-
intel_scu_ipc_simple_command(IPCMSG_COLD_BOOT, 0);
82+
intel_scu_ipc_simple_command(IPCMSG_COLD_RESET, 0);
8383
}
8484

8585
static unsigned long __init intel_mid_calibrate_tsc(void)

0 commit comments

Comments
 (0)