efi_loader: use tpm_auto_start for the tpm device
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 25 Jan 2023 11:06:03 +0000 (13:06 +0200)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 28 Feb 2023 07:44:22 +0000 (09:44 +0200)
commit78fd2f54d5e1411b164a4757f5d8b307a3811eb5
tree374cb189ab0c4d926ae0edd76975b7b5dda6f99e
parenta595be3a4af116a9559a3868f81dcad55d01b8dd
efi_loader: use tpm_auto_start for the tpm device

A previous commit is adding a new tpm startup functions which
initializes the TPMv2 and performs all the needed selftests.
Since the TPM selftests might be needed depending on the requested
algorithm or functional module use that instead.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_tcg2.c