Skip to contentSkip to conversation

Documentation: reboot-mode: fix typos

PATCH Applied Ulrich Ölmann 2 participants 3 messages Jan 20, 2022 – Jan 24, 2022 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Documentation: reboot-mode: fix typos

---
 Documentation/user/reboot-mode.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/user/reboot-mode.rst +2 -2
index 681438d94498..24deae78727e 100644
@@ -29,9 +29,9 @@ 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.
 
 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.::
Signature · 7 lines
2.30.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/2 Documentation: reboot-mode: mention that system.reboot_mode.next is initially set to 'normal'

---
 Documentation/user/reboot-mode.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/user/reboot-mode.rst +2 -1
index 24deae78727e..83d4136b8592 100644
@@ -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.::
Signature · 7 lines
2.30.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#2 lore raw
In reply to Ulrich Ölmann
Quoted 4 lines · Ulrich Ölmann
---
 Documentation/user/reboot-mode.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

Quoted 25 lines
Documentation/user/reboot-mode.rst +2 -2
index 681438d94498..24deae78727e 100644
@@ -29,9 +29,9 @@ 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.
 
 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.::
Signature · 7 lines
2.30.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox