dm: event: add EVT_DM_POST_INIT_R event type
authorChanho Park <chanho61.park@samsung.com>
Fri, 18 Aug 2023 05:11:02 +0000 (14:11 +0900)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Aug 2023 14:07:43 +0000 (08:07 -0600)
commit27c7a62986b3dd6d44351271d2c0cf59664ce759
treee172ec71a7514a206542607ac4fb5ada8d012db7
parent976fb2ffa3875a7bed9866bf5cf939a81c423ef8
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>
common/event.c
drivers/core/root.c
include/event.h