aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.h
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2023-08-18 14:11:02 +0900
committerSimon Glass <sjg@chromium.org>2023-08-22 08:07:43 -0600
commit27c7a62986b3dd6d44351271d2c0cf59664ce759 (patch)
treee172ec71a7514a206542607ac4fb5ada8d012db7 /include/event.h
parent976fb2ffa3875a7bed9866bf5cf939a81c423ef8 (diff)
downloadu-boot-27c7a62986b3dd6d44351271d2c0cf59664ce759.tar.gz
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 <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Chanho Park <chanho61.park@samsung.com> Tested-by: Milan P. Stanić <mps@arvanta.net> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Roland Ruckerbauer <mail@ruabmbua.dev> Tested-by: Roland Ruckerbauer <mail@ruabmbua.dev> Fixed missing event name in event.c: Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/event.h')
-rw-r--r--include/event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/event.h b/include/event.h
index daf44bf8a83..bb38ba98e73 100644
--- a/include/event.h
+++ b/include/event.h
@@ -24,6 +24,7 @@ enum event_t {
/* Events related to driver model */
EVT_DM_POST_INIT_F,
+ EVT_DM_POST_INIT_R,
EVT_DM_PRE_PROBE,
EVT_DM_POST_PROBE,
EVT_DM_PRE_REMOVE,