fastboot: Add support for 'oem format' command
authorAlex Kiernan <alex.kiernan@gmail.com>
Tue, 29 May 2018 15:30:54 +0000 (15:30 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 30 May 2018 09:59:21 +0000 (11:59 +0200)
commit3845b9065fea9859bf2cd6413168e3cb4ba38f06
tree74a36e23ceb23a2ca1a46d4c57b84ef4028f7faf
parentf73a7df984a9820d9beb829b32ccb5c3d55dc152
fastboot: Add support for 'oem format' command

Introduce 'oem format' which matches the USB implementation, guard this
with CONFIG_FASTBOOT_CMD_OEM_FORMAT so that you can configure it out.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/fastboot/Kconfig
drivers/fastboot/fb_command.c
include/fastboot.h