diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-05-31 11:02:42 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-06-05 04:04:41 +0200 |
commit | ca3ba71b9eeec531923b3d2a82a2a6a89490bcf5 (patch) | |
tree | d087388cb0b13a469fae85d800edf58a0a5980f6 /drivers | |
parent | 00a871d34e2f0a12eec4da9c297588026ce55b9a (diff) | |
download | u-boot-ca3ba71b9eeec531923b3d2a82a2a6a89490bcf5.zip u-boot-ca3ba71b9eeec531923b3d2a82a2a6a89490bcf5.tar.gz u-boot-ca3ba71b9eeec531923b3d2a82a2a6a89490bcf5.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/virtio/Kconfig | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 2e3dd3b..e800720 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 |