[PATCH] doc: event: Correct EVT_DM_POST_INIT_F description

Simon Glass sjg at chromium.org
Mon Jun 12 23:17:31 CEST 2023


Hi Bin,

On Mon, 12 Jun 2023 at 07:12, Bin Meng <bmeng at tinylab.org> wrote:
>
> EVT_DM_POST_INIT_F only works in U-Boot proper, not SPL.
>
> Signed-off-by: Bin Meng <bmeng at tinylab.org>
> ---
>
>  doc/develop/event.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/develop/event.rst b/doc/develop/event.rst
> index 1c1c9ef7f1..f0ee6bc4cc 100644
> --- a/doc/develop/event.rst
> +++ b/doc/develop/event.rst
> @@ -29,7 +29,7 @@ To declare a spy, use something like this::
>      EVENT_SPY(EVT_DM_POST_INIT_F, snow_setup_cpus);
>
>  Your function is called when EVT_DM_POST_INIT_F is emitted, i.e. after driver
> -model is inited (in SPL, or in U-Boot proper before and after relocation).
> +model is inited (in U-Boot proper before and after relocation).
>
>
>  Debugging
> --
> 2.25.1
>

Reviewed-by: Simon Glass <sjg at chromium.org>

I suppose it makes no sense to use events in SPL.


More information about the U-Boot mailing list