diff options
author | Soby Mathew <soby.mathew@arm.com> | 2019-01-16 16:01:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-16 16:01:42 +0000 |
commit | cd1f39b48ab4a0596ace57cc920e4d4ba6e92784 (patch) | |
tree | 3ae36f3a08f4e390048d9203748b8d178fafeb09 /include/plat | |
parent | edcb50abe7b4a4e168a36e12168bf5e7a8b28700 (diff) | |
parent | 434454a2710eea3f49ebfca951019d7b6c783fb5 (diff) |
Merge pull request #1738 from ardbiesheuvel/synquacer-spm
synquacer: add SPM support
Diffstat (limited to 'include/plat')
-rw-r--r-- | include/plat/arm/common/arm_spm_def.h | 10 | ||||
-rw-r--r-- | include/plat/arm/common/plat_arm.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/plat/arm/common/arm_spm_def.h b/include/plat/arm/common/arm_spm_def.h index 1c6f6e73..997e156e 100644 --- a/include/plat/arm/common/arm_spm_def.h +++ b/include/plat/arm/common/arm_spm_def.h @@ -86,12 +86,12 @@ * requests. Mapped as RW and NS. Placed after the shared memory between EL3 and * S-EL0. */ -#define ARM_SP_IMAGE_NS_BUF_BASE (PLAT_SPM_BUF_BASE + PLAT_SPM_BUF_SIZE) -#define ARM_SP_IMAGE_NS_BUF_SIZE ULL(0x10000) +#define PLAT_SP_IMAGE_NS_BUF_BASE (PLAT_SPM_BUF_BASE + PLAT_SPM_BUF_SIZE) +#define PLAT_SP_IMAGE_NS_BUF_SIZE ULL(0x10000) #define ARM_SP_IMAGE_NS_BUF_MMAP MAP_REGION2( \ - ARM_SP_IMAGE_NS_BUF_BASE, \ - ARM_SP_IMAGE_NS_BUF_BASE, \ - ARM_SP_IMAGE_NS_BUF_SIZE, \ + PLAT_SP_IMAGE_NS_BUF_BASE, \ + PLAT_SP_IMAGE_NS_BUF_BASE, \ + PLAT_SP_IMAGE_NS_BUF_SIZE, \ MT_RW_DATA | MT_NS | MT_USER, \ PAGE_SIZE) diff --git a/include/plat/arm/common/plat_arm.h b/include/plat/arm/common/plat_arm.h index 62816082..d1c03be6 100644 --- a/include/plat/arm/common/plat_arm.h +++ b/include/plat/arm/common/plat_arm.h @@ -46,8 +46,8 @@ typedef struct arm_tzc_regions_info { PLAT_ARM_TZC_NS_DEV_ACCESS}, \ {ARM_DRAM2_BASE, ARM_DRAM2_END, ARM_TZC_NS_DRAM_S_ACCESS, \ PLAT_ARM_TZC_NS_DEV_ACCESS}, \ - {ARM_SP_IMAGE_NS_BUF_BASE, (ARM_SP_IMAGE_NS_BUF_BASE + \ - ARM_SP_IMAGE_NS_BUF_SIZE) - 1, TZC_REGION_S_NONE, \ + {PLAT_SP_IMAGE_NS_BUF_BASE, (PLAT_SP_IMAGE_NS_BUF_BASE + \ + PLAT_SP_IMAGE_NS_BUF_SIZE) - 1, TZC_REGION_S_NONE, \ PLAT_ARM_TZC_NS_DEV_ACCESS} #else |