virtio: Fix VirtIO BLK driver dependency

The VirtIO BLK driver depends on the blk uclass driver.
Add the dependency in the Kconfig.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
Bin Meng 2021-02-25 17:22:47 +08:00 committed by Priyanka Jain
parent 46c9b59536
commit 5474ef886c
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ config VIRTIO_NET
config VIRTIO_BLK config VIRTIO_BLK
bool "virtio block driver" bool "virtio block driver"
depends on VIRTIO depends on VIRTIO
depends on BLK
help help
This is the virtual block driver for virtio. It can be used with This is the virtual block driver for virtio. It can be used with
QEMU based targets. QEMU based targets.