diff options
Diffstat (limited to 'include/fastboot.h')
-rw-r--r-- | include/fastboot.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/fastboot.h b/include/fastboot.h index b86b508e69f..8e9ee80907d 100644 --- a/include/fastboot.h +++ b/include/fastboot.h @@ -53,6 +53,15 @@ 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 |