aboutsummaryrefslogtreecommitdiff
path: root/drivers/virtio/Kconfig
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-10-15 02:21:17 -0700
committerSimon Glass <sjg@chromium.org>2018-11-14 09:16:28 -0800
commit4135e10732a0eb3c66b34d2fde32eb54d6323fc6 (patch)
tree39480ae5ccc2769bbc6f76d42921e4ebf5f03cce /drivers/virtio/Kconfig
parent3bf9a8e8460f69022c85f30860911067e4aebca3 (diff)
downloadu-boot-4135e10732a0eb3c66b34d2fde32eb54d6323fc6.zip
u-boot-4135e10732a0eb3c66b34d2fde32eb54d6323fc6.tar.gz
u-boot-4135e10732a0eb3c66b34d2fde32eb54d6323fc6.tar.bz2
virtio: Add virtio over pci transport driver
This adds a transport driver that implements UCLASS_VIRTIO for virtio over pci, which is commonly used on x86. It only supports the legacy interface of the pci transport, which is the default device that QEMU emulates. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/virtio/Kconfig')
-rw-r--r--drivers/virtio/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index b72477a..753912f 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -29,6 +29,14 @@ config VIRTIO_MMIO
This driver provides support for memory mapped virtio
platform device driver.
+config VIRTIO_PCI
+ bool "PCI driver for virtio devices"
+ depends on DM_PCI
+ select VIRTIO
+ help
+ This driver provides support for virtio based paravirtual device
+ drivers over PCI.
+
config VIRTIO_NET
bool "virtio net driver"
depends on VIRTIO