blob: fa7c2f904506b3c11434b6e724636b45a5202822 [file] [log] [blame]
Manish V Badarkhe3bb52662025-05-30 13:21:21 +01001/*
2 * Copyright (c) 2025, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef PLAT_LFA_H
8#define PLAT_LFA_H
9
Manish V Badarkheb100e912025-05-30 12:23:56 +010010#include <services/lfa_component_desc.h>
Manish V Badarkhe3bb52662025-05-30 13:21:21 +010011#include <tools_share/uuid.h>
12
13typedef struct plat_lfa_component_info {
14 const uint32_t lfa_component_id;
15 const uuid_t uuid;
Manish V Badarkheb100e912025-05-30 12:23:56 +010016 struct lfa_component_ops *activator;
17 bool activation_pending;
Manish V Badarkhe3bb52662025-05-30 13:21:21 +010018} plat_lfa_component_info_t;
19
20uint32_t plat_lfa_get_components(plat_lfa_component_info_t **components);
Manish V Badarkhe357079c2025-06-01 19:49:44 +010021bool is_plat_lfa_activation_pending(uint32_t lfa_component_id);
Manish V Badarkheb4cbf502025-06-01 20:42:49 +010022int plat_lfa_cancel(uint32_t lfa_component_id);
Manish V Badarkhea7fbccc2025-06-02 09:45:10 +010023int plat_lfa_load_auth_image(uint32_t lfa_component_id);
Manish V Badarkhe3bb52662025-05-30 13:21:21 +010024
25#endif /* PLAT_LFA_H */