Merge "slot_metadata: add verity_corrupted field" am: 3788001b2c am: 1ae2434c11 am: f5e2831bf3

am: 1afd591a09

* commit '1afd591a09cee35d0cafac3c1d7f236fe28cf274':
  slot_metadata: add verity_corrupted field

Change-Id: Ic61d0514a8f224f35fe172b1056c6adb8bbc253c
This commit is contained in:
Jeremy Compostella
2016-05-24 01:19:36 +00:00
committed by android-build-merger
+4 -1
View File
@@ -74,8 +74,11 @@ struct slot_metadata {
uint8_t tries_remaining : 3;
// 1 if this slot has booted successfully, 0 otherwise.
uint8_t successful_boot : 1;
// 1 if this slot is corrupted from a dm-verity corruption, 0
// otherwise.
uint8_t verity_corrupted : 1;
// Reserved for further use.
uint8_t reserved;
uint8_t reserved : 7;
} __attribute__((packed));
/* Bootloader Control AB