summaryrefslogtreecommitdiff
path: root/lib/efi_loader/Kconfig
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2020-04-01 13:15:01 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-04-16 09:10:01 +0300
commitbdf329e4a3ea1209a50d4cbe267ada41384eb750 (patch)
treef0ef6f6e9d1099fa2b9f2dd0a79bc662a1cb1356 /lib/efi_loader/Kconfig
parent9cb3ce2558ba1fc058dfb26a07fc02603773a211 (diff)
downloadu-boot-bdf329e4a3ea1209a50d4cbe267ada41384eb750.tar.xz
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 <pbrobinson@gmail.com> Acked-by: Sughosh Ganu <sughosh.ganu@linaro.org> Remove superfluous 'if DM_RNG' Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi_loader/Kconfig')
-rw-r--r--lib/efi_loader/Kconfig1
1 files changed, 1 insertions, 0 deletions
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.