diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-10-15 02:21:08 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-11-14 09:16:27 -0800 |
commit | c515ee5c51618883df64ab7326fbee8911b99a97 (patch) | |
tree | 01a359785f6889b5a4646383c12984e596f84a91 /include/blk.h | |
parent | d0851c8937067ad396f2bdafc46d0326bf3317db (diff) | |
download | u-boot-c515ee5c51618883df64ab7326fbee8911b99a97.tar.gz |
blk: Drop blk_prepare_device()
With the post_probe() changes, this API is no longer needed.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/blk.h')
-rw-r--r-- | include/blk.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/blk.h b/include/blk.h index 6af219681c..c243179ebb 100644 --- a/include/blk.h +++ b/include/blk.h @@ -357,16 +357,6 @@ int blk_create_devicef(struct udevice *parent, const char *drv_name, lbaint_t lba, struct udevice **devp); /** - * blk_prepare_device() - Prepare a block device for use - * - * This reads partition information from the device if supported. - * - * @dev: Device to prepare - * @return 0 if ok, -ve on error - */ -int blk_prepare_device(struct udevice *dev); - -/** * blk_unbind_all() - Unbind all device of the given interface type * * The devices are removed and then unbound. |