diff options
author | Yu-Ping Wu <yupingso@chromium.org> | 2021-03-10 15:50:25 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-17 04:16:24 +0000 |
commit | 6e4d58cb49da19ce15e17261cb1a5d4660d12de3 (patch) | |
tree | ab196998331030c4875bf6e9e64f39170ea3d182 /firmware/2lib/2ui_screens.c | |
parent | d68fbe48267a96b1030b896a9ed771a31741be0c (diff) | |
download | vboot-6e4d58cb49da19ce15e17261cb1a5d4660d12de3.tar.gz |
vboot/ui: Reorder UI errors
Reorder errors in enum vb2_ui_error to match the order in bmpblk. Also
rename VB2_UI_ERROR_EXTERNAL_BOOT_NOT_ENABLED to
VB2_UI_ERROR_EXTERNAL_BOOT_DISABLED for consistency with
VB2_UI_ERROR_ALTFW_DISABLED.
BUG=b:144969091
TEST=make runtests
TEST=emerge-asurada depthcharge
BRANCH=none
Cq-Depend: chromium:2682057
Change-Id: Id8859be3e451c077dd7689b51e98a410d5987874
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2746898
Reviewed-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'firmware/2lib/2ui_screens.c')
-rw-r--r-- | firmware/2lib/2ui_screens.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/2lib/2ui_screens.c b/firmware/2lib/2ui_screens.c index 218c34f9..44b85ea3 100644 --- a/firmware/2lib/2ui_screens.c +++ b/firmware/2lib/2ui_screens.c @@ -746,7 +746,7 @@ vb2_error_t vb2_ui_developer_mode_boot_external_action( !vb2_dev_boot_external_allowed(ui->ctx)) { VB2_DEBUG("ERROR: Dev mode external boot not allowed\n"); ui->error_beep = 1; - ui->error_code = VB2_UI_ERROR_EXTERNAL_BOOT_NOT_ENABLED; + ui->error_code = VB2_UI_ERROR_EXTERNAL_BOOT_DISABLED; return VB2_SUCCESS; } |