summaryrefslogtreecommitdiff
path: root/firmware/lib20/include/vb2_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib20/include/vb2_struct.h')
-rw-r--r--firmware/lib20/include/vb2_struct.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/lib20/include/vb2_struct.h b/firmware/lib20/include/vb2_struct.h
index f644a5fa..eeaf0cec 100644
--- a/firmware/lib20/include/vb2_struct.h
+++ b/firmware/lib20/include/vb2_struct.h
@@ -268,6 +268,8 @@ struct vb2_kernel_preamble {
uint32_t flags;
} __attribute__((packed));
-#define EXPECTED_VB2_KERNEL_PREAMBLE_SIZE 116
+#define EXPECTED_VB2_KERNEL_PREAMBLE_2_0_SIZE 96
+#define EXPECTED_VB2_KERNEL_PREAMBLE_2_1_SIZE 112
+#define EXPECTED_VB2_KERNEL_PREAMBLE_2_2_SIZE 116
#endif /* VBOOT_REFERENCE_VB2_STRUCT_H_ */