]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: blk: Allow finding block devices without probing
authorSimon Glass <sjg@chromium.org>
Mon, 24 Apr 2017 02:02:05 +0000 (20:02 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:04 +0000 (07:03 -0600)
commit6139281a6473334351c8776643478c0b0e208342
tree501de9018b4716ecc19bfcff404b4ea10f65e0ee
parente7017a3c7d2f9ff845516675205c99df4ad6eacc
dm: blk: Allow finding block devices without probing

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 <sjg@chromium.org>
drivers/block/blk-uclass.c
include/blk.h
test/dm/blk.c