mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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>
This commit is contained in:
@@ -38,6 +38,9 @@ const char *const type_name[] = {
|
||||
|
||||
/* fdt hooks */
|
||||
"ft_fixup",
|
||||
|
||||
/* main loop events */
|
||||
"main_loop",
|
||||
};
|
||||
|
||||
_Static_assert(ARRAY_SIZE(type_name) == EVT_COUNT, "event type_name size");
|
||||
|
Reference in New Issue
Block a user