mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: google/chromeec: Sync ec_commands.h host events with ec codebase
BUG=chrome-os-partner:59352 BRANCH=None TEST=Compiles successfully for reef 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> Change-Id: Ibfa5681e16a97e342633104d2aae1fb0402939b8 Reviewed-on: https://chromium-review.googlesource.com/410091 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
2e3c61a4b0
commit
78a95844af
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue