summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDmitrii Merkurev <[email protected]>2025-11-21 11:53:31 +0100
committerMattijs Korpershoek <[email protected]>2025-11-24 10:51:16 +0100
commit4bf92b541af628d899ea1dadf9147baa3482967a (patch)
treecfdf072a787811d2f63980632a84b1a992fb0ed0 /include/linux
parent6e7d2399c8139f8e2d037e446236b8d8bdbca604 (diff)
fastboot: blk: introduce fastboot block flashing support
Introduce fastboot block flashing functions and helpers to be shared with the MMC implementation. The write logic comes from the mmc implementation, while the partition lookup is much simpler and could be extended. For the erase logic, allmost no block drivers exposes the erase operation, except mmc & virtio, so in order to allow erasiong any partition a soft-erase logic has been added to write zero-ed buffers in a loop. Signed-off-by: Dmitrii Merkurev <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Tested-by: Mattijs Korpershoek <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions