summaryrefslogtreecommitdiff
path: root/common/cmd_nand.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-03-28 05:51:32 +0000
committerWolfgang Denk <wd@denx.de>2012-06-21 22:34:00 +0200
commit8594753ba0a7151e9352f1994b829f6c2d44a023 (patch)
treeefd3c24a1843767db97cd5441193bd5d71ea1bee /common/cmd_nand.c
parent172a3a82afd042b8cf43a0cd9720195985a46e3c (diff)
downloadu-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 'common/cmd_nand.c')
0 files changed, 0 insertions, 0 deletions