mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
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 <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
3fc735d4a5
commit
05173eca33
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue