From: Ilias Apalodimas Date: Thu, 19 Jan 2023 14:29:15 +0000 (+0200) Subject: efi_loader: update the error message of TCG protocol installation X-Git-Tag: v2025.01-rc5-pxa1908~1141^2~1 X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B?a=commitdiff_plain;h=cd63e2d26c7c080c8bdb4ea40b4bfc1320ce2aee;p=u-boot.git 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 Reviewed-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index a525ebf75b..918e9a2686 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; }