aboutsummaryrefslogtreecommitdiff
path: root/include/tpm_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tpm_api.h')
-rw-r--r--include/tpm_api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/tpm_api.h b/include/tpm_api.h
index 8979d9d6df..022a8bbaec 100644
--- a/include/tpm_api.h
+++ b/include/tpm_api.h
@@ -331,4 +331,12 @@ static inline bool tpm_is_v2(struct udevice *dev)
return IS_ENABLED(CONFIG_TPM_V2) && tpm_get_version(dev) == TPM_V2;
}
+/**
+ * tpm_auto_start() - start up the TPM and perform selftests
+ *
+ * @param dev TPM device
+ * Return: return code of the operation (0 = success)
+ */
+u32 tpm_auto_start(struct udevice *dev);
+
#endif /* __TPM_API_H */