Skip to contentSkip to conversation

doc: event: Correct EVT_DM_POST_INIT_F description

PATCH In review Bin Meng 2 participants 2 messages Jun 12, 2023

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

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.

---

 doc/develop/event.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/develop/event.rst +1 -1
index 1c1c9ef7f1..f0ee6bc4cc 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw

Hi Bin,

Quoted 23 lines · Bin Meng

EVT_DM_POST_INIT_F only works in U-Boot proper, not SPL.

---

 doc/develop/event.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/develop/event.rst +1 -2
index 1c1c9ef7f1..f0ee6bc4cc 100644
@@ -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

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