From: Simon Glass Date: Sat, 24 Nov 2018 04:29:33 +0000 (-0700) Subject: tpm: Export tpm_clear_and_reenable() X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=5e69b8bc049cbc357c3d13a6e83e43161642de57;p=u-boot.git tpm: Export tpm_clear_and_reenable() This function is intended to be exported but is not. Add it to the header file. Signed-off-by: Simon Glass --- 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 @@ -209,6 +209,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 *