common: fastboot: support sdfuse command
authorChanho Park <chanho61.park@samsung.com>
Thu, 6 Aug 2015 06:47:32 +0000 (15:47 +0900)
committerChanho Park <chanho61.park@samsung.com>
Thu, 6 Aug 2015 06:47:32 +0000 (15:47 +0900)
commit262efa2b805b3c62365966a3a52900e7cc8d5fec
treee321c41e05d1864dcdc57852e6e3e012bec969ec
parent7db939007c7857b1062dcc316aa2976fa3295396
common: fastboot: support sdfuse command

This patch implements sdfuse command which is a variant version of
fastboot to use sdcard images. The sdfuse command consists of three simple
commands.

flashall: flash whole image files from the first ext4 partition of
sdcards
flash: flash a image file which is specified from command line
format: format eMMC partition to gpt partition

All commands use facilities of fastboot commands to implement easily.

Change-Id: I5eb316ee0f852fe7e74dacb7ff8c17eec7dd83ca
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
common/cmd_fastboot.c