summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorBhanu Prakash Maiya <bhanumaiya@google.com>2021-07-12 14:38:11 -0700
committerCommit Bot <commit-bot@chromium.org>2021-07-13 02:35:20 +0000
commitf296e1ad1f90ec91cc99641302fe36d9be83320d (patch)
treef3b58e452bf65f6bf713af42a80ee2db2bd86f89 /util
parent0e3c93846f4a901b5afa1c044dd00ab474489436 (diff)
downloadchrome-ec-f296e1ad1f90ec91cc99641302fe36d9be83320d.tar.gz
util/ectool: Add print info for BMI323 and BMA422
BRANCH=none BUG=b:178213305 TEST=Run ectool on Guybrush. Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org> Change-Id: Ic7ac62f328618d939a71f3735e3c367af3ee5a76 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3021755 Tested-by: Bhanu Prakash Maiya <bhanumaiya@google.com> Auto-Submit: Bhanu Prakash Maiya <bhanumaiya@google.com> Commit-Queue: Diana Z <dzigterman@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/ectool.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c
index a8be48fc35..8d2badaa2f 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -5296,6 +5296,12 @@ static int cmd_motionsense(int argc, char **argv)
case MOTIONSENSE_CHIP_ICM42607:
printf("icm42607\n");
break;
+ case MOTIONSENSE_CHIP_BMI323:
+ printf("bmi323\n");
+ break;
+ case MOTIONSENSE_CHIP_BMA422:
+ printf("bma422\n");
+ break;
default:
printf("unknown\n");
}