summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Granaghan <granaghan@google.com>2023-04-25 18:05:28 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-03 19:42:50 +0000
commit05534e11aca09b24931bff651f6b15c1fade338f (patch)
tree8ffde8e6b30eb952652a64ccd4891c6cdb53512c
parent25a7c25f1c85468c3eda104ef08c099237c5fb2f (diff)
downloadchrome-ec-05534e11aca09b24931bff651f6b15c1fade338f.tar.gz
gsctool: Add get time command code.
BUG=b:273347276 TEST=build Change-Id: I115030362a5f3a7c04d88e020382cc9de42a787a Signed-off-by: Brian Granaghan <granaghan@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4475133 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Mary Ruthven <mruthven@chromium.org> (cherry picked from commit dff7e20754e24019a69c7e2f749519f7ee918d1e) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4491104 Commit-Queue: Mary Ruthven <mruthven@chromium.org> Tested-by: Mary Ruthven <mruthven@chromium.org> Auto-Submit: Mary Ruthven <mruthven@chromium.org> (cherry picked from commit 7c35e881ef4a07ab91ca0e6cc9defd3acaf2a89b) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4503744 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Reviewed-by: Andrey Pronin <apronin@chromium.org>
-rw-r--r--include/tpm_vendor_cmds.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tpm_vendor_cmds.h b/include/tpm_vendor_cmds.h
index 943fafd1a2..b9ba1e226f 100644
--- a/include/tpm_vendor_cmds.h
+++ b/include/tpm_vendor_cmds.h
@@ -201,6 +201,8 @@ enum vendor_cmd_cc {
VENDOR_CC_GET_FACTORY_CONFIG = 68,
VENDOR_CC_SET_FACTORY_CONFIG = 69,
+ VENDOR_CC_GET_TIME = 70,
+
LAST_VENDOR_COMMAND = 65535,
};