summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/ec_features.c3
-rw-r--r--include/ec_commands.h2
-rw-r--r--util/ectool.c1
3 files changed, 6 insertions, 0 deletions
diff --git a/common/ec_features.c b/common/ec_features.c
index eba3889681..8d364118e0 100644
--- a/common/ec_features.c
+++ b/common/ec_features.c
@@ -137,6 +137,9 @@ uint32_t get_feature_flags1(void)
#ifdef CONFIG_IPI
| EC_FEATURE_MASK_1(EC_FEATURE_SCP)
#endif
+#ifdef CHIP_ISH
+ | EC_FEATURE_MASK_1(EC_FEATURE_ISH)
+#endif
;
#ifdef CONFIG_EC_FEATURE_BOARD_OVERRIDE
result = board_override_feature_flags1(result);
diff --git a/include/ec_commands.h b/include/ec_commands.h
index 09b90ea3db..f2c5d2c55c 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -1342,6 +1342,8 @@ enum ec_feature_code {
EC_FEATURE_AUDIO_CODEC = 38,
/* EC Supports SCP. */
EC_FEATURE_SCP = 39,
+ /* The MCU is Intel Integrated Sensor Hub */
+ EC_FEATURE_ISH = 40,
};
#define EC_FEATURE_MASK_0(event_code) (1UL << (event_code % 32))
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[])