xref: /rk3399_ARM-atf/services/std_svc/rmmd/rmmd_rmm_lfa.c (revision b67e984664a8644d6cfd1812cabaa02cf24f09c9)
1 /*
2  * Copyright (c) 2025, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <services/lfa_svc.h>
8 #include <services/rmmd_rmm_lfa.h>
9 
10 static int32_t lfa_rmm_prime(struct lfa_component_status *activation)
11 {
12 	return LFA_WRONG_STATE;
13 }
14 
15 static int32_t lfa_rmm_activate(struct lfa_component_status *activation,
16 				uint64_t ep_address, uint64_t context_id)
17 {
18 	return LFA_WRONG_STATE;
19 }
20 
21 static struct lfa_component_ops rmm_activator = {
22 	.prime = lfa_rmm_prime,
23 	.activate = lfa_rmm_activate,
24 	.may_reset_cpu = false,
25 	.cpu_rendezvous_required = true,
26 };
27 
28 struct lfa_component_ops *get_rmm_activator(void)
29 {
30 	return &rmm_activator;
31 }
32