On 23 September 2018 at 06:42, Bin Meng <bmeng...@gmail.com> wrote: > 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 <tuomas.tynkky...@iki.fi> > Signed-off-by: Bin Meng <bmeng...@gmail.com> > --- > > drivers/virtio/Kconfig | 7 + > drivers/virtio/Makefile | 1 + > drivers/virtio/virtio_mmio.c | 413 > +++++++++++++++++++++++++++++++++++++++++++ > drivers/virtio/virtio_mmio.h | 129 ++++++++++++++ > 4 files changed, 550 insertions(+) > create mode 100644 drivers/virtio/virtio_mmio.c > create mode 100644 drivers/virtio/virtio_mmio.h
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot