diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2018-05-29 15:30:54 +0000 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-05-30 11:59:21 +0200 |
commit | 3845b9065fea9859bf2cd6413168e3cb4ba38f06 (patch) | |
tree | 74a36e23ceb23a2ca1a46d4c57b84ef4028f7faf /include | |
parent | f73a7df984a9820d9beb829b32ccb5c3d55dc152 (diff) | |
download | u-boot-3845b9065fea9859bf2cd6413168e3cb4ba38f06.zip u-boot-3845b9065fea9859bf2cd6413168e3cb4ba38f06.tar.gz u-boot-3845b9065fea9859bf2cd6413168e3cb4ba38f06.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/fastboot.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fastboot.h b/include/fastboot.h index 9a3d5ba..1933b1d 100644 --- a/include/fastboot.h +++ b/include/fastboot.h @@ -33,6 +33,9 @@ enum { FASTBOOT_COMMAND_REBOOT, FASTBOOT_COMMAND_REBOOT_BOOTLOADER, FASTBOOT_COMMAND_SET_ACTIVE, +#if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_FORMAT) + FASTBOOT_COMMAND_OEM_FORMAT, +#endif FASTBOOT_COMMAND_COUNT }; |