[U-Boot] [PATCH v3 15/31] virtio: Add block driver support

sjg at google.com sjg at google.com
Wed Oct 24 17:31:52 UTC 2018


From: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>

This adds virtio block device driver support.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>
Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
Reviewed-by: Simon Glass <sjg at chromium.org>

---

Changes in v3: None
Changes in v2:
- Correct desc->vendor for PCI transport

 drivers/virtio/Kconfig      |   7 +++
 drivers/virtio/Makefile     |   1 +
 drivers/virtio/virtio_blk.c | 137 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/virtio/virtio_blk.h | 129 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 274 insertions(+)
 create mode 100644 drivers/virtio/virtio_blk.c
 create mode 100644 drivers/virtio/virtio_blk.h

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list