From patchwork Wed Apr 1 10:15:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 237089 List-Id: U-Boot discussion From: pbrobinson at gmail.com (Peter Robinson) Date: Wed, 1 Apr 2020 11:15:01 +0100 Subject: [PATCH] efi_loader: enable RNG if DM_RNG is enabled Message-ID: <20200401101501.441502-1-pbrobinson@gmail.com> Enable EFI_RNG_PROTOCOL by default if DM_RNG is set. Signed-off-by: Peter Robinson Acked-by: Sughosh Ganu Reviewed-by: Heinrich Schuchardt --- I think it makes sense to enable EFI_RNG_PROTOCOL by default if a config has enabled both DM_RNG and UEFI. lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index 9890144d41..b9a770281e 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -125,6 +125,7 @@ config EFI_GRUB_ARM32_WORKAROUND config EFI_RNG_PROTOCOL bool "EFI_RNG_PROTOCOL support" + default y if DM_RNG depends on DM_RNG help Provide a EFI_RNG_PROTOCOL implementation using the hardware random