[PATCH v2 05/13] event: Add basic support for events

Tom Rini trini at konsulko.com
Thu Mar 10 14:25:54 CET 2022

On Fri, Mar 04, 2022 at 08:43:00AM -0700, Simon Glass wrote:

> Add a way to create and dispatch events without needing to allocate
> memory. Also add a way to 'spy' on events, thus allowing 'hooks' to be
> created.
> Use a linker list for static events, which we can use to replace functions
> like arch_cpu_init_f(). Allow an EVENT_DEBUG option which makes it
> easier to see what is going on at runtime, but uses more code space.
> Dynamic events allow the creation of a spy at runtime. This is not always
> necessary, but can be enabled with EVENT_DYNAMIC if needed.
> A 'test' event is the only option for now.
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220310/33d0b40c/attachment.sig>

More information about the U-Boot mailing list