[PATCH 2/2] Documentation: reboot-mode: mention that system.reboot_mode.next is initially set to 'normal'
Ulrich Ölmann
u.oelmann at pengutronix.de
Thu Jan 20 03:47:25 PST 2022
Signed-off-by: Ulrich Ölmann <u.oelmann at pengutronix.de>
---
Documentation/user/reboot-mode.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/user/reboot-mode.rst b/Documentation/user/reboot-mode.rst
index 24deae78727e..83d4136b8592 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.::
--
2.30.2
More information about the barebox
mailing list