mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] Documentation: reboot-mode: fix typos
@ 2022-01-20 11:47 Ulrich Ölmann
  2022-01-20 11:47 ` [PATCH 2/2] Documentation: reboot-mode: mention that system.reboot_mode.next is initially set to 'normal' Ulrich Ölmann
  2022-01-24 10:59 ` [PATCH 1/2] Documentation: reboot-mode: fix typos Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ulrich Ölmann @ 2022-01-20 11:47 UTC (permalink / raw)
  To: Barebox List

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
 Documentation/user/reboot-mode.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/user/reboot-mode.rst b/Documentation/user/reboot-mode.rst
index 681438d94498..24deae78727e 100644
--- a/Documentation/user/reboot-mode.rst
+++ b/Documentation/user/reboot-mode.rst
@@ -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.::
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] Documentation: reboot-mode: mention that system.reboot_mode.next is initially set to 'normal'
  2022-01-20 11:47 [PATCH 1/2] Documentation: reboot-mode: fix typos Ulrich Ölmann
@ 2022-01-20 11:47 ` Ulrich Ölmann
  2022-01-24 10:59 ` [PATCH 1/2] Documentation: reboot-mode: fix typos Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Ulrich Ölmann @ 2022-01-20 11:47 UTC (permalink / raw)
  To: Barebox List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] Documentation: reboot-mode: fix typos
  2022-01-20 11:47 [PATCH 1/2] Documentation: reboot-mode: fix typos Ulrich Ölmann
  2022-01-20 11:47 ` [PATCH 2/2] Documentation: reboot-mode: mention that system.reboot_mode.next is initially set to 'normal' Ulrich Ölmann
@ 2022-01-24 10:59 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2022-01-24 10:59 UTC (permalink / raw)
  To: Ulrich Ölmann; +Cc: Barebox List

On Thu, Jan 20, 2022 at 12:47:24PM +0100, Ulrich Ölmann wrote:
> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
> ---
>  Documentation/user/reboot-mode.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/Documentation/user/reboot-mode.rst b/Documentation/user/reboot-mode.rst
> index 681438d94498..24deae78727e 100644
> --- a/Documentation/user/reboot-mode.rst
> +++ b/Documentation/user/reboot-mode.rst
> @@ -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.::
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-24 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 11:47 [PATCH 1/2] Documentation: reboot-mode: fix typos Ulrich Ölmann
2022-01-20 11:47 ` [PATCH 2/2] Documentation: reboot-mode: mention that system.reboot_mode.next is initially set to 'normal' Ulrich Ölmann
2022-01-24 10:59 ` [PATCH 1/2] Documentation: reboot-mode: fix typos Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox