mmc: Separate "mmc swrite" from fastboot
authorAlex Kiernan <alex.kiernan@gmail.com>
Tue, 29 May 2018 15:30:52 +0000 (15:30 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 30 May 2018 09:59:21 +0000 (11:59 +0200)
commitc232d14d11e29c88f2c6149d2c152f496caa5889
tree4c6955992329b7448680e9445828e5769ac12e63
parent4085b90303790ca2f7b2633de78245e8fe98a87a
mmc: Separate "mmc swrite" from fastboot

Introduce CONFIG_IMAGE_SPARSE and CONFIG_CMD_MMC_SWRITE so the "mmc
swrite" command is separated from the fastboot code.

Move image-sparse from common to lib so it's clear it's library code.

Rename CONFIG_FASTBOOT_FLASH_FILLBUF_SIZE to CONFIG_IMAGE_SPARSE_FILLBUF_SIZE
and migrate it to Kconfig.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/mmc.c
common/Makefile
common/image-sparse.c [deleted file]
drivers/fastboot/Kconfig
lib/Kconfig
lib/Makefile
lib/image-sparse.c [new file with mode: 0644]
scripts/config_whitelist.txt