diff --git a/common/system_common.c b/common/system_common.c index c654143695..d5da126943 100644 --- a/common/system_common.c +++ b/common/system_common.c @@ -731,10 +731,14 @@ int host_command_reboot(uint8_t *data, int *resp_size) return EC_RES_ERROR; } +#ifdef CONFIG_TASK_HOSTCMD #ifdef CONFIG_LPC /* Clean busy bits on host */ host_send_result(0, EC_RES_SUCCESS); host_send_result(1, EC_RES_SUCCESS); +#elif defined CONFIG_I2C + host_send_result(0, EC_RES_SUCCESS); +#endif #endif CPUTS("[Executing host reboot command]\n");