path: root/include/plat/common/platform.h
diff options
authorPaul Beesley <paul.beesley@arm.com>2019-10-15 10:57:42 +0000
committerManish Pandey <manish.pandey2@arm.com>2019-12-20 16:03:41 +0000
commitaeaa225cbe24d63539261210e5aa901454de2a5b (patch)
tree1b9c2122cffc009f261eb95ae3cb640ea66eb030 /include/plat/common/platform.h
parent538b002046b567ed3c431633623f335b90476e40 (diff)
spm-mm: Refactor secure_partition.h and its contents
Before adding any new SPM-related components we should first do some cleanup around the existing SPM-MM implementation. The aim is to make sure that any SPM-MM components have names that clearly indicate that they are MM-related. Otherwise, when adding new SPM code, it could quickly become confusing as it would be unclear to which component the code belongs. The secure_partition.h header is a clear example of this, as the name is generic so it could easily apply to any SPM-related code, when it is in fact SPM-MM specific. This patch renames the file and the two structures defined within it, and then modifies any references in files that use the header. Change-Id: I44bd95fab774c358178b3e81262a16da500fda26 Signed-off-by: Paul Beesley <paul.beesley@arm.com>
Diffstat (limited to 'include/plat/common/platform.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h
index eeae62141c..9efb2fd526 100644
--- a/include/plat/common/platform.h
+++ b/include/plat/common/platform.h
@@ -22,7 +22,7 @@ struct image_desc;
struct bl_load_info;
struct bl_params;
struct mmap_region;
-struct secure_partition_boot_info;
+struct spm_mm_boot_info;
struct sp_res_desc;
@@ -267,7 +267,7 @@ int get_mbedtls_heap_helper(void **heap_addr, size_t *heap_size);
* Secure Partitions functions
const struct mmap_region *plat_get_secure_partition_mmap(void *cookie);
-const struct secure_partition_boot_info *plat_get_secure_partition_boot_info(
+const struct spm_mm_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,