]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
virtio: VIRTIO_RNG depends on DM_RNG
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 31 May 2020 09:02:42 +0000 (11:02 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 5 Jun 2020 02:04:41 +0000 (04:04 +0200)
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>
drivers/virtio/Kconfig

index 2e3dd3bad0735cbd894aa1aa3a61b368d173cc95..e80072065771e216f5b139df8baa228e07043a13 100644 (file)
@@ -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