diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-03-28 05:51:32 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-06-21 22:34:00 +0200 |
commit | 8594753ba0a7151e9352f1994b829f6c2d44a023 (patch) | |
tree | efd3c24a1843767db97cd5441193bd5d71ea1bee /.checkpatch.conf | |
parent | 172a3a82afd042b8cf43a0cd9720195985a46e3c (diff) | |
download | u-boot-imx-8594753ba0a7151e9352f1994b829f6c2d44a023.zip u-boot-imx-8594753ba0a7151e9352f1994b829f6c2d44a023.tar.gz u-boot-imx-8594753ba0a7151e9352f1994b829f6c2d44a023.tar.bz2 |
menu: only timeout when menu is displayed
Make the menu timeout apply only when prompt flag is set and after the
menu is displayed. This allows auto boot to work no matter whether prompt
is set or cleared. Use the default selection if the menu times out.
This also fixes the timeout value given to readline_into_buffer to be
seconds instead of 10th of seconds.
Old behavior:
if prompt
display menu and wait for choice
else
wait for timeout
if key pressed
display menu and wait for choice
else
exit command
New behavior:
if prompt
display menu
if key pressed
wait for choice
else
boot default entry on timeout
else
boot default entry
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to '.checkpatch.conf')
0 files changed, 0 insertions, 0 deletions