]> git.baikalelectronics.ru Git - uboot.git/commit
event: Add an event for main_loop
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 21 Oct 2022 12:46:01 +0000 (18:16 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 18:47:32 +0000 (14:47 -0400)
commit9597320f41e3e50864b963e06c044b8da6fea19e
treef6ab1f91224b87fbb07e1a30d9977fc68e77d7f5
parente44139479cbbcdce1c67b6fa00e5a1b311c78986
event: Add an event for main_loop

Add an event type EVT_MAIN_LOOP that can be used for registering
events that need to be run after the platform has been initialised and
before the main_loop function is called.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
common/board_r.c
common/event.c
include/event.h