summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2016-11-04 20:56:31 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-11-08 20:30:09 -0800
commite3298150ea492440204d92adf0065190faa91f05 (patch)
tree0038990bc041a2cc79efb2400d8fca2f611d6ea5
parent2fc7ba9df19d941fcd7b858d5ea6f3eb2b2398bd (diff)
downloadchrome-ec-e3298150ea492440204d92adf0065190faa91f05.tar.gz
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 <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/407804 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--include/ec_commands.h6
1 files changed, 6 insertions, 0 deletions
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
@@ -552,6 +552,12 @@ enum host_event_code {
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
* considered invalid by the host. This can happen when reading the