commit | f3203f84e786177f88b48813f22d6e206cae1ce3 | [log] [tgz] |
---|---|---|
author | Yu-Ping Wu <yupingso@chromium.org> | Thu Apr 16 16:43:27 2020 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 16 13:19:26 2020 +0000 |
tree | d3c6b180186c29916f1d2c9441304c58cb0fa166 | |
parent | 59757377805347bf798a42e39843804a46062a29 [diff] |
vboot: Add VB2_ERROR_UI_MEMORY_ALLOC to vb2_error_t Add VB2_ERROR_UI_MEMORY_ALLOC for memory allocation failure in UI. BRANCH=none BUG=b:146399181 TEST=emerge-nami vboot_reference Change-Id: Ib6d8ccbfe73f90297f400430b4ae1204adbf7ee4 Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2152331 Reviewed-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h index 89b2fcf..c03ba7a 100644 --- a/firmware/2lib/include/2return_codes.h +++ b/firmware/2lib/include/2return_codes.h
@@ -766,6 +766,9 @@ /* Requested locale not available */ VB2_ERROR_UI_INVALID_LOCALE = 0x100c0006, + /* Memory allocation failure */ + VB2_ERROR_UI_MEMORY_ALLOC = 0x100c0007, + /********************************************************************** * Errors generated by host library (non-firmware) start here. */