[PATCH 04/13] bootstd: Probe the block device before use

Tom Rini trini at konsulko.com
Tue Feb 7 17:51:45 CET 2023


On Sat, Jan 28, 2023 at 03:00:19PM -0700, Simon Glass wrote:

> In some cases the block device is obtained but is not probed, since it
> is a sibling of the bootdev. Make sure it is probed, so it can be used
> without any trouble.
> 
> This fixes a bug with virtio, where the device is accessed before it has
> been set up by the virtio uclass.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Fixes: 201417d700a ("bootstd: Add the bootdev uclass")
> Reported-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230207/d3943ba9/attachment.sig>


More information about the U-Boot mailing list