doc: event: Correct EVT_DM_POST_INIT_F description
PATCH 1/1 doc: event: Correct EVT_DM_POST_INIT_F description
EVT_DM_POST_INIT_F only works in U-Boot proper, not SPL.
Signed-off-by Bin Meng <[email protected]>
---
doc/develop/event.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/develop/event.rst +1 -1
@@ -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
Signature · 1 line
2.25.1
Hi Bin,
Quoted 23 lines · Bin Meng
EVT_DM_POST_INIT_Fonly works in U-Boot proper, not SPL.Signed-off-by Bin Meng <[email protected]>---
doc/develop/event.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)doc/develop/event.rst +1
-2@@ -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 --
Quoted 2 lines
2.25.1
Reviewed-by Simon Glass <[email protected]>
I suppose it makes no sense to use events in SPL.