summaryrefslogtreecommitdiff
path: root/boot/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-29 01:00:20 +0300
committerTom Rini <trini@konsulko.com>2023-02-06 21:04:53 +0300
commita710f5b2ebe6207125ee2260a7cfbe2b9e6e7ff3 (patch)
treeffc05b7ac0014fab96825778ee050087394cd043 /boot/Kconfig
parent965020c3f7e11a8ee4f53023822d30d43345abde (diff)
downloadu-boot-a710f5b2ebe6207125ee2260a7cfbe2b9e6e7ff3.tar.xz
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: a60f7a3e35b ("bootstd: Add a virtio bootdev") Reported-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'boot/Kconfig')
0 files changed, 0 insertions, 0 deletions