diff options
| author | Bin Meng <[email protected]> | 2018-10-15 02:21:02 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2018-11-14 09:16:27 -0800 |
| commit | fdc4aca89ecb928d893c8bca4d0de08ebd07686a (patch) | |
| tree | 3853eb8e49af4ca8f18eac28ff2a60bd01ec1fdd /drivers/virtio/Makefile | |
| parent | c011641ec4fcb61d1335f61b413117c1b7d83e5e (diff) | |
virtio: Add virtio over mmio transport driver
VirtIO can use various different buses and virtio devices are
commonly implemented as PCI devices. But virtual environments
without PCI support (a common situation in embedded devices
models) might use simple memory mapped device (“virtio-mmio”)
instead of the PCI device.
This adds a transport driver that implements UCLASS_VIRTIO for
virtio over mmio.
Signed-off-by: Tuomas Tynkkynen <[email protected]>
Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/virtio/Makefile')
| -rw-r--r-- | drivers/virtio/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/virtio/Makefile b/drivers/virtio/Makefile index 17d264a7718..2e487854a24 100644 --- a/drivers/virtio/Makefile +++ b/drivers/virtio/Makefile @@ -4,3 +4,4 @@ # Copyright (C) 2018, Bin Meng <[email protected]> obj-y += virtio-uclass.o virtio_ring.o +obj-$(CONFIG_VIRTIO_MMIO) += virtio_mmio.o |
