[PATCH 3/8] disk: Simplify disk_blk_{write, erase}() using blk_{write, erase}()

Tom Rini trini at konsulko.com
Wed Aug 23 16:42:10 CEST 2023


On Mon, Aug 14, 2023 at 01:46:43AM +0200, Marek Vasut wrote:

> These two functions are basically identical, just call the blk_*()
> functions from disk_blk_*() functions. The only difference is that
> the disk_blk_*() functions have to use parent block device as the
> udevice implementing block device operations.
> 
> Add documentation on what those functions really do. The documentation
> is not wrong even though it likely does look that way. The write/erase
> functions really do not take into account the partition offset. This
> will be fixed in the next patch.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230823/fa1443e9/attachment.sig>


More information about the U-Boot mailing list