diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2017-09-06 15:51:46 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-10-10 22:13:43 -0700 |
commit | a08f61506cc71b690858e51da905c7dcb2d7ef10 (patch) | |
tree | 7f504d1fdaa6c6a8630656e95f1ed15e2b774d4d /extra | |
parent | f1e6af516c87623f475900f8fc85cb9c40668092 (diff) | |
download | chrome-ec-a08f61506cc71b690858e51da905c7dcb2d7ef10.tar.gz |
g: rename usb_updater into gsctool
The usb_updater utility has long been not just an updater, and has
long been using other interfaces in addition to USB. gsctool is a much
more suitable name.
CQ-DEPEND=CL:709776
BRANCH=cr50
BUG=b:67007500
TEST=verified that make -C ./extra/usb_updater generates
./extra/usb_updater/gsctool:
$ ./extra/usb_updater/gsctool --help
Usage: gsctool [options] <binary image>
This updates the Cr50 RW firmware over USB.
The required argument is the full RO+RW image.
Options:
[...]
$
Change-Id: I3ab70c28acf3664ddefaa923a87ba1fd5c3c437b
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/709738
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'extra')
-rw-r--r-- | extra/usb_updater/.gitignore | 2 | ||||
-rw-r--r-- | extra/usb_updater/Makefile | 4 | ||||
-rw-r--r-- | extra/usb_updater/gsctool.c (renamed from extra/usb_updater/usb_updater.c) | 0 | ||||
-rw-r--r-- | extra/usb_updater/usb_updater2.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/extra/usb_updater/.gitignore b/extra/usb_updater/.gitignore index 5f2aa1f17b..e356628d7d 100644 --- a/extra/usb_updater/.gitignore +++ b/extra/usb_updater/.gitignore @@ -1,2 +1,2 @@ -usb_updater +gsctool usb_updater2 diff --git a/extra/usb_updater/Makefile b/extra/usb_updater/Makefile index f7b74a6f94..49b8a1af2c 100644 --- a/extra/usb_updater/Makefile +++ b/extra/usb_updater/Makefile @@ -4,7 +4,7 @@ CC ?= gcc PKG_CONFIG ?= pkg-config -PROGRAMS := usb_updater usb_updater2 +PROGRAMS := gsctool usb_updater2 LIBS := LFLAGS := CFLAGS := -std=gnu99 \ @@ -42,7 +42,7 @@ LIBS_common = -lfmap all: $(PROGRAMS) # chip/g updater -usb_updater: usb_updater.c Makefile +gsctool: gsctool.c Makefile $(CC) $(CFLAGS) $(CFLAGS_g) $< $(LFLAGS) $(LIBS) $(LIBS_g) -o $@ # common EC code USB updater diff --git a/extra/usb_updater/usb_updater.c b/extra/usb_updater/gsctool.c index 6e79be1e3a..6e79be1e3a 100644 --- a/extra/usb_updater/usb_updater.c +++ b/extra/usb_updater/gsctool.c diff --git a/extra/usb_updater/usb_updater2.c b/extra/usb_updater/usb_updater2.c index 8204e86e70..a9901d177a 100644 --- a/extra/usb_updater/usb_updater2.c +++ b/extra/usb_updater/usb_updater2.c @@ -36,7 +36,7 @@ /* * This file contains the source code of a Linux application used to update - * EC device firmware (common code only, usb_updater takes care of cr50). + * EC device firmware (common code only, gsctool takes care of cr50). */ #define VID USB_VID_GOOGLE |