[PATCH v3 38/95] event: Add Kconfig options for SPL
sjg at chromium.org
Mon Feb 13 00:15:41 CET 2023
Add options to enable events in SPL. This is mostly so the code can be
excluded from SPL builds.
Signed-off-by: Simon Glass <sjg at chromium.org>
(no changes since v1)
common/Kconfig | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index ea9bbd52128..14a40d8b4ea 100644
@@ -622,6 +622,22 @@ config EVENT
See doc/develop/event.rst for more information.
+ bool # General-purpose event-handling mechanism in SPL
+ depends on EVENT && SPL
+ This adds a framework for general purpose sending and processing of
+ events, to allow interested parties to be alerted when something
+ happens. This is an attempt to stem the flow of weak functions,
+ hooks, functions in board_f.c and board_r.c and the Kconfig options
+ See doc/develop/event.rst for more information.
+ def_bool n # Support event registration at runtime (SPL)
+ depends on SPL_EVENT
More information about the U-Boot