]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
event: Set up the event system on start-up
authorSimon Glass <sjg@chromium.org>
Fri, 4 Mar 2022 15:43:02 +0000 (08:43 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 10 Mar 2022 13:28:36 +0000 (08:28 -0500)
Call event_init() before relocation to get the event system running.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c

index a68760092ac1afacc4b2be9c88e29285c88d0b9e..e36bdbc988fa3bde621b18fe39f8a669b939e71c 100644 (file)
@@ -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