diff options
author | Rizwan Qureshi <rizwan.qureshi@intel.corp-partner.google.com> | 2017-05-22 22:04:17 +0530 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-05-23 03:03:16 -0700 |
commit | f7ce79499974c7fb2eab532e50918a33dd4662c9 (patch) | |
tree | 4def7947c56eda6892da9e8dfd3e45ca979dc502 | |
parent | 9d11bb1b1d0ca7503b195c1de4463f1d1e1ab4d2 (diff) | |
download | vboot-f7ce79499974c7fb2eab532e50918a33dd4662c9.tar.gz |
vboot_ui_menu: Show Developer options on USB failure
In the current implementation, if the boot from USB fails after pressing
Ctrl-U or selecting "Boot USB Image", only a blank screen is shown instead of
a menu. There is no option for the user to do anything else except wait for the
timeout, after which boot from fixed disk is attempted. This does not seem like
an intuitive boot flow.
Hence, if the USB boot fails display the current menu, allowing the user to
attempt something else.
BUG=None
BRANCH=None
TEST= verfied that menu is displayed on USB boot failure from developer screen.
Change-Id: Ide3967be7bba3d87c8a545a0f4ed52da44150fd0
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/509671
Commit-Ready: Rizwan Qureshi <rizwan.qureshi@intel.corp-partner.google.com>
Tested-by: Rizwan Qureshi <rizwan.qureshi@intel.corp-partner.google.com>
Reviewed-by: Shelley Chen <shchen@chromium.org>
-rw-r--r-- | firmware/lib/vboot_ui_menu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/lib/vboot_ui_menu.c b/firmware/lib/vboot_ui_menu.c index 2e4975f1..b4b5b25e 100644 --- a/firmware/lib/vboot_ui_menu.c +++ b/firmware/lib/vboot_ui_menu.c @@ -709,6 +709,7 @@ VbError_t vb2_developer_menu(struct vb2_context *ctx, VbCommonParams *cparams) cparams, VB_SCREEN_BASE, 0); + vb2_print_current_menu(); } } break; @@ -804,6 +805,7 @@ VbError_t vb2_developer_menu(struct vb2_context *ctx, VbCommonParams *cparams) cparams, VB_SCREEN_BASE, 0); + vb2_print_current_menu(); } } } |