]> git.sur5r.net Git - u-boot/commit
usb: gadget: fastboot: Add fastboot erase
authorDileep Katta <dileep.katta@linaro.org>
Tue, 17 Feb 2015 13:18:23 +0000 (18:48 +0530)
committerMarek Vasut <marex@denx.de>
Wed, 25 Feb 2015 16:47:02 +0000 (17:47 +0100)
commit897923819cda6f26fe8a5921c595871526ab6a9c
tree1a74519d30ebd7151aab0efb3caf3a6ffdc82ad3
parent2474b7f1499e81b68cf1b4610dd7ee2cd0c9ba88
usb: gadget: fastboot: Add fastboot erase

Adds the fastboot erase functionality, to erase a partition
specified by name. The erase is performed based on erase group size,
to avoid erasing other partitions. The start address and the size
is aligned to the erase group size for this.

Currently only supports erasing from eMMC.

Signed-off-by: Dileep Katta <dileep.katta@linaro.org>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
common/fb_mmc.c
doc/README.android-fastboot
drivers/usb/gadget/f_fastboot.c
include/fb_mmc.h