[U-Boot] [PATCH 04/27] virtio: Add virtio over mmio transport driver

Simon Glass sjg at chromium.org
Thu Sep 27 13:42:09 UTC 2018


On 23 September 2018 at 06:42, Bin Meng <bmeng.cn at 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.tynkkynen at iki.fi>
> Signed-off-by: Bin Meng <bmeng.cn at 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 <sjg at chromium.org>


More information about the U-Boot mailing list