summaryrefslogtreecommitdiff
path: root/include/u-boot
diff options
context:
space:
mode:
authorLeon Yu <leoyu@nvidia.com>2019-06-21 12:12:39 +0800
committerTom Rini <trini@konsulko.com>2019-07-24 13:16:29 -0400
commitdfaad8208f069f95d35f52c4cc69b1a05cd60f75 (patch)
treee46c6a1303ef7cfee8c5e301e4c6b03e59b95542 /include/u-boot
parentbe683756f620349966e0ebb4a5e02e5ff03c8a8e (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 'include/u-boot')
0 files changed, 0 insertions, 0 deletions