summaryrefslogtreecommitdiffstats
path: root/include/tpm-common.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-05-15 11:57:07 +0200
committerTom Rini <trini@konsulko.com>2018-05-25 20:12:55 -0400
commit3219cf693a1674650eba2a57d4bf8c87d9f21752 (patch)
tree7b1a35214aaca42a1df49a074148923c4db76b1b /include/tpm-common.h
parentd677bfe2f7914367d1caa6146b34e86d0df1c75d (diff)
downloadu-boot-3219cf693a1674650eba2a57d4bf8c87d9f21752.tar.gz
u-boot-3219cf693a1674650eba2a57d4bf8c87d9f21752.tar.xz
u-boot-3219cf693a1674650eba2a57d4bf8c87d9f21752.zip
tpm: add missing parameter in private data structure description
Both parameters 'duration_ms' and 'retry_time_ms' of the tpm_chip_priv structure are documented is the comment above the declaration but 'buf' was forgotten. Add the missing description. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/tpm-common.h')
-rw-r--r--include/tpm-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tpm-common.h b/include/tpm-common.h
index 1ca5d28242..e0ba696f1c 100644
--- a/include/tpm-common.h
+++ b/include/tpm-common.h
@@ -35,6 +35,7 @@ enum tpm_duration {
*
* @duration_ms: Length of each duration type in milliseconds
* @retry_time_ms: Time to wait before retrying receive
+ * @buf: Buffer used during the exchanges with the chip
*/
struct tpm_chip_priv {
uint duration_ms[TPM_DURATION_COUNT];