summaryrefslogtreecommitdiff
path: root/include/fastboot.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-02-08 10:54:01 -0500
committerTom Rini <trini@konsulko.com>2021-02-08 10:54:01 -0500
commit461b754a8b6e76382acb8985d7a64b82ba65b88d (patch)
tree6e30ab953d3044c395e5478f1cbba11782fdddcf /include/fastboot.h
parent3936fd998668846f77468d8f6a662e906920969c (diff)
parentadb5daf0905a190375e46d59f1244b13c3cdc640 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-usb
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