aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2023-01-19 16:29:15 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-01-20 16:38:52 +0100
commitcd63e2d26c7c080c8bdb4ea40b4bfc1320ce2aee (patch)
tree4e48a2a97751a93ed32015d24982ce394b1b0375
parent90c420509ed66ef4cb8453b7e388beb168c34a97 (diff)
downloadu-boot-cd63e2d26c7c080c8bdb4ea40b4bfc1320ce2aee.zip
u-boot-cd63e2d26c7c080c8bdb4ea40b4bfc1320ce2aee.tar.gz
u-boot-cd63e2d26c7c080c8bdb4ea40b4bfc1320ce2aee.tar.bz2
efi_loader: update the error message of TCG protocol installation
"Unable to find TPMv2 device" doesn't explain much with regards to the error origin. Update it to match what we have in the RNG protocol installation. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--lib/efi_loader/efi_tcg2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c
index a525ebf..918e9a2 100644
--- a/lib/efi_loader/efi_tcg2.c
+++ b/lib/efi_loader/efi_tcg2.c
@@ -2417,7 +2417,7 @@ efi_status_t efi_tcg2_register(void)
ret = platform_get_tpm2_device(&dev);
if (ret != EFI_SUCCESS) {
- log_warning("Unable to find TPMv2 device\n");
+ log_warning("Missing TPMv2 device for EFI_TCG_PROTOCOL\n");
return EFI_SUCCESS;
}