aboutsummaryrefslogtreecommitdiff
path: root/include/plat/common
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-10-30 11:12:42 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-12-10 16:37:46 +0000
commite458302be036054112710fbddbc752ee8233e4d9 (patch)
tree00b19ca3a4b03ac7777603f9d4d4f7ca1a6a85fa /include/plat/common
parent03aac65836c738d9bab69c6e270a50c0a003327a (diff)
downloadtrusted-firmware-a-e458302be036054112710fbddbc752ee8233e4d9.tar.gz
SPM: Introduce functions to load DTB files
Introduce helpers to create resource description struct, as well as code to load the information from DTB files. Change-Id: I0f5bb94eb8b01c6cb53fe807a9db0c05a70d7a43 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include/plat/common')
-rw-r--r--include/plat/common/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h
index a30b57987b..79d069ad8d 100644
--- a/include/plat/common/platform.h
+++ b/include/plat/common/platform.h
@@ -22,6 +22,7 @@ struct bl_load_info;
struct bl_params;
struct mmap_region;
struct secure_partition_boot_info;
+struct sp_res_desc;
/*******************************************************************************
* plat_get_rotpk_info() flags
@@ -266,6 +267,7 @@ int plat_set_nv_ctr2(void *cookie, const struct auth_img_desc_s *img_desc,
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);
/*******************************************************************************
* Mandatory BL image load functions(may be overridden).