Merge "slot_metadata: add verity_corrupted field"

am: 3788001b2c

* commit '3788001b2c8a37e4111c9bc584a18a52664c2a88':
  slot_metadata: add verity_corrupted field

Change-Id: Ib8c0ad4f7bb605b1b7420affcd102bf1eb9f47db
This commit is contained in:
Jeremy Compostella
2016-05-23 21:18:55 +00:00
committed by android-build-merger

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