]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: enable RNG if DM_RNG is enabled
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 1 Apr 2020 10:15:01 +0000 (11:15 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 16 Apr 2020 06:10:01 +0000 (08:10 +0200)
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>
lib/efi_loader/Kconfig

index 9890144d4161117a4388c132acb0d515a2bcab6d..c89ce85c4a840e0f5c935c050d2850bc78d950c9 100644 (file)
@@ -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.