summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDaniel Palmer <[email protected]>2026-05-16 16:39:59 +0900
committerTom Rini <[email protected]>2026-05-22 16:47:54 -0600
commitb781017fb63831abac4bb6956e83595f5cb8c428 (patch)
tree7fbc28c2c8bb6944859df9c447d9309efd7a9d89 /cmd
parent009cd5b56dbc2d0f7675e4262347a1a6b6a55cb2 (diff)
virtio: cmd: Depend on VIRTIO_BLK
The virtio command is calling virtio blk functions but currently depends on CONFIG_VIRTIO only. This means disabling CONFIG_VIRTIO_BLK causes the final link to fail. Since CONFIG_VIRTIO_BLK depends on CONFIG_VIRTIO switch to depending on just CONFIG_VIRTIO_BLK Reviewed-by: Kuan-Wei Chiu <[email protected]> Reviewed-by: Angelo Dureghello <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Daniel Palmer <[email protected]>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index c71c6824a19..032e55e8127 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1871,8 +1871,8 @@ config CMD_PVBLOCK
config CMD_VIRTIO
bool "virtio"
- depends on VIRTIO
- default y if VIRTIO
+ depends on VIRTIO_BLK
+ default y if VIRTIO_BLK
help
VirtIO block device support