diff options
Diffstat (limited to 'include/tpm-common.h')
-rw-r--r-- | include/tpm-common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/tpm-common.h b/include/tpm-common.h index 91a1484b3d..f9c2ca2053 100644 --- a/include/tpm-common.h +++ b/include/tpm-common.h @@ -210,6 +210,14 @@ int tpm_open(struct udevice *dev); int tpm_close(struct udevice *dev); /** + * tpm_clear_and_reenable() - Force clear the TPM and reenable it + * + * @dev: TPM device + * @return 0 on success, -ve on failure + */ +u32 tpm_clear_and_reenable(struct udevice *dev); + +/** * tpm_get_desc() - Get a text description of the TPM * * @dev: Device to check |