mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-14 07:13:03 +00:00
a710f5b2eb
At present virtio tries to attach QEMU services to a bootdev device, which
cannot work. Add a check for this.
Also use bootdev_setup_sibling_blk() to create the bootdev device, since
it allows the correct name to be used and bootdev_get_sibling_blk() to
work as expected.
The bootdev is not created on sandbox since it does have a real virtio
device and it is not possible to read blocks.
Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
virtio-uclass.c | ||
virtio_blk.c | ||
virtio_blk.h | ||
virtio_mmio.c | ||
virtio_mmio.h | ||
virtio_net.c | ||
virtio_net.h | ||
virtio_pci.h | ||
virtio_pci_legacy.c | ||
virtio_pci_modern.c | ||
virtio_ring.c | ||
virtio_rng.c | ||
virtio_sandbox.c |