virtio: VIRTIO_RNG depends on DM_RNG

Add the missing Kconfig dependency and let VIRTIO_RNG default to yes.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Heinrich Schuchardt 2020-05-31 11:02:42 +02:00
parent 00a871d34e
commit ca3ba71b9e

View File

@ -60,9 +60,11 @@ config VIRTIO_BLK
QEMU based targets. QEMU based targets.
config VIRTIO_RNG config VIRTIO_RNG
bool "virtio rng driver" bool "virtio rng driver"
depends on VIRTIO depends on DM_RNG
help depends on VIRTIO
This is the virtual random number generator driver. It can be used default y
with Qemu based targets. help
This is the virtual random number generator driver. It can be used
with QEMU based targets.
endmenu endmenu