]> git.dujemihanovic.xyz Git - u-boot.git/commit
disk: Handle partition to block device offset conversion
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 13 Aug 2023 23:46:44 +0000 (01:46 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 22 Aug 2023 19:17:52 +0000 (15:17 -0400)
commit2bc0dfef9f27c03f24784f4f2382079caff05df1
tree577c1a17fec9b7a033b295a34bec7f4e5a6f08fe
parent9161c2c90d00c46e944cfeb4091230ec460a9981
disk: Handle partition to block device offset conversion

Convert the read/write/erase offset from one within a partition
to one within a block device, to correctly access the data on
the block device for both write and erase operations.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
disk/disk-uclass.c