From: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 2/2] Documentation: reboot-mode: mention that system.reboot_mode.next is initially set to 'normal'
Date: Thu, 20 Jan 2022 12:47:25 +0100 [thread overview]
Message-ID: <20220120114725.2580392-2-u.oelmann@pengutronix.de> (raw)
In-Reply-To: <20220120114725.2580392-1-u.oelmann@pengutronix.de>
Signed-off-by: Ulrich Ölmann <u.oelmann@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2022-01-20 11:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-20 11:47 [PATCH 1/2] Documentation: reboot-mode: fix typos Ulrich Ölmann
2022-01-20 11:47 ` Ulrich Ölmann [this message]
2022-01-24 10:59 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220120114725.2580392-2-u.oelmann@pengutronix.de \
--to=u.oelmann@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox