]> git.baikalelectronics.ru Git - uboot.git/commit
distro/pxeboot: Handle prompt variable
authorManuel Traut <manuel.traut@mt.com>
Fri, 18 Nov 2022 08:00:27 +0000 (09:00 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 12 Dec 2022 19:03:12 +0000 (14:03 -0500)
commit5d8868babc2bce7fdbcddfef6e7d95dcd2783261
tree2b51c00552864ef8e23d3001d3294e905a2b81c3
parentc90e700b8b69309b015d456d221fd291a5ab6225
distro/pxeboot: Handle prompt variable

Regarding the documentation found here:
https://github.com/u-boot/u-boot/blob/master/common/menu.c#L347

If both timeout and prompt is set to 0 the default entry shall
be booted immediately. However the current behaviour is that
the prompt is shown (tested with distroboot) until the user
selects an entry (no timeout).

This change implements a behaviour as documented. It was tested
with distroboot.

Signed-off-by: Manuel Traut <manuel.traut@mt.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/pxe_utils.c