mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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 <sjg@chromium.org>
This commit is contained in:
parent
0a60a0a65f
commit
5e69b8bc04
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue