diff options
author | Bin Meng | 2023-09-26 16:43:43 +0800 |
---|---|---|
committer | Tom Rini | 2023-10-10 16:25:48 -0400 |
commit | 94a846298ed5e0399099977b5b11f13d46c22f3f (patch) | |
tree | e88bd7cd537177db6f0605f383b5370bb78b9912 /include/blk.h | |
parent | 4e345656e7253d655aa8f697350091f3c82c4f0f (diff) |
dm: blk: Drop blk_{read,write}_devnum()
blk_{read,write}_devnum() are no longer used by anywhere in the
source tree. Drop them.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/blk.h')
-rw-r--r-- | include/blk.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/blk.h b/include/blk.h index b453b5a6026..76bd5baf995 100644 --- a/include/blk.h +++ b/include/blk.h @@ -730,32 +730,6 @@ int blk_print_device_num(enum uclass_id uclass_id, int devnum); int blk_print_part_devnum(enum uclass_id uclass_id, int devnum); /** - * blk_read_devnum() - read blocks from a device - * - * @uclass_id: Block device type - * @devnum: Device number - * @start: Start block number to read (0=first) - * @blkcnt: Number of blocks to read - * @buffer: Address to write data to - * Return: number of blocks read, or -ve error number on error - */ -ulong blk_read_devnum(enum uclass_id uclass_id, int devnum, lbaint_t start, - lbaint_t blkcnt, void *buffer); - -/** - * blk_write_devnum() - write blocks to a device - * - * @uclass_id: Block device type - * @devnum: Device number - * @start: Start block number to write (0=first) - * @blkcnt: Number of blocks to write - * @buffer: Address to read data from - * Return: number of blocks written, or -ve error number on error - */ -ulong blk_write_devnum(enum uclass_id uclass_id, int devnum, lbaint_t start, - lbaint_t blkcnt, const void *buffer); - -/** * blk_select_hwpart_devnum() - select a hardware partition * * This is similar to blk_dselect_hwpart() but it looks up the interface and |