From: Bin Meng Date: Thu, 25 Feb 2021 09:22:45 +0000 (+0800) Subject: cmd: Fix virtio command dependency X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=05173eca33510b76629fd2c87c969c8db619bb73;p=u-boot.git cmd: Fix virtio command dependency The 'virtio' command calls blk_common_cmd() which is only available when CONFIG_HAVE_BLOCK_DEVICE is on. Fix the Kconfig dependency. Signed-off-by: Bin Meng Reviewed-by: Simon Glass Reviewed-by: Priyanka Jain --- diff --git a/cmd/Kconfig b/cmd/Kconfig index fcf59cd238..eff238cb38 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1345,6 +1345,7 @@ config CMD_PVBLOCK config CMD_VIRTIO bool "virtio" depends on VIRTIO + depends on HAVE_BLOCK_DEVICE default y if VIRTIO help VirtIO block device support