summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2022-09-02 14:57:50 +0300
committerTom Rini <trini@konsulko.com>2022-09-13 23:01:43 +0300
commit70545642a0fdc5d7eb1664174dbd4d06a1a62e81 (patch)
tree0f0a7999e56620db2b1879239bae35f32f3575ae /common/board_f.c
parent661cdaa79d961248bc8290f421d9cf3eb8defffd (diff)
downloadu-boot-70545642a0fdc5d7eb1664174dbd4d06a1a62e81.tar.xz
cyclic: Integrate cyclic functionality at bootup in board_r/f
This patch adds a call to cyclic_init() to board_f/r.c, enabling the common cyclic infrastructure. After this it's possible to add cyclic functions via cyclic_register(). Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-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 18e2246733..deb46be182 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -16,6 +16,7 @@
#include <console.h>
#include <cpu.h>
#include <cpu_func.h>
+#include <cyclic.h>
#include <display_options.h>
#include <dm.h>
#include <env.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 */
+ cyclic_init,
event_init,
#ifdef CONFIG_BLOBLIST
bloblist_init,