1 /* 2 * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef FCONF_ARM_SP_GETTER_H 8 #define FCONF_ARM_SP_GETTER_H 9 10 #include <lib/fconf/fconf.h> 11 #include <tools_share/uuid.h> 12 13 /* arm_sp getter */ 14 #define arm__sp_getter(prop) arm_sp.prop 15 16 struct arm_sp_t { 17 unsigned int number_of_sp; 18 union uuid_helper_t uuids[MAX_SP_IDS]; 19 uintptr_t load_addr[MAX_SP_IDS]; 20 }; 21 22 int fconf_populate_arm_sp(uintptr_t config); 23 24 extern struct arm_sp_t arm_sp; 25 26 #endif /* FCONF_ARM_SP_GETTER_H */ 27