diff --git a/bootloader.h b/bootloader.h index 92c74f078df9e14e01c85497954b666b0a6fb578..de53518516f5369ad7d0cbce52718a0b79f9116e 100644 --- a/bootloader.h +++ b/bootloader.h @@ -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