diff options
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
-rw-r--r-- | firmware/2lib/include/2return_codes.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h index 5992806d..15ec97f6 100644 --- a/firmware/2lib/include/2return_codes.h +++ b/firmware/2lib/include/2return_codes.h @@ -361,7 +361,7 @@ enum vb2_return_code { /* Work buffer unaligned in vb2_init_context() */ VB2_ERROR_INITCTX_WORKBUF_ALIGN, - /* Work buffer too small in vb2_fw_parse_gbb() */ + /* Work buffer too small in GBB-related function */ VB2_ERROR_GBB_WORKBUF, /* Bad magic number in vb2_read_gbb_header() */ @@ -503,6 +503,12 @@ enum vb2_return_code { /* Bad magic number in vb2_shared_data structure */ VB2_ERROR_SHARED_DATA_MAGIC, + /* Some part of GBB data is invalid */ + VB2_ERROR_GBB_INVALID, + + /* Invalid parameter */ + VB2_ERROR_INVALID_PARAMETER, + /********************************************************************** * API-level errors */ |