diff options
-rw-r--r-- | include/ec_commands.h | 1 | ||||
-rw-r--r-- | util/ectool.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index 94edd18db4..9650701695 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -2434,6 +2434,7 @@ enum motionsensor_chip { MOTIONSENSE_CHIP_TCS3400 = 20, MOTIONSENSE_CHIP_LIS2DW12 = 21, MOTIONSENSE_CHIP_LIS2DWL = 22, + MOTIONSENSE_CHIP_ICM426XX = 25, MOTIONSENSE_CHIP_MAX, }; diff --git a/util/ectool.c b/util/ectool.c index 057c261ed3..294c00e903 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -4304,6 +4304,9 @@ static int cmd_motionsense(int argc, char **argv) case MOTIONSENSE_CHIP_LIS2DWL: printf("lis2dwl\n"); break; + case MOTIONSENSE_CHIP_ICM426XX: + printf("icm426xx\n"); + break; default: printf("unknown\n"); } |