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

am: f5e2831bf3

* commit 'f5e2831bf32fe1c0069c3c7bbeda876dbb83fe0a':
  slot_metadata: add verity_corrupted field

Change-Id: I3a2c24a80e53a28fa7b56c64df5fc10ee7414f24
This commit is contained in:
Jeremy Compostella
2016-05-24 01:17:01 +00:00
committed by android-build-merger
+4 -1
View File
@@ -74,8 +74,11 @@ struct slot_metadata {
uint8_t tries_remaining : 3; uint8_t tries_remaining : 3;
// 1 if this slot has booted successfully, 0 otherwise. // 1 if this slot has booted successfully, 0 otherwise.
uint8_t successful_boot : 1; 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. // Reserved for further use.
uint8_t reserved; uint8_t reserved : 7;
} __attribute__((packed)); } __attribute__((packed));
/* Bootloader Control AB /* Bootloader Control AB