summaryrefslogtreecommitdiff
path: root/common/event.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-03-04 18:43:05 +0300
committerTom Rini <trini@konsulko.com>2022-03-10 16:28:36 +0300
commit7fe32b3442f0d0e77a0768dcc1ee65fb352a080a (patch)
tree96a205669eeb9145d15eaec2f9bac5a53ea3c791 /common/event.c
parent42fdcebf859f93139d58defd5abef44dedb9b17a (diff)
downloadu-boot-7fe32b3442f0d0e77a0768dcc1ee65fb352a080a.tar.xz
event: Convert arch_cpu_init_dm() to use events
Instead of a special function, send an event after driver model is inited and adjust the boards which use this function. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/event.c')
-rw-r--r--common/event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/event.c b/common/event.c
index 4270809d49..9d67a060a0 100644
--- a/common/event.c
+++ b/common/event.c
@@ -26,6 +26,7 @@ const char *const type_name[] = {
"test",
/* Events related to driver model */
+ "dm_post_init",
"dm_pre_probe",
"dm_post_probe",
"dm_pre_remove",