summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/2lib/include/2return_codes.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index 7a59925a..3d1c611a 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -617,6 +617,20 @@ enum vb2_return_code {
VB2_KEYBLOCK_CREATE_SIGN,
/**********************************************************************
+ * Errors generated by host library firmware preamble functions
+ */
+ VB2_ERROR_HOST_FW_PREAMBLE = VB2_ERROR_HOST_BASE + 0x050000,
+
+ /* Unable to determine signature sizes for vb2_create_fw_preamble() */
+ VB2_FW_PREAMBLE_CREATE_SIG_SIZE,
+
+ /* Unable to allocate buffer in vb2_create_fw_preamble() */
+ VB2_FW_PREAMBLE_CREATE_ALLOC,
+
+ /* Unable to sign preamble in vb2_create_fw_preamble() */
+ VB2_FW_PREAMBLE_CREATE_SIGN,
+
+ /**********************************************************************
* Highest non-zero error generated inside vboot library. Note that
* error codes passed through vboot when it calls external APIs may
* still be outside this range.