diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2017-11-21 17:45:08 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2017-12-07 01:00:39 +0000 |
commit | c41791abf3d3ea614e57f67e5b481bd3f4574e7b (patch) | |
tree | c54ccc3d0c103675dac3a5af0a844d83bad8d331 /include | |
parent | 1865197138bce76e6b30238aff5c299bfc5130a5 (diff) | |
download | chrome-ec-c41791abf3d3ea614e57f67e5b481bd3f4574e7b.tar.gz |
cr50: ccd: add vendor command to disable RMA mode
The new vendor command takes the CCD state machine through necessary
transitions leaving it in the CCD locked state.
It succeeds only if user password is not set and CCD capabilities are
right, which is guaranteed to be the case after an RMA unlock.
BRANCH=cr50
BUG=b:68213540
TEST=tested using the modified gsctool utility.
Change-Id: Ic2cce34e74b1ff476841cfa1a99f50d6a947c315
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/784352
Reviewed-by: Randall Spangler <rspangler@chromium.org>
(cherry picked from commit baff7ae621d88929c0ab808eee54c081e44b2710)
Reviewed-on: https://chromium-review.googlesource.com/813080
Diffstat (limited to 'include')
-rw-r--r-- | include/tpm_vendor_cmds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tpm_vendor_cmds.h b/include/tpm_vendor_cmds.h index 93961e793d..1a9682be69 100644 --- a/include/tpm_vendor_cmds.h +++ b/include/tpm_vendor_cmds.h @@ -45,6 +45,7 @@ enum vendor_cmd_cc { VENDOR_CC_GET_REC_BTN = 29, VENDOR_CC_RMA_CHALLENGE_RESPONSE = 30, VENDOR_CC_CCD_PASSWORD = 31, + VENDOR_CC_DISABLE_RMA = 32, LAST_VENDOR_COMMAND = 65535, }; |