virtio: Add a block device
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:51 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:40 +0000 (18:11 -0500)
commit00fc8cade89e36855fe8143c4ee66e951a41734e
tree8e9b0f3f981b8e2a19387d2919c7d35a4c26d3c9
parent902400201de139cc1499dc4f794ed34d8a758ca8
virtio: Add a block device

The test code for virtio is fairly simplistic and does not actually create
a block device. Add a way to specify the device type in the device tree.
Add a block device so that we can do more testing.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
drivers/virtio/virtio_sandbox.c