diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-12-10 14:01:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 14:01:37 +0000 |
commit | 83df7ce38dd5b2357fa73798ad1f3546c6073482 (patch) | |
tree | 66ef3fbdc1ce2f1917abc079cde755d1f7842538 /services | |
parent | 9f0ee04f5d5341f7686f238529bc8d690ddf3b00 (diff) | |
parent | 45d640f0f449e835b014bb5555ec1de5b5e566dc (diff) |
Merge pull request #1187 from antonio-nino-diaz-arm/an/spm-xlat-dram
SPM: Move S-EL1/S-EL0 xlat tables to TZC DRAM
Diffstat (limited to 'services')
-rw-r--r-- | services/std_svc/spm/secure_partition_setup.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/services/std_svc/spm/secure_partition_setup.c b/services/std_svc/spm/secure_partition_setup.c index 30a82e1d..c1f0edf6 100644 --- a/services/std_svc/spm/secure_partition_setup.c +++ b/services/std_svc/spm/secure_partition_setup.c @@ -21,12 +21,17 @@ #include "spm_private.h" #include "spm_shim_private.h" +/* Place translation tables by default along with the ones used by BL31. */ +#ifndef PLAT_SP_IMAGE_XLAT_SECTION_NAME +#define PLAT_SP_IMAGE_XLAT_SECTION_NAME "xlat_table" +#endif + /* Allocate and initialise the translation context for the secure partition. */ REGISTER_XLAT_CONTEXT2(secure_partition, PLAT_SP_IMAGE_MMAP_REGIONS, PLAT_SP_IMAGE_MAX_XLAT_TABLES, PLAT_VIRT_ADDR_SPACE_SIZE, PLAT_PHY_ADDR_SPACE_SIZE, - EL1_EL0_REGIME); + EL1_EL0_REGIME, PLAT_SP_IMAGE_XLAT_SECTION_NAME); /* Export a handle on the secure partition translation context */ xlat_ctx_t *secure_partition_xlat_ctx_handle = &secure_partition_xlat_ctx; |