diff options
author | Mary Ruthven <mruthven@chromium.org> | 2023-04-05 20:12:26 +0000 |
---|---|---|
committer | Aaron Massey <aaronmassey@google.com> | 2023-04-05 20:12:55 +0000 |
commit | 1bc5ed4c9d9bd17141fbc3ea05954061e8b7c211 (patch) | |
tree | d6ff952d6a6b10468f7bfa4ab9b181bd230a64a9 /include | |
parent | f4b79570b7b423cce8431ebdd2deae102db7a91b (diff) | |
download | chrome-ec-1bc5ed4c9d9bd17141fbc3ea05954061e8b7c211.tar.gz |
Revert "gsctool: Add command to get or set factory config."
This reverts commit f4b79570b7b423cce8431ebdd2deae102db7a91b.
Reason for revert: This breaks the CQ b/277089899
Original change's description:
> 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>
Bug: b:275356839
Change-Id: I9217cffe68808c2191d796f16864a9289b928f21
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4400343
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Tested-by: Aaron Massey <aaronmassey@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tpm_vendor_cmds.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/tpm_vendor_cmds.h b/include/tpm_vendor_cmds.h index ba8c1a208c..0eab55da7b 100644 --- a/include/tpm_vendor_cmds.h +++ b/include/tpm_vendor_cmds.h @@ -198,9 +198,6 @@ enum vendor_cmd_cc { VENDOR_CC_GET_CRASHLOG = 66, VENDOR_CC_GET_CONSOLE_LOGS = 67, - VENDOR_CC_GET_FACTORY_CONFIG = 68, - VENDOR_CC_SET_FACTORY_CONFIG = 69, - LAST_VENDOR_COMMAND = 65535, }; |