[PATCH] efi_loader: Fix Kconfig for EFI_TCG2 protocol

Ilias Apalodimas ilias.apalodimas at linaro.org
Mon May 10 20:27:41 CEST 2021


+CC Michal who actually noticed this.

Heinrich can you add a
Reported-by: Michal Simek <michal.simek at xilinx.com>

before merging this? Or you prefer me to resend?

On Mon, 10 May 2021 at 21:26, Ilias Apalodimas
<ilias.apalodimas at linaro.org> wrote:
>
> EFI_TCG2 depends not only on TPMv2 but also on the underlying algorithms.
> So add the missing SHA1, SHA256, SHA384 and SHA512 we currently support
> as depenmdencies
>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> ---
>  lib/efi_loader/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
> index 0b99d7c7749b..6decdee6aa3e 100644
> --- a/lib/efi_loader/Kconfig
> +++ b/lib/efi_loader/Kconfig
> @@ -301,6 +301,7 @@ config EFI_RNG_PROTOCOL
>  config EFI_TCG2_PROTOCOL
>         bool "EFI_TCG2_PROTOCOL support"
>         depends on TPM_V2
> +       depends on SHA1 && SHA256 && SHA384 && SHA512
>         help
>           Provide a EFI_TCG2_PROTOCOL implementation using the TPM hardware
>           of the platform.
> --
> 2.31.0
>


More information about the U-Boot mailing list