summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tpm_vendor_cmds.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/tpm_vendor_cmds.h b/include/tpm_vendor_cmds.h
index c1d3a1055e..ba8c1a208c 100644
--- a/include/tpm_vendor_cmds.h
+++ b/include/tpm_vendor_cmds.h
@@ -170,6 +170,37 @@ enum vendor_cmd_cc {
/* POP_LOG_ENTRY with a 64 bit previous timestamp in ms */
VENDOR_CC_POP_LOG_ENTRY_MS = 61,
+ /*
+ * Get/set AP RO configuration settings
+ *
+ * The message sent and received to this vendor command,
+ * with the exception * of SET responses, uses the
+ * following form:
+ *
+ * ```c
+ * struct __attribute__((__packed__)) command_msg {
+ * // Current version of the API
+ * uint8_t version;
+ * // Determines payload type, see
+ * // `arv_config_setting_command_e`.
+ * uint8_t command;
+ * // Type here depends on command
+ * struct command_data data;
+ * };
+ * ```
+ */
+ VENDOR_CC_GET_AP_RO_VERIFY_SETTING = 62,
+ VENDOR_CC_SET_AP_RO_VERIFY_SETTING = 63,
+
+ /* Ti50 only. */
+ VENDOR_CC_SET_CAPABILITY = 64,
+ VENDOR_CC_GET_TI50_STATS = 65,
+ 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,
};