summaryrefslogtreecommitdiffstats
path: root/include/image-sparse.h
Commit message (Collapse)AuthorAgeFilesLines
* image-sparse: change retlen to size_tSteffen Trumtrar2021-01-131-1/+1
| | | | | | | | retlen can potentially overflow. Also, write_full() in fastboot_handle_sparse() expects size_t anyway. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add support for fastboot sparse imagesSascha Hauer2018-01-171-0/+67
This adds support for reading Android fastboot sparse images. This code is based on the corresponding U-Boot code, but has been heavily modified to provide a read-like API which better fits into barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>