* [PATCH 1/1] doc: fix documentation of enum gd_flags
@ 2022-11-14 9:25 Heinrich Schuchardt
2022-11-14 22:49 ` Simon Glass
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Heinrich Schuchardt @ 2022-11-14 9:25 UTC (permalink / raw)
To: Tom Rini
Cc: Simon Glass, Rasmus Villemoes, Stefan Roese, u-boot, Heinrich Schuchardt
Correct GD_FLG_CYCLIC_RUNNING documentation to match Sphinx style.
Fixes: d7de5ef62935 ("cyclic: use a flag in gd->flags for recursion protection")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
include/asm-generic/global_data.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 02ad8ca595..88829126fb 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -651,7 +651,7 @@ enum gd_flags {
*/
GD_FLG_FDT_CHANGED = 0x100000,
/**
- * GD_FLG_CYCLIC_RUNNING: cyclic_run is in progress
+ * @GD_FLG_CYCLIC_RUNNING: cyclic_run is in progress
*/
GD_FLG_CYCLIC_RUNNING = 0x200000,
};
--
2.37.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] doc: fix documentation of enum gd_flags
2022-11-14 9:25 [PATCH 1/1] doc: fix documentation of enum gd_flags Heinrich Schuchardt
@ 2022-11-14 22:49 ` Simon Glass
2022-11-15 7:17 ` Stefan Roese
2022-11-15 12:10 ` Rasmus Villemoes
2 siblings, 0 replies; 5+ messages in thread
From: Simon Glass @ 2022-11-14 22:49 UTC (permalink / raw)
To: Heinrich Schuchardt; +Cc: Tom Rini, Rasmus Villemoes, Stefan Roese, u-boot
On Mon, 14 Nov 2022 at 02:25, Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> Correct GD_FLG_CYCLIC_RUNNING documentation to match Sphinx style.
>
> Fixes: d7de5ef62935 ("cyclic: use a flag in gd->flags for recursion protection")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
> include/asm-generic/global_data.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] doc: fix documentation of enum gd_flags
2022-11-14 9:25 [PATCH 1/1] doc: fix documentation of enum gd_flags Heinrich Schuchardt
2022-11-14 22:49 ` Simon Glass
@ 2022-11-15 7:17 ` Stefan Roese
2022-11-15 12:10 ` Rasmus Villemoes
2 siblings, 0 replies; 5+ messages in thread
From: Stefan Roese @ 2022-11-15 7:17 UTC (permalink / raw)
To: Heinrich Schuchardt, Tom Rini; +Cc: Simon Glass, Rasmus Villemoes, u-boot
On 14.11.22 10:25, Heinrich Schuchardt wrote:
> Correct GD_FLG_CYCLIC_RUNNING documentation to match Sphinx style.
>
> Fixes: d7de5ef62935 ("cyclic: use a flag in gd->flags for recursion protection")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Thanks,
Stefan
> ---
> include/asm-generic/global_data.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
> index 02ad8ca595..88829126fb 100644
> --- a/include/asm-generic/global_data.h
> +++ b/include/asm-generic/global_data.h
> @@ -651,7 +651,7 @@ enum gd_flags {
> */
> GD_FLG_FDT_CHANGED = 0x100000,
> /**
> - * GD_FLG_CYCLIC_RUNNING: cyclic_run is in progress
> + * @GD_FLG_CYCLIC_RUNNING: cyclic_run is in progress
> */
> GD_FLG_CYCLIC_RUNNING = 0x200000,
> };
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] doc: fix documentation of enum gd_flags
2022-11-14 9:25 [PATCH 1/1] doc: fix documentation of enum gd_flags Heinrich Schuchardt
2022-11-14 22:49 ` Simon Glass
2022-11-15 7:17 ` Stefan Roese
@ 2022-11-15 12:10 ` Rasmus Villemoes
2022-11-15 13:59 ` Stefan Roese
2 siblings, 1 reply; 5+ messages in thread
From: Rasmus Villemoes @ 2022-11-15 12:10 UTC (permalink / raw)
To: Heinrich Schuchardt, Tom Rini; +Cc: Simon Glass, Stefan Roese, u-boot
On 14/11/2022 10.25, Heinrich Schuchardt wrote:
> Correct GD_FLG_CYCLIC_RUNNING documentation to match Sphinx style.
>
> Fixes: d7de5ef62935 ("cyclic: use a flag in gd->flags for recursion protection")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Ack, obviously.
But now that I look in global_data.h again, it struck me that
GD_FLG_WDT_READY has become write-only since c2fd0ca1a822. That is, it
is set in initr_watchdog but nothing ever test for it.
So we should probably remove that bit (and that line in initr_watchdog),
and then fill the vacant spot with GD_FLG_CYCLIC_RUNNING.
Rasmus
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] doc: fix documentation of enum gd_flags
2022-11-15 12:10 ` Rasmus Villemoes
@ 2022-11-15 13:59 ` Stefan Roese
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Roese @ 2022-11-15 13:59 UTC (permalink / raw)
To: Rasmus Villemoes, Heinrich Schuchardt, Tom Rini; +Cc: Simon Glass, u-boot
Hi Rasmus,
On 15.11.22 13:10, Rasmus Villemoes wrote:
> On 14/11/2022 10.25, Heinrich Schuchardt wrote:
>> Correct GD_FLG_CYCLIC_RUNNING documentation to match Sphinx style.
>>
>> Fixes: d7de5ef62935 ("cyclic: use a flag in gd->flags for recursion protection")
>> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
>
> Ack, obviously.
>
> But now that I look in global_data.h again, it struck me that
> GD_FLG_WDT_READY has become write-only since c2fd0ca1a822. That is, it
> is set in initr_watchdog but nothing ever test for it.
>
> So we should probably remove that bit (and that line in initr_watchdog),
> and then fill the vacant spot with GD_FLG_CYCLIC_RUNNING.
Good idea. I'll try to prepare a patch implementing this change
tomorrow. Thanks for looking into this.
Thanks,
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-11-15 13:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 9:25 [PATCH 1/1] doc: fix documentation of enum gd_flags Heinrich Schuchardt
2022-11-14 22:49 ` Simon Glass
2022-11-15 7:17 ` Stefan Roese
2022-11-15 12:10 ` Rasmus Villemoes
2022-11-15 13:59 ` Stefan Roese
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.