diff options
author | Simon Glass <sjg@chromium.org> | 2022-03-04 18:43:02 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-10 16:28:36 +0300 |
commit | 5a4219043d659514316e41d3d09866030c773e78 (patch) | |
tree | 9dbb8a894a103018738a43a907fb4b8c86c65652 /common | |
parent | 7d02645fe4c07efe253f68d2d6134922e7c5323e (diff) | |
download | u-boot-5a4219043d659514316e41d3d09866030c773e78.tar.xz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c index a68760092a..e36bdbc988 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 |