diff options
author | Manish Pandey <manish.pandey2@arm.com> | 2020-02-25 11:38:19 +0000 |
---|---|---|
committer | Manish Pandey <manish.pandey2@arm.com> | 2020-03-04 14:02:31 +0000 |
commit | cb3b534457f38c302ebef9f0b2555ffa8c549b65 (patch) | |
tree | 746d912978e2fc083d8a911504f6a59cf643487c /include | |
parent | 8f066f6167f47a29a46e66d1210f5afbf94a8c40 (diff) | |
download | platform_external_arm-trusted-firmware-cb3b534457f38c302ebef9f0b2555ffa8c549b65.tar.gz platform_external_arm-trusted-firmware-cb3b534457f38c302ebef9f0b2555ffa8c549b65.tar.bz2 platform_external_arm-trusted-firmware-cb3b534457f38c302ebef9f0b2555ffa8c549b65.zip |
SPMD: loading Secure Partition payloads
This patch implements loading of Secure Partition packages using
existing framework of loading other bl images.
The current framework uses a statically defined array to store all the
possible image types and at run time generates a link list and traverse
through it to load different images.
To load SPs, a new array of fixed size is introduced which will be
dynamically populated based on number of SPs available in the system
and it will be appended to the loadable images list.
Change-Id: I8309f63595f2a71b28a73b922d20ccba9c4f6ae4
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/plat/arm/common/fconf_arm_sp_getter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/plat/arm/common/fconf_arm_sp_getter.h b/include/plat/arm/common/fconf_arm_sp_getter.h index 57fd92edf..38c30fbf9 100644 --- a/include/plat/arm/common/fconf_arm_sp_getter.h +++ b/include/plat/arm/common/fconf_arm_sp_getter.h @@ -13,6 +13,8 @@ /* arm_sp getter */ #define arm__sp_getter(prop) arm_sp.prop +#define ARM_SP_MAX_SIZE U(0x10000) + struct arm_sp_t { unsigned int number_of_sp; union uuid_helper_t uuids[MAX_SP_IDS]; @@ -23,4 +25,6 @@ int fconf_populate_arm_sp(uintptr_t config); extern struct arm_sp_t arm_sp; +extern bl_mem_params_node_t sp_mem_params_descs[MAX_SP_IDS]; + #endif /* FCONF_ARM_SP_GETTER_H */ |