Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ae2434c authored by Jeremy Compostella's avatar Jeremy Compostella Committed by android-build-merger
Browse files

Merge "slot_metadata: add verity_corrupted field"

am: 3788001b

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

Change-Id: Ib8c0ad4f7bb605b1b7420affcd102bf1eb9f47db
parents 32c2e787 3788001b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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