commit | b73a8299d3f314dadfb0a93e417c0716f6f1e5b7 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jan 28 15:00:19 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Feb 06 13:04:53 2023 -0500 |
tree | 9b68cb04d70222160b14a19b8a2c781a0e19e728 | |
parent | 389a458968d66fe039611c2046772c12b0a68b35 [diff] |
bootstd: Probe the block device before use 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@chromium.org> Fixes: 201417d700a ("bootstd: Add the bootdev uclass") Reported-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>