summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2return_codes.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2014-11-10 13:40:52 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-11-14 22:46:42 +0000
commit837b408c92d02108cbb16a97769675f39598d576 (patch)
tree74d53fa0d6af4d3dcbc5dd25019535d9336b82bd /firmware/2lib/include/2return_codes.h
parent6ee52d9a929d00e871e7316240b54f381146fbc6 (diff)
downloadvboot-837b408c92d02108cbb16a97769675f39598d576.tar.gz
vboot2: load keyblock and preamble from new-style structs
And associated unit tests. BUG=chromium:423882 BRANCH=none TEST=VBOOT2=1 make runtests Change-Id: I6565d8f5da947b4874a656a61051df1a4ce415c7 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/229163 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
-rw-r--r--firmware/2lib/include/2return_codes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index 4ff84468..259726d1 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -364,6 +364,9 @@ enum vb2_return_code {
/* Firmware version rollback in vb2_load_fw_preamble() */
VB2_ERROR_FW_PREAMBLE2_VERSION_ROLLBACK,
+ /* Not enough space in work buffer for resource object */
+ VB2_ERROR_READ_RESOURCE_OBJECT_BUF,
+
/**********************************************************************
* API-level errors
*/