summaryrefslogtreecommitdiffstats
path: root/Documentation/user
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2022-01-20 12:47:25 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-01-24 11:59:03 +0100
commit33d1dc4426243697fb2a5e1316a13d04cf80bc96 (patch)
tree368876cc12fee9495f0f581a4c0c905e59bf2f95 /Documentation/user
parente491613150afac915677a463737933df38e54d1e (diff)
downloadbarebox-33d1dc4426243697fb2a5e1316a13d04cf80bc96.tar.gz
barebox-33d1dc4426243697fb2a5e1316a13d04cf80bc96.tar.xz
Documentation: reboot-mode: mention that system.reboot_mode.next is initially set to 'normal'
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Link: https://lore.barebox.org/20220120114725.2580392-2-u.oelmann@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/user')
-rw-r--r--Documentation/user/reboot-mode.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/user/reboot-mode.rst b/Documentation/user/reboot-mode.rst
index 24deae7872..83d4136b85 100644
--- a/Documentation/user/reboot-mode.rst
+++ b/Documentation/user/reboot-mode.rst
@@ -31,7 +31,8 @@ Devices registered with the reboot mode API gain two parameters:
- ``$dev_of_reboot_mode.prev`` (read-only): The reboot mode that was
set previously to barebox startup.
- ``$dev_of_reboot_mode.next``: The next reboot mode, for when the
- system is reset.
+ system is reset. Its initial value after startup is 0 which corresponds
+ to ``normal`` by default.
The reboot mode driver core use the alias name if available to name
the device. By convention, this should end with ``.reboot_mode``, e.g.::