aboutsummaryrefslogtreecommitdiff
path: root/include/plat/common
diff options
context:
space:
mode:
authorOlivier Deprez <olivier.deprez@arm.com>2020-02-07 15:44:43 +0100
committerOlivier Deprez <olivier.deprez@arm.com>2020-05-13 08:08:39 +0200
commit23d5ba86bd7a43e7abb634c328d7a85bbc877fb5 (patch)
treec2c7ec96ff0c0cd3a89f893ab0cdbcf78760bb12 /include/plat/common
parent52696946ab3f441496436ad7223cb2bd853c8beb (diff)
downloadtrusted-firmware-a-23d5ba86bd7a43e7abb634c328d7a85bbc877fb5.tar.gz
SPMD: extract SPMC DTB header size from SPMD
Currently BL2 passes TOS_FW_CONFIG address and size through registers to BL31. This corresponds to SPMC manifest load address and size. The SPMC manifest is mapped in BL31 by dynamic mapping. This patch removes BL2 changes from generic code (which were enclosed by SPD=spmd) and retrieves SPMC manifest size directly from within SPMD. The SPMC manifest load address is still passed through a register by generic code. Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I35c5abd95c616ae25677302f0b1d0c45c51c042f
Diffstat (limited to 'include/plat/common')
-rw-r--r--include/plat/common/platform.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h
index 946a3b8b83..b8ba14c572 100644
--- a/include/plat/common/platform.h
+++ b/include/plat/common/platform.h
@@ -290,8 +290,7 @@ int plat_spm_sp_get_next_address(void **sp_base, size_t *sp_size,
void **rd_base, size_t *rd_size);
#if defined(SPD_spmd)
int plat_spm_core_manifest_load(spmc_manifest_attribute_t *manifest,
- const void *ptr,
- size_t size);
+ const void *pm_addr);
#endif
/*******************************************************************************
* Mandatory BL image load functions(may be overridden).