summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNamyoon Woo <namyoon@chromium.org>2018-12-04 13:16:42 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-12-13 06:43:35 -0800
commit8f13e78bae71940b6ad7c427611b52eddfb19287 (patch)
treee785680795894c4d4088e0d3c7d477a9a5bc4fee /include
parent80e6645b2d9876be58102c454cb0cf188f1d1eff (diff)
downloadchrome-ec-8f13e78bae71940b6ad7c427611b52eddfb19287.tar.gz
cr50: VENDOR_CC_IMMEDIATE_RESET may have a delay argument.
VENDOR_CC_IMMEDIATE_RESET has either uint16_t argument or none. The argument is a time delay in millisecond unit. If it has no argument, then Cr50 resets H1 immediately without any delay. BUG=b:120485010 BRANCH=cr50 TEST=none Change-Id: I33aaacbb0a0532aa84f39a8cd51d0d54fa2d281a Signed-off-by: Namyoon Woo <namyoon@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1361998 Commit-Ready: Joel Kitching <kitching@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/tpm_vendor_cmds.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tpm_vendor_cmds.h b/include/tpm_vendor_cmds.h
index 39ef3b8b57..499e2c3fa2 100644
--- a/include/tpm_vendor_cmds.h
+++ b/include/tpm_vendor_cmds.h
@@ -32,6 +32,12 @@ enum vendor_cmd_cc {
VENDOR_CC_GET_LOCK = 16,
VENDOR_CC_SET_LOCK = 17,
VENDOR_CC_SYSINFO = 18,
+ /*
+ * VENDOR_CC_IMMEDIATE_RESET may have an argument, which is a (uint16_t)
+ * time delay (in milliseconds) in doing a reset. Max value is 1000.
+ * The command may also be called without an argument, which will be
+ * regarded as zero time delay.
+ */
VENDOR_CC_IMMEDIATE_RESET = 19,
VENDOR_CC_INVALIDATE_INACTIVE_RW = 20,
VENDOR_CC_COMMIT_NVMEM = 21,