]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: blk: add a device-probe hook for scanning disk partitions
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 19 Apr 2022 01:05:10 +0000 (10:05 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 23 Apr 2022 20:05:41 +0000 (22:05 +0200)
commitbf76031d19fa82041ae5ddc17214ec71858b0097
treeee0f392110645b0943abbe669cba6b04776ac889
parent43855fdb2c99eae0cdc9b3c54c2d719262d3b3eb
dm: blk: add a device-probe hook for scanning disk partitions

Now that all the block device drivers have enable a probe hook, we will
call part_create_block_devices() to enumerate all the partitions and
create associated udevices when a block device is detected.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/block/blk-uclass.c