feat(fvp): initialize LFA component activators in platform layer
Update the FVP platform's LFA component table to populate the
'activator' and 'activation_pending' by introducing fields
in plat_lfa_component_info_t.
- 'activator': function pointers for component-specific
activation logic
- 'activation_pending': tracks whether the component's activation
is pending
Set the activator function pointers for supported components:
- BL31 via get_bl31_activator()
- RMM (if RME is enabled) via get_rmm_activator()
This allows the LFA service to invoke component-specific prime
and activate callbacks through platform-registered hooks.
Change-Id: Ifd997a8b8cab209c25aabb2e9d4eab59e909ea4d
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
diff --git a/include/plat/common/plat_lfa.h b/include/plat/common/plat_lfa.h
index 48f7c8e..5388b2f 100644
--- a/include/plat/common/plat_lfa.h
+++ b/include/plat/common/plat_lfa.h
@@ -7,11 +7,14 @@
#ifndef PLAT_LFA_H
#define PLAT_LFA_H
+#include <services/lfa_component_desc.h>
#include <tools_share/uuid.h>
typedef struct plat_lfa_component_info {
const uint32_t lfa_component_id;
const uuid_t uuid;
+ struct lfa_component_ops *activator;
+ bool activation_pending;
} plat_lfa_component_info_t;
uint32_t plat_lfa_get_components(plat_lfa_component_info_t **components);