]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: gadget: fastboot: Add fastboot erase
authorDileep Katta <dileep.katta@linaro.org>
Tue, 17 Feb 2015 13:18:23 +0000 (18:48 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:05:51 +0000 (14:05 +0200)
commit530a9c2ca47e0bad0e25094784d9e9100bba3122
tree4b95cc29bb39d5fa2bbd833f14fb9f972eecb552
parent85007cc4f127c70b91947c74c3e6c0db750b7195
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