diff options
author | Simon Glass | 2023-02-21 06:24:52 -0700 |
---|---|---|
committer | Ilias Apalodimas | 2023-02-28 09:44:33 +0200 |
commit | a11be4c303eabb142e074c7ca14b6ae0d293f0cb (patch) | |
tree | 99ebfce19f20a994bdc246bff46b39758675512e /include/tpm-common.h | |
parent | 4fef65715196364cb28ddbd7396b6015d78c778c (diff) |
tpm: Implement tpm_auto_start() for TPMv1.2
Add an implementation of this, moving the common call to tpm_init() up
into the common API implementation.
Add a test.
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include/tpm-common.h')
-rw-r--r-- | include/tpm-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tpm-common.h b/include/tpm-common.h index b2c5404430f..1ba81386ce1 100644 --- a/include/tpm-common.h +++ b/include/tpm-common.h @@ -94,7 +94,7 @@ struct tpm_ops { * close(). * * @dev: Device to open - * @return 0 ok OK, -ve on error + * @return 0 ok OK, -EBUSY if already opened, other -ve on other error */ int (*open)(struct udevice *dev); |