summaryrefslogtreecommitdiff
path: root/include/ec_commands.h
diff options
context:
space:
mode:
authordnojiri <dnojiri@chromium.org>2020-03-27 16:22:13 -0700
committerCommit Bot <commit-bot@chromium.org>2020-03-31 20:05:52 +0000
commite398cef7976ca7fe9a1795dae497036bb3d051d7 (patch)
tree215f8f89e8cfae0fd3c3ca230be975906bd54a20 /include/ec_commands.h
parent32159f96b56d60475386a5df0e102142cb0a9527 (diff)
downloadchrome-ec-e398cef7976ca7fe9a1795dae497036bb3d051d7.tar.gz
EFS2: Add EC_FEATURE_EFS2
This patch adds EC_EEATURE_EFS2. It allows AP, servo, and a developer to query whether EFS2 is supported or not. Signed-off-by: dnojiri <dnojiri@chromium.org> BUG=b/152449880 BRANCH=none TEST=Verify ectool inventory prints 38 on Helios. Change-Id: Id308cad4115314380ca47c45c3212e2e6fb4095d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2125410 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Auto-Submit: Daisuke Nojiri <dnojiri@chromium.org> Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'include/ec_commands.h')
-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 b43fdd0812..07700a89d5 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -1390,6 +1390,12 @@ enum ec_feature_code {
* MOTIONSENSE_CMD_TABLET_MODE_LID_ANGLE.
*/
EC_FEATURE_REFINED_TABLET_MODE_HYSTERESIS = 37,
+ /*
+ * Early Firmware Selection ver.2. Enabled by CONFIG_VBOOT_EFS2.
+ * Note this is a RO feature. So, a query (EC_CMD_GET_FEATURES) should
+ * be sent to RO to be precise.
+ */
+ EC_FEATURE_EFS2 = 38,
/* The MCU is a System Companion Processor (SCP). */
EC_FEATURE_SCP = 39,
/* The MCU is an Integrated Sensor Hub */