aboutsummaryrefslogtreecommitdiff
path: root/include/fastboot.h
diff options
context:
space:
mode:
authorRoman Kovalivskyi2021-01-26 22:54:55 +0200
committerMarek Vasut2021-02-07 19:22:54 +0100
commitf80798122a726602a239ad7667164a89e98c8328 (patch)
treeb4ca7ff40cbabebedd1a8552747b3d8a961a2a8f /include/fastboot.h
parenta045bc18d6d2752b9dbf6894e9396a8674e642a2 (diff)
Revert "fastboot: Add default fastboot_set_reboot_flag implementation"
This reverts commit 0ebf9842e56c5b8cb7cb1f990bb452cc14af6225. Current generic implementation of fastboot_set_reboot_flag is somewhat messy and requires some additional configuration option to be enabled besides CMD_BCB, so it reverts that implementtion in order to bring a new cleaner one. Next commit introduces new generic implementation of fastboot_set_reboot_flag. Signed-off-by: Roman Kovalivskyi <roman.kovalivskyi@globallogic.com>
Diffstat (limited to 'include/fastboot.h')
-rw-r--r--include/fastboot.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/fastboot.h b/include/fastboot.h
index 8e9ee80907d..b86b508e69f 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -53,15 +53,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