Files
u-boot/drivers
Simon Glass a710f5b2eb bootstd: Correct virtio block-device handling
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: a60f7a3e35 ("bootstd: Add a virtio bootdev")
Reported-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2023-02-06 13:04:53 -05:00
..
2021-10-05 08:50:15 -04:00
2022-09-16 11:05:16 -04:00
2023-01-11 15:02:24 -05:00
2022-01-13 07:57:49 -05:00
2022-01-13 07:57:49 -05:00
2023-01-27 14:47:58 -05:00
2023-01-20 12:27:24 -05:00
2023-01-24 13:55:05 +01:00
2022-10-11 16:03:03 -04:00
2022-11-02 13:58:17 -04:00