[PATCH v3] event: Add fpga load event

Simon Glass sjg at chromium.org
Wed Jul 12 16:00:24 CEST 2023


On Wed, 12 Jul 2023 at 05:39, <christian.taedcke-oss at weidmueller.com> wrote:
>
> From: Christian Taedcke <christian.taedcke at weidmueller.com>
>
> This enables implementing custom logic after a bitstream was loaded
> into the fpga.
>
> Signed-off-by: Christian Taedcke <christian.taedcke at weidmueller.com>
> ---
>
> Changes in v3:
> - replace #if with if
> - remove previously added printf
> - return notification error from fpga_load()
> - fix static_assert checking event name list
>
> Changes in v2:
> - replace __weak function with a new event
>
>  common/event.c      |  3 +++
>  drivers/fpga/fpga.c | 20 ++++++++++++++++++++
>  include/event.h     | 16 ++++++++++++++++
>  3 files changed, 39 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list