google/chromeec: Sync ec_commands.h host events with ec codebase

BUG=chrome-os-partner:59352
BRANCH=None
TEST=Compiles successfully for reef

Change-Id: Ibfa5681e16a97e342633104d2aae1fb0402939b8
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17240
Tested-by: build bot (Jenkins)
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
This commit is contained in:
Furquan Shaikh 2016-11-06 00:12:23 -07:00 committed by Furquan Shaikh
parent 9ec1123917
commit 2afc4e7ff7
1 changed files with 12 additions and 0 deletions

View File

@ -471,9 +471,21 @@ enum host_event_code {
/* Emulate MKBP event */ /* Emulate MKBP event */
EC_HOST_EVENT_MKBP = 27, EC_HOST_EVENT_MKBP = 27,
/* EC desires to change state of host-controlled USB mux */
EC_HOST_EVENT_USB_MUX = 28,
/* TABLET/LAPTOP mode event*/ /* TABLET/LAPTOP mode event*/
EC_HOST_EVENT_MODE_CHANGE = 29, EC_HOST_EVENT_MODE_CHANGE = 29,
/* Keyboard recovery combo with hardware reinitialization */
EC_HOST_EVENT_KEYBOARD_RECOVERY_HW_REINIT = 30,
/*
* Reserve this last bit to indicate that at least one bit in a
* secondary host event word is set. See crbug.com/633646.
*/
EC_HOST_EVENT_EXTENDED = 31,
/* /*
* The high bit of the event mask is not used as a host event code. If * The high bit of the event mask is not used as a host event code. If
* it reads back as set, then the entire event mask should be * it reads back as set, then the entire event mask should be