aboutsummaryrefslogtreecommitdiff
path: root/doc/usage/cmd/panic.rst
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-03-14 10:58:41 -0400
committerTom Rini <trini@konsulko.com>2023-03-14 12:06:35 -0400
commita5faa4a9eb45f2cc0e858622db8fabafd644085b (patch)
tree36be30dcb8b9a6743c21f9db02ee3b8d1976180a /doc/usage/cmd/panic.rst
parent20aaff677d8bc3cc2d529d859aa1ea65f5a4db7d (diff)
parent88e08fc5f6e508eac46cd1dfb0379b11ae032c0a (diff)
downloadu-boot-a5faa4a9eb45f2cc0e858622db8fabafd644085b.zip
u-boot-a5faa4a9eb45f2cc0e858622db8fabafd644085b.tar.gz
u-boot-a5faa4a9eb45f2cc0e858622db8fabafd644085b.tar.bz2
Merge tag 'v2023.04-rc4' into next
Prepare v2023.04-rc4 Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'doc/usage/cmd/panic.rst')
-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 0000000..115eba5
--- /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.