summaryrefslogtreecommitdiff
path: root/include/fastboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fastboot.h')
-rw-r--r--include/fastboot.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/fastboot.h b/include/fastboot.h
index 07f4c8fa711..296451f89d4 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -124,6 +124,15 @@ void fastboot_init(void *buf_addr, u32 buf_size);
void fastboot_boot(void);
/**
+ * fastboot_handle_boot() - Shared implementation of system reaction to
+ * fastboot commands
+ *
+ * Making desceisions about device boot state (stay in fastboot, reboot
+ * to bootloader, reboot to OS, etc).
+ */
+void fastboot_handle_boot(int command, bool success);
+
+/**
* fastboot_handle_command() - Handle fastboot command
*
* @cmd_string: Pointer to command string