diff options
author | Brian Granaghan <granaghan@google.com> | 2023-04-05 20:20:43 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-13 19:11:18 +0000 |
commit | 20ee1fabc83507d6fb5786441b22b8c4a0bfdfb9 (patch) | |
tree | 4d95564a38975ab81bf19b9288c21ae77c245d9d /include/mock | |
parent | 92026fc84fab67bb0ee9b66b635cafb436165d8d (diff) | |
download | chrome-ec-20ee1fabc83507d6fb5786441b22b8c4a0bfdfb9.tar.gz |
gsctool: Add command to get or set factory config.
Add '--factory_config' command to get the factory config if optarg is not
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: I128e9871eb2aece3a9173c5a6e31c2ce5a4d3cd0
Signed-off-by: Brian Granaghan <granaghan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4404231
Commit-Queue: Mary Ruthven <mruthven@chromium.org>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Tested-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'include/mock')
0 files changed, 0 insertions, 0 deletions