aboutsummaryrefslogtreecommitdiff
path: root/common/event.c
diff options
context:
space:
mode:
authorChristian Taedcke2023-07-20 09:27:24 +0200
committerMichal Simek2023-07-21 09:00:39 +0200
commita1190b4d6a9bf3a45038e3eba4a11de4be2b1cca (patch)
treeb9855137a74fd28dd19be629603c70a153ab1575 /common/event.c
parent2a907542c77610817504321f32a78422f9a23d1d (diff)
event: Add fpga load event
This enables implementing custom logic after a bitstream was loaded into the fpga. Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Link: https://lore.kernel.org/r/20230720072724.11516-1-christian.taedcke-oss@weidmueller.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'common/event.c')
-rw-r--r--common/event.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/event.c b/common/event.c
index 164c95f8f52..20720c52839 100644
--- a/common/event.c
+++ b/common/event.c
@@ -36,6 +36,9 @@ const char *const type_name[] = {
/* init hooks */
"misc_init_f",
+ /* Fpga load hook */
+ "fpga_load",
+
/* fdt hooks */
"ft_fixup",