Dear Rob Herring,

In message <[email protected]> you wrote:
> From: Rob Herring <[email protected]>
> 
> 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 <[email protected]>
> ---
>  common/menu.c |   36 ++++--------------------------------
>  1 files changed, 4 insertions(+), 32 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
We fight only when there is no other choice. We prefer  the  ways  of
peaceful contact.
        -- Kirk, "Spectre of the Gun", stardate 4385.3
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to