diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/chipset.h | 2 | ||||
-rw-r--r-- | include/config.h | 3 | ||||
-rw-r--r-- | include/ec_commands.h | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/include/chipset.h b/include/chipset.h index 7363707b38..772114d356 100644 --- a/include/chipset.h +++ b/include/chipset.h @@ -58,6 +58,8 @@ enum chipset_reset_reason { CHIPSET_RESET_HANG_REBOOT, /* Reset by EC console command */ CHIPSET_RESET_CONSOLE_CMD, + /* Reset by EC host command */ + CHIPSET_RESET_HOST_CMD, /* Keyboard module reset key combination */ CHIPSET_RESET_KB_SYSRESET, /* Keyboard module warm reboot */ diff --git a/include/config.h b/include/config.h index a4aecc1ffe..dd63927933 100644 --- a/include/config.h +++ b/include/config.h @@ -1887,6 +1887,9 @@ /* Set SKU ID from AP */ #undef CONFIG_HOSTCMD_AP_SET_SKUID +/* Command to issue AP reset */ +#undef CONFIG_HOSTCMD_AP_RESET + /* List of host commands whose debug output will be suppressed */ #undef CONFIG_SUPPRESSED_HOST_COMMANDS diff --git a/include/ec_commands.h b/include/ec_commands.h index 5508e448d3..32f83efde3 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -4922,6 +4922,9 @@ struct __ec_align4 ec_response_rollback_info { }; +/* Issue AP reset */ +#define EC_CMD_AP_RESET 0x0125 + /*****************************************************************************/ /* The command range 0x200-0x2FF is reserved for Rotor. */ |