]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: Add pause command
authorSamuel Dionne-Riel <samuel@dionne-riel.com>
Thu, 18 Aug 2022 19:44:04 +0000 (15:44 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 2 Sep 2022 17:40:42 +0000 (13:40 -0400)
commitdc0d17c26a3a03634994c59adb0b657807827183
tree991b387d3fcb0fd43082033fc0fc040ea756ef4d
parentd88260710b212815ae1f461aec24ad926c668d36
cmd: Add pause command

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.

Tested using:

    make && ./u-boot -v -T -c 'ut lib lib_test_hush_pause'

Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Cc: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/Makefile
cmd/pause.c [new file with mode: 0644]
configs/sandbox64_defconfig
configs/sandbox_defconfig
doc/usage/cmd/pause.rst [new file with mode: 0644]
doc/usage/index.rst
test/cmd/Makefile
test/cmd/test_pause.c [new file with mode: 0644]