[PATCH] cmd: Add pause command

Tom Rini trini at konsulko.com
Tue Apr 19 22:32:42 CEST 2022


On Mon, Dec 20, 2021 at 10:49:46PM -0500, Samuel Dionne-Riel wrote:

> This command is being introduced with the goal of allowing user-friendly
> "generic use case" U-Boot builds to pause until user input under some
> situations.
> 
> The main use case would be when a boot failure happens, to pause until
> the user has had time to acknowledge the current state.
> 
> Signed-off-by: Samuel Dionne-Riel <samuel at dionne-riel.com>
> ---
>  cmd/Kconfig  |  7 +++++++
>  cmd/Makefile |  1 +
>  cmd/pause.c  | 35 +++++++++++++++++++++++++++++++++++
>  3 files changed, 43 insertions(+)
>  create mode 100644 cmd/pause.c

Sorry for the delay.  Please don't make this default, and also please
add a test for the command.  Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220419/df99fd83/attachment.sig>


More information about the U-Boot mailing list