From: Heinrich Schuchardt Date: Sun, 31 May 2020 09:02:42 +0000 (+0200) Subject: virtio: VIRTIO_RNG depends on DM_RNG X-Git-Tag: v2020.07-rc4~4^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca3ba71b9eeec531923b3d2a82a2a6a89490bcf5;p=oweals%2Fu-boot.git virtio: VIRTIO_RNG depends on DM_RNG Add the missing Kconfig dependency and let VIRTIO_RNG default to yes. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 2e3dd3bad0..e800720657 100644 --- a/drivers/virtio/Kconfig +++ b/drivers/virtio/Kconfig @@ -60,9 +60,11 @@ config VIRTIO_BLK QEMU based targets. config VIRTIO_RNG - bool "virtio rng driver" - depends on VIRTIO - help - This is the virtual random number generator driver. It can be used - with Qemu based targets. + bool "virtio rng driver" + depends on DM_RNG + depends on VIRTIO + default y + help + This is the virtual random number generator driver. It can be used + with QEMU based targets. endmenu