summaryrefslogtreecommitdiff
path: root/util/ectool.c
diff options
context:
space:
mode:
authorRushikesh S Kadam <rushikesh.s.kadam@intel.com>2019-01-28 18:35:43 +0530
committerchrome-bot <chrome-bot@chromium.org>2019-02-04 12:42:29 -0800
commitfe59e6140d7ff8ee90359d3144bffb6fbcf4e053 (patch)
tree3599725bddf775f3d60cb09b1a0740adf42ed266 /util/ectool.c
parenta11c3a1fd60ec8e12cde5e910b95d8ca6d6bf378 (diff)
downloadchrome-ec-fe59e6140d7ff8ee90359d3144bffb6fbcf4e053.tar.gz
ish: add ec_feature flag for ISH
The kernel driver needs to be able to distinguish an ish cros_ec implementation from a normal EC implementation. Add a new flag to the ec features that advertises this. This will follow the same logic that fingerprint and touchpad do in the kernel. BRANCH=none BUG=b:123075957 TEST=verified that dis assembly for arcada includes this new flag Change-Id: Ic766097fc938888fde808101fc9f1f459f061d84 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1446539 Reviewed-by: Nick Crews <ncrews@chromium.org> Reviewed-by: Rushikesh S Kadam <rushikesh.s.kadam@intel.com> Reviewed-by: Gwendal Grignou <gwendal@google.com>
Diffstat (limited to 'util/ectool.c')
-rw-r--r--util/ectool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c
index 961530b826..436eda29b6 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -646,6 +646,7 @@ static const char * const ec_feature_names[] = {
[EC_FEATURE_REFINED_TABLET_MODE_HYSTERESIS] =
"Refined tablet mode hysteresis",
[EC_FEATURE_AUDIO_CODEC] = "Audio Codec",
+ [EC_FEATURE_ISH] = "Intel Integrated Sensor Hub",
};
int cmd_inventory(int argc, char *argv[])