summaryrefslogtreecommitdiff
path: root/include/fastboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fastboot.h')
-rw-r--r--include/fastboot.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/include/fastboot.h b/include/fastboot.h
index 8e9ee80907d..797d7dfd529 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -38,6 +38,12 @@ enum {
#if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_FORMAT)
FASTBOOT_COMMAND_OEM_FORMAT,
#endif
+#if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_PARTCONF)
+ FASTBOOT_COMMAND_OEM_PARTCONF,
+#endif
+#if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_BOOTBUS)
+ FASTBOOT_COMMAND_OEM_BOOTBUS,
+#endif
FASTBOOT_COMMAND_COUNT
};
@@ -53,15 +59,6 @@ enum fastboot_reboot_reason {
};
/**
- * BCB boot commands
- */
-static const char * const fastboot_boot_cmds[] = {
- [FASTBOOT_REBOOT_REASON_BOOTLOADER] = "bootonce-bootloader",
- [FASTBOOT_REBOOT_REASON_FASTBOOTD] = "boot-fastboot",
- [FASTBOOT_REBOOT_REASON_RECOVERY] = "boot-recovery"
-};
-
-/**
* fastboot_response() - Writes a response of the form "$tag$reason".
*
* @tag: The first part of the response