summaryrefslogtreecommitdiff
path: root/doc/usage/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-03-13 11:39:21 -0400
committerTom Rini <[email protected]>2023-03-13 11:39:21 -0400
commit218cf0e09672ac7c2f650ff0d9ab87669224bf50 (patch)
treef891991d65ce74cbf1b0c790e5cbf6a01b8f3576 /doc/usage/cmd
parent1247fc7de81d8106cdfa64ecf18aba47a6e587f3 (diff)
parentd3970e04e7125e37ea8c4f3f056b6f5ba868e5f7 (diff)
Merge tag 'efi-2023-04-rc4' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2023-04-rc4 Documentation: * man-page for panic command UEFI: * Correct parameter check for SetVariable() Other: * Provide unit test for crc8
Diffstat (limited to 'doc/usage/cmd')
-rw-r--r--doc/usage/cmd/panic.rst33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/usage/cmd/panic.rst b/doc/usage/cmd/panic.rst
new file mode 100644
index 00000000000..115eba5bde1
--- /dev/null
+++ b/doc/usage/cmd/panic.rst
@@ -0,0 +1,33 @@
+.. SPDX-License-Identifier: GPL-2.0+:
+
+panic command
+=============
+
+Synopis
+-------
+
+::
+
+ panic [message]
+
+Description
+-----------
+
+Display a message and reset the board.
+
+message
+ text to be displayed
+
+Examples
+--------
+
+::
+
+ => panic 'Unrecoverable error'
+ Unrecoverable error
+ resetting ...
+
+Configuration
+-------------
+
+If CONFIG_PANIC_HANG=y, the user has to reset the board manually.