From: Peter Robinson Date: Wed, 1 Apr 2020 10:15:01 +0000 (+0100) Subject: efi_loader: enable RNG if DM_RNG is enabled X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=bdf329e4a3ea1209a50d4cbe267ada41384eb750;p=u-boot.git efi_loader: enable RNG if DM_RNG is enabled Enable EFI_RNG_PROTOCOL by default if DM_RNG is set. Signed-off-by: Peter Robinson Acked-by: Sughosh Ganu Remove superfluous 'if DM_RNG' Reviewed-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index 9890144d41..c89ce85c4a 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -126,6 +126,7 @@ config EFI_GRUB_ARM32_WORKAROUND config EFI_RNG_PROTOCOL bool "EFI_RNG_PROTOCOL support" depends on DM_RNG + default y help Provide a EFI_RNG_PROTOCOL implementation using the hardware random number generator of the platform.