diff options
author | Stefan Roese <sr@denx.de> | 2022-09-02 13:57:50 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-13 16:01:43 -0400 |
commit | 70545642a0fdc5d7eb1664174dbd4d06a1a62e81 (patch) | |
tree | 0f0a7999e56620db2b1879239bae35f32f3575ae /common/board_f.c | |
parent | 661cdaa79d961248bc8290f421d9cf3eb8defffd (diff) | |
download | u-boot-70545642a0fdc5d7eb1664174dbd4d06a1a62e81.tar.gz |
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.c | 2 |
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, |