]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
vexpress64: Set the DM_RNG property
authorDebbie Horsfall <debbie.horsfall@arm.com>
Wed, 17 Sep 2025 16:22:21 +0000 (17:22 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 22:49:30 +0000 (16:49 -0600)
Enable the DM_RNG virtio random number generator driver in order to
consume entropy within U-Boot. This allows U-Boot to inject entropy to the
kernel via UEFI, so the kernel can use that early, for instance for
address layout randomisation, or when the kernel does not provide an
entropy driver itself.

Signed-off-by: Debbie Horsfall <debbie.horsfall@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
board/armltd/vexpress64/Kconfig

index 7e8709444fe377d23343fa0369b6d40df124369b..610ab0ac37dc967e0892ecb62fe07dc300a6c1a2 100644 (file)
@@ -21,6 +21,8 @@ config VEXPRESS64_BASE_MODEL
        imply EFI_SET_TIME if DM_RTC
        select LINUX_KERNEL_IMAGE_HEADER
        select POSITION_INDEPENDENT
+       imply DM_RNG
+       imply RNG_ARM_RNDR
 
 choice
        prompt "VExpress64 board variant"