From e3298150ea492440204d92adf0065190faa91f05 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Fri, 4 Nov 2016 20:56:31 -0700 Subject: [PATCH] ec_commands: Add a new host event for extended events Since we are out of host event bits, add a bit to indicate extended host event exists. This is put in as a placeholder for now so that we don't lose out the last available hostevent bit. BUG=chrome-os-partner:59352 BRANCH=None TEST=Compiles successfully Change-Id: If35a246f3da511fde9f8c0bba419afb76a1a9827 Signed-off-by: Furquan Shaikh Reviewed-on: https://chromium-review.googlesource.com/407804 Reviewed-by: Randall Spangler --- include/ec_commands.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/ec_commands.h b/include/ec_commands.h index 153ea56a84..c7bc3c8b8e 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -551,6 +551,12 @@ enum host_event_code { /* 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 * it reads back as set, then the entire event mask should be