Sometimes it is useful to be able to find a block device without also
probing it. Add a function for this as well as the associated test.

Signed-off-by: Simon Glass <[email protected]>
---

 drivers/block/blk-uclass.c | 15 +++++++++++++--
 include/blk.h              | 15 ++++++++++++++-
 test/dm/blk.c              | 21 +++++++++++++++++++++
 3 files changed, 48 insertions(+), 3 deletions(-)

Applied to u-boot-dm
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to