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