diff options
| author | Chanho Park <[email protected]> | 2023-08-18 14:11:02 +0900 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2023-08-22 08:07:43 -0600 |
| commit | 27c7a62986b3dd6d44351271d2c0cf59664ce759 (patch) | |
| tree | e172ec71a7514a206542607ac4fb5ada8d012db7 /common/event.c | |
| parent | 976fb2ffa3875a7bed9866bf5cf939a81c423ef8 (diff) | |
dm: event: add EVT_DM_POST_INIT_R event type
This patch introduces EVT_DM_POST_INIT_R event type for handling hooks
after relocation.
Fixes: 55171aedda88 ("dm: Emit the arch_cpu_init_dm() even only before relocation")
Suggested-by: Simon Glass <[email protected]>
Cc: Bin Meng <[email protected]>
Signed-off-by: Chanho Park <[email protected]>
Tested-by: Milan P. Stanić <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Roland Ruckerbauer <[email protected]>
Tested-by: Roland Ruckerbauer <[email protected]>
Fixed missing event name in event.c:
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'common/event.c')
| -rw-r--r-- | common/event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/event.c b/common/event.c index 3224e281222..6653300e6cf 100644 --- a/common/event.c +++ b/common/event.c @@ -28,6 +28,7 @@ const char *const type_name[] = { /* Events related to driver model */ "dm_post_init_f", + "dm_post_init_r", "dm_pre_probe", "dm_post_probe", "dm_pre_remove", |
