diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-27 08:36:02 +0000 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-12-11 13:45:41 +0000 |
commit | 680389a65a004d2af007abccf0a0352f2c0eb529 (patch) | |
tree | 84d1f5adf7382cb8899978d7106bd49ee690b7da /include/plat/common/platform.h | |
parent | 26010da11629f27ddf013ba6127198b33edcd574 (diff) | |
download | trusted-firmware-a-680389a65a004d2af007abccf0a0352f2c0eb529.tar.gz |
SPM: Load image and RD from SP package
Load SP and RD from package instead of relying on RD being already
loaded in memory and the SP being loaded as a BL32 image.
Change-Id: I18d4fbf4597656c6a7e878e1d7c01a8a324f3f8a
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include/plat/common/platform.h')
-rw-r--r-- | include/plat/common/platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h index 79d069ad8d..04272b1b58 100644 --- a/include/plat/common/platform.h +++ b/include/plat/common/platform.h @@ -268,6 +268,8 @@ const struct mmap_region *plat_get_secure_partition_mmap(void *cookie); const struct secure_partition_boot_info *plat_get_secure_partition_boot_info( void *cookie); int plat_spm_sp_rd_load(struct sp_res_desc *rd, const void *ptr, size_t size); +int plat_spm_sp_get_next_address(void **sp_base, size_t *sp_size, + void **rd_base, size_t *rd_size); /******************************************************************************* * Mandatory BL image load functions(may be overridden). |