summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-01-28 09:20:23 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-01-28 09:20:23 +0100
commitb74a97218457acc82738e0e0a585dac056be8cb9 (patch)
treeeb52d47453ea5700cdb9095186ea30c435c37a11
parentSnap for 4545621 from bd84bd438aa8bee6ed975af962a4d8abe0a5ce57 to pi-release (diff)
parentMerge "Add update_channel field to bootloader_message_ab." am: 63eb1a4444 am: 7441ee7aff (diff)
downloadandroid_bootable_recovery-b74a97218457acc82738e0e0a585dac056be8cb9.tar
android_bootable_recovery-b74a97218457acc82738e0e0a585dac056be8cb9.tar.gz
android_bootable_recovery-b74a97218457acc82738e0e0a585dac056be8cb9.tar.bz2
android_bootable_recovery-b74a97218457acc82738e0e0a585dac056be8cb9.tar.lz
android_bootable_recovery-b74a97218457acc82738e0e0a585dac056be8cb9.tar.xz
android_bootable_recovery-b74a97218457acc82738e0e0a585dac056be8cb9.tar.zst
android_bootable_recovery-b74a97218457acc82738e0e0a585dac056be8cb9.zip
-rw-r--r--bootloader_message/include/bootloader_message/bootloader_message.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bootloader_message/include/bootloader_message/bootloader_message.h b/bootloader_message/include/bootloader_message/bootloader_message.h
index 798f3bb8c..95c19ae54 100644
--- a/bootloader_message/include/bootloader_message/bootloader_message.h
+++ b/bootloader_message/include/bootloader_message/bootloader_message.h
@@ -103,13 +103,17 @@ static_assert(sizeof(struct bootloader_message) == 2048,
* implementations are free to use all 32 bytes and may store private
* data past the first NUL-byte in this field. It is encouraged, but
* not mandatory, to use 'struct bootloader_control' described below.
+ *
+ * The update_channel field is used to store the Omaha update channel
+ * if update_engine is compiled with Omaha support.
*/
struct bootloader_message_ab {
struct bootloader_message message;
char slot_suffix[32];
+ char update_channel[128];
// Round up the entire struct to 4096-byte.
- char reserved[2016];
+ char reserved[1888];
};
/**