]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm: Implement tpm_auto_start() for TPMv1.2
authorSimon Glass <sjg@chromium.org>
Tue, 21 Feb 2023 13:24:52 +0000 (06:24 -0700)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 28 Feb 2023 07:44:33 +0000 (09:44 +0200)
commita11be4c303eabb142e074c7ca14b6ae0d293f0cb
tree99ebfce19f20a994bdc246bff46b39758675512e
parent4fef65715196364cb28ddbd7396b6015d78c778c
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>
include/tpm-common.h
include/tpm-v1.h
lib/tpm-v1.c
lib/tpm-v2.c
lib/tpm_api.c
test/dm/tpm.c