summaryrefslogtreecommitdiffstats
path: root/bootloader_message/include
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-05-03 18:09:27 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-03 18:09:27 +0200
commitbe25cd21e4b1783a836cdfd3e3f504e41b2b9a93 (patch)
tree2cf1523403a2aa4b999ec09bd89ef8ab4c927993 /bootloader_message/include
parentMerge "Implement FuseBlockDataProvider" (diff)
parentlibbootloader_message: host_supported. (diff)
downloadandroid_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar.gz
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar.bz2
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar.lz
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar.xz
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar.zst
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.zip
Diffstat (limited to 'bootloader_message/include')
-rw-r--r--bootloader_message/include/bootloader_message/bootloader_message.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bootloader_message/include/bootloader_message/bootloader_message.h b/bootloader_message/include/bootloader_message/bootloader_message.h
index 95c19ae54..2207d4cb3 100644
--- a/bootloader_message/include/bootloader_message/bootloader_message.h
+++ b/bootloader_message/include/bootloader_message/bootloader_message.h
@@ -207,6 +207,11 @@ bool write_bootloader_message_to(const bootloader_message& boot,
// set the command and recovery fields, and reset the rest.
bool write_bootloader_message(const std::vector<std::string>& options, std::string* err);
+// Write bootloader message (boots into recovery with the options) to the specific BCB device. Will
+// set the command and recovery fields, and reset the rest.
+bool write_bootloader_message_to(const std::vector<std::string>& options,
+ const std::string& misc_blk_device, std::string* err);
+
// Update bootloader message (boots into recovery with the options) to BCB. Will
// only update the command and recovery fields.
bool update_bootloader_message(const std::vector<std::string>& options, std::string* err);