summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/2lib/include/2struct.h')
-rw-r--r--firmware/2lib/include/2struct.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/2lib/include/2struct.h b/firmware/2lib/include/2struct.h
index da687b0c..0d1c6ec3 100644
--- a/firmware/2lib/include/2struct.h
+++ b/firmware/2lib/include/2struct.h
@@ -41,6 +41,15 @@ enum vb2_shared_data_flags {
/* Kernel keyblock was verified by signature (not just hash) */
VB2_SD_FLAG_KERNEL_SIGNED = (1 << 2),
+
+ /* Software sync needs to update EC-RO, EC-RW, or PD-RW respectively */
+ VB2_SD_FLAG_ECSYNC_EC_RO = (1 << 3),
+ VB2_SD_FLAG_ECSYNC_EC_RW = (1 << 4),
+ VB2_SD_FLAG_ECSYNC_PD_RW = (1 << 5),
+
+ /* Software sync says EC / PD running RW */
+ VB2_SD_FLAG_ECSYNC_EC_IN_RW = (1 << 6),
+ VB2_SD_FLAG_ECSYNC_PD_IN_RW = (1 << 7),
};
/* Flags for vb2_shared_data.status */