diff options
author | Brian Granaghan <granaghan@google.com> | 2023-04-04 21:52:01 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-05 16:42:50 +0000 |
commit | f4b79570b7b423cce8431ebdd2deae102db7a91b (patch) | |
tree | 4c5f9e52737fef7fb1edfc78a73d52c427b4be05 /Makefile.rules | |
parent | 78c483d9c9303354a2ff4b15f4939951fd8a6eff (diff) | |
download | chrome-ec-f4b79570b7b423cce8431ebdd2deae102db7a91b.tar.gz |
gsctool: Add command to get or set factory config.
Add '--factory_config' command to get the factory config if not optarg
is provided and set it if one is provided.
BUG=b:275356839
TEST=localhost ~ # gsctool -a --factory_config
EEDDCCBBAA998877
Failed because already set:
localhost ~ # gsctool -a --factory_config 001122334455667788
Factory config failed. (7)
Successful set:
localhost ~ # gsctool -a --factory_config
0
localhost ~ # gsctool -a --factory_config 001122334455667788
localhost ~ # gsctool -a --factory_config
1122334455667788
Change-Id: I69c3c6a9c5540d39d2a9fc02fc3702174229a77d
Signed-off-by: Brian Granaghan <granaghan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4400915
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'Makefile.rules')
0 files changed, 0 insertions, 0 deletions