summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2return_codes.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
-rw-r--r--firmware/2lib/include/2return_codes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index 92e4eb1c..5992806d 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -497,6 +497,12 @@ enum vb2_return_code {
/* Expected and image hashes are different size in ec_sync_phase1() */
VB2_ERROR_EC_HASH_SIZE,
+ /* Incompatible version for vb2_shared_data structure being loaded */
+ VB2_ERROR_SHARED_DATA_VERSION,
+
+ /* Bad magic number in vb2_shared_data structure */
+ VB2_ERROR_SHARED_DATA_MAGIC,
+
/**********************************************************************
* API-level errors
*/