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>
#include <console.h>
#include <cpu.h>
#include <cpu_func.h>
+#include <cyclic.h>
#include <display_options.h>
#include <dm.h>
#include <env.h>
initf_malloc,
log_init,
initf_bootstage, /* uses its own timer, so does not need DM */
+ cyclic_init,
event_init,
#ifdef CONFIG_BLOBLIST
bloblist_init,
#include <api.h>
#include <bootstage.h>
#include <cpu_func.h>
+#include <cyclic.h>
#include <display_options.h>
#include <exports.h>
#ifdef CONFIG_MTD_NOR_FLASH
#endif
initr_barrier,
initr_malloc,
+ cyclic_init,
log_init,
initr_bootstage, /* Needs malloc() but has its own timer */
#if defined(CONFIG_CONSOLE_RECORD)