mmc: support writing sparse images
authorJassi Brar <jaswinder.singh@linaro.org>
Fri, 6 Apr 2018 06:35:24 +0000 (12:05 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:06:33 +0000 (09:06 -0400)
commit732bc7ce3fcfde5f102a92a9a7f3ed67f4af9a3a
tree8a5d49b2822e7ebedd55b190bdcea08f894a01de
parent2f83f219bfd42bc6ac54689cf4189bd239ed41fe
mmc: support writing sparse images

Provide an alternate path for sparse-images to be
written to MMC. For example, via tftp on platforms
that don't support fastboot protocol. Or when an
image is to written at some offset, rather than the
start of a partition.

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
[trini: Guard with CONFIG_FASTBOOT_FLASH tests, use LBAF for lbaint_t
        printing]
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/mmc.c