]> git.baikalelectronics.ru Git - uboot.git/commit
blk: Call part_init() in the post_probe() method
authorBin Meng <bmeng.cn@gmail.com>
Mon, 15 Oct 2018 09:21:07 +0000 (02:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:27 +0000 (09:16 -0800)
commit1d80aa5e680a994eac37e3430e6949f4f94b8220
treeac5d2b7aa32a96f248b61b5559aa3e7fc961e951
parent2bb71a36b9c7d9d50b11666a1f19db0fd00bb088
blk: Call part_init() in the post_probe() method

part_init() is currently called in every DM BLK driver, either
in its bind() or probe() method. However we can use the BLK
uclass driver's post_probe() method to do it automatically.

Update all DM BLK drivers to adopt this change.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/sata.c
common/usb_storage.c
drivers/block/blk-uclass.c
drivers/block/ide.c
drivers/block/sandbox.c
drivers/mmc/mmc.c
drivers/nvme/nvme.c
drivers/scsi/scsi.c
lib/efi_driver/efi_block_device.c