summaryrefslogtreecommitdiffstats
path: root/Documentation/user
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-02-18 12:59:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-02-18 12:59:21 +0100
commit37fddd1ae02aac9f10eacd16bbd6142198ed7342 (patch)
treee621ad4d7dadc0fa18e267c2414c1032f3ac9963 /Documentation/user
parent9481ada6ad354cfe38418354afee48ceca438c05 (diff)
parent2efa9e490569f909c6ba796d192b623ec9766b82 (diff)
downloadbarebox-37fddd1ae02aac9f10eacd16bbd6142198ed7342.tar.gz
barebox-37fddd1ae02aac9f10eacd16bbd6142198ed7342.tar.xz
Merge branch 'for-next/misc'
Diffstat (limited to 'Documentation/user')
-rw-r--r--Documentation/user/reboot-mode.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/user/reboot-mode.rst b/Documentation/user/reboot-mode.rst
index 681438d944..83d4136b85 100644
--- a/Documentation/user/reboot-mode.rst
+++ b/Documentation/user/reboot-mode.rst
@@ -29,9 +29,10 @@ User API
Devices registered with the reboot mode API gain two parameters:
- ``$dev_of_reboot_mode.prev`` (read-only): The reboot mode that was
- set previous to barebox startup
+ 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.::