diff options
author | Meng-Huan Yu <menghuan@chromium.org> | 2020-08-24 16:17:56 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-10 00:30:33 +0000 |
commit | 2fb7683bf82362adb699e2a0df6cdb1bf4047df0 (patch) | |
tree | e8270a1c847de09d0a7c57db9a54be6128aa77b1 /firmware/2lib/include/2return_codes.h | |
parent | 94d8aa60b8045f96a759871a81a3b69986430ba1 (diff) | |
download | vboot-2fb7683bf82362adb699e2a0df6cdb1bf4047df0.tar.gz |
minidiag: Add storage and memory diagnostic screens
BRANCH=none
BUG=b:156692539, b:156693348
TEST=emerge-hatch vboot_reference
TEST=unittest passed:
( export CC=x86_64-pc-linux-gnu-clang DEBUG=1 MENU_UI=1 DIAGNOSTIC_UI=1
MINIMAL=1 TPM2_MODE= MOCK_TPM=; make clean &&
make -j32 test_setup && make runtests; echo $? )
Cq-Depend: chromium:2322286, chromium:2328704, chromium:2336239
Cq-Depend: chromium:2361823, chromium:2361582
Signed-off-by: Meng-Huan Yu <menghuan@chromium.org>
Change-Id: I8b875b09bd5bcdb65f08c11945b046d2b3c3a113
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2372022
Reviewed-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
-rw-r--r-- | firmware/2lib/include/2return_codes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h index 336c11e0..3a50f949 100644 --- a/firmware/2lib/include/2return_codes.h +++ b/firmware/2lib/include/2return_codes.h @@ -731,6 +731,12 @@ enum vb2_return_code { /* Error setting vendor data (see: VbExSetVendorData). */ VB2_ERROR_EX_SET_VENDOR_DATA, + /* The memory test is running. */ + VB2_ERROR_EX_DIAG_TEST_RUNNING, + + /* The memory test initialization failed. */ + VB2_ERROR_EX_DIAG_TEST_INIT_FAILED, + /********************************************************************** * LoadKernel errors * |