Jassi Brar 2f83f219bf fastboot: sparse: make write_sparse_image useable for non-fastboot
write_sparse_image could be useful for non-fastboot users.
For ex a platform, without usb-device/fastboot support, could
get sparse images over tftp and write using the mmc command.
Or non-android systems could also leverage the sparse format.

Towards that, this patch removes anything fastboot specific from
the write_sparse_image implementation. Which includes making the
function return integer as error code and calls for fastboot logging
via an optional callback function 'mssg'.

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2018-05-07 20:57:51 -04:00
..
2013-04-01 16:33:52 -04:00
2017-11-20 20:18:39 -05:00
2013-04-01 16:33:52 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2017-08-16 08:30:24 -04:00