diff options
author | Simon Glass <sjg@chromium.org> | 2022-03-04 08:43:02 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-09 20:46:00 -0500 |
commit | 98495a0f7e0bc36c65fbad5a0d8626bc0e6802e4 (patch) | |
tree | 0459cc00f9c6807f350492e031281211a7c8e73a | |
parent | f0299cfbb2ce821469a3adfadc3d7d2f87224b46 (diff) | |
download | u-boot-98495a0f7e0bc36c65fbad5a0d8626bc0e6802e4.zip u-boot-98495a0f7e0bc36c65fbad5a0d8626bc0e6802e4.tar.gz u-boot-98495a0f7e0bc36c65fbad5a0d8626bc0e6802e4.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>
-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 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 |