aboutsummaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass2022-03-04 08:43:02 -0700
committerTom Rini2022-03-10 08:28:36 -0500
commit5a4219043d659514316e41d3d09866030c773e78 (patch)
tree9dbb8a894a103018738a43a907fb4b8c86c65652 /common/board_f.c
parent7d02645fe4c07efe253f68d2d6134922e7c5323e (diff)
event: Set up the event system on start-up
Call event_init() before relocation to get the event system running. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c
index a68760092ac..e36bdbc988f 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -19,6 +19,7 @@
#include <dm.h>
#include <env.h>
#include <env_internal.h>
+#include <event.h>
#include <fdtdec.h>
#include <fs.h>
#include <hang.h>
@@ -828,6 +829,7 @@ static const init_fnc_t init_sequence_f[] = {
initf_malloc,
log_init,
initf_bootstage, /* uses its own timer, so does not need DM */
+ event_init,
#ifdef CONFIG_BLOBLIST
bloblist_init,
#endif