diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2016-12-27 10:19:40 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2018-03-13 23:50:24 +0000 |
commit | cbc9181dda65cab43524aa4c5c97a1c903fcdee5 (patch) | |
tree | b6377910719d828927398cd11b28a07ccf5245c3 | |
parent | da2fa21f8365dec2042b31a0361d0f0f9a4660a7 (diff) | |
download | chrome-ec-cbc9181dda65cab43524aa4c5c97a1c903fcdee5.tar.gz |
cr50: vendor command to enable nvmem commits
TPM NVMEM commits are reenabled as soon as the system boots into
Chrome OS. However, sometimes the device does not boot into Chrome OS,
in which case it is necessary to be able to reinstate NVMEM commits
explicitly.
The new vendor command will provide this functionality.
BRANCH=none
BUG=chrome-os-partner:59873
TEST=added code to depthcharge to issue the new vendor command if the
system falls into recovery mode, verify that commits are
re-instated once the command is issued.
Original Change-Id: I3c06b27175751dc2c095911441935eee62ed9c50
Original Reviewed-on: https://chromium-review.googlesource.com/424064
Original Commit-Ready: Vadim Bendebury <vbendeb@chromium.org>
Original Tested-by: Vadim Bendebury <vbendeb@chromium.org>
Original Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Conflicts:
board/cr50/board.c
Change-Id: I547ef8b0461b4e8717c8c0ddaf0949c2f44195b3
Reviewed-on: https://chromium-review.googlesource.com/958881
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Marco Chen <marcochen@chromium.org>
Commit-Queue: Marco Chen <marcochen@chromium.org>
-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 4e49455369..f81abf70d0 100644 --- a/include/tpm_vendor_cmds.h +++ b/include/tpm_vendor_cmds.h @@ -32,6 +32,7 @@ enum vendor_cmd_cc { VENDOR_CC_SYSINFO = 18, VENDOR_CC_IMMEDIATE_RESET = 19, VENDOR_CC_INVALIDATE_INACTIVE_RW = 20, + VENDOR_CC_COMMIT_NVMEM = 21, LAST_VENDOR_COMMAND = 65535, }; |