mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 00:49:43 +00:00
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>
This commit is contained in:
parent
a595be3a4a
commit
78fd2f54d5
1 changed files with 1 additions and 1 deletions
|
@ -2495,7 +2495,7 @@ efi_status_t efi_tcg2_register(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* initialize the TPM as early as possible. */
|
/* initialize the TPM as early as possible. */
|
||||||
err = tpm_startup(dev, TPM_ST_CLEAR);
|
err = tpm_auto_start(dev);
|
||||||
if (err) {
|
if (err) {
|
||||||
log_err("TPM startup failed\n");
|
log_err("TPM startup failed\n");
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
Loading…
Reference in a new issue