[PATCH 1/1] riscv: qemu: imply CONFIG_DM_RNG

Bin Meng bmeng.cn at gmail.com
Fri Jul 28 17:50:49 CEST 2023


On Fri, Jul 28, 2023 at 9:54 PM Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> The EFI_RNG_PROTOCOL is needed for Linux' KASLR.
>
> QEMU can provide a virtio-rng device to emulate a hardware random number
> generator which is supported by our virtio_rng driver.
>
> Enabling CONFIG_DM_RNG will enable CONFIG_VIRTIO_RNG and
> CONFIG_EFI_RNG_PROTOCOL by default too.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  board/emulation/qemu-riscv/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list