summaryrefslogtreecommitdiff
path: root/util/ectool.c
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-04-30 13:46:29 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-05-01 13:06:50 -0700
commit38889d08196b6e84062f9577c3c191de5082b68e (patch)
tree36fb423b536a6c807be857f9b2ce0851cc87a613 /util/ectool.c
parentec74ffb91f20f271bf28442c22c13c602cf02492 (diff)
downloadchrome-ec-38889d08196b6e84062f9577c3c191de5082b68e.tar.gz
ectool: Don't use board name in ectool tool version
When using unified images, it might be confusing to have a single board name in the tool version. Since tool version was added to check for compatibility, it is sufficient to look at the sha versions without the actual board name. BUG=None BRANCH=None TEST=Verified that "ectool version" does not report board name in tool version. Change-Id: I862956791706f8a8d508b780bf050caee7c7ccd2 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/1036114 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'util/ectool.c')
-rw-r--r--util/ectool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool.c b/util/ectool.c
index d70ffed571..7198694d26 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -641,7 +641,7 @@ int cmd_version(int argc, char *argv[])
image_names[r.current_image] : "?"));
printf("Build info: %s\n", build_string);
exit:
- printf("Tool version: %s %s %s\n", CROS_EC_VERSION, DATE, BUILDER);
+ printf("Tool version: %s %s %s\n", CROS_ECTOOL_VERSION, DATE, BUILDER);
return rv;
}