projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: qemu: Report high memory in the E820 table
[oweals/u-boot.git]
/
include
/
tpm-common.h
diff --git
a/include/tpm-common.h
b/include/tpm-common.h
index 91a1484b3d63a04a53f0cd2160c9e731ec219eee..f9c2ca20539b96884bcfffa5950f6ce647024340 100644
(file)
--- 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);
*/
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
*
/**
* tpm_get_desc() - Get a text description of the TPM
*