diff options
author | Leon Yu <leoyu@nvidia.com> | 2019-06-21 12:12:39 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-24 13:16:29 -0400 |
commit | dfaad8208f069f95d35f52c4cc69b1a05cd60f75 (patch) | |
tree | e46c6a1303ef7cfee8c5e301e4c6b03e59b95542 /common/image-android.c | |
parent | be683756f620349966e0ebb4a5e02e5ff03c8a8e (diff) |
menu: don't bother going interactive with just one menu item
If there is only one menu item available, prompting user to enter
choice makes little sense and just causes unnecessary boot delay. This
change makes menu_get_choice return the only one item when there is no
other choices.
Signed-off-by: Leon Yu <leoyu@nvidia.com>
Cc: Tom Warren <twarren@nvidia.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'common/image-android.c')
0 files changed, 0 insertions, 0 deletions