aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-03-04 08:43:02 -0700
committerTom Rini <trini@konsulko.com>2022-03-10 08:28:36 -0500
commit5a4219043d659514316e41d3d09866030c773e78 (patch)
tree9dbb8a894a103018738a43a907fb4b8c86c65652 /common
parent7d02645fe4c07efe253f68d2d6134922e7c5323e (diff)
downloadu-boot-5a4219043d659514316e41d3d09866030c773e78.zip
u-boot-5a4219043d659514316e41d3d09866030c773e78.tar.gz
u-boot-5a4219043d659514316e41d3d09866030c773e78.tar.bz2
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')
-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 a687600..e36bdbc 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