diff options
author | Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> | 2020-07-27 13:51:30 +0100 |
---|---|---|
committer | Manish Pandey <manish.pandey2@arm.com> | 2020-10-20 20:06:59 +0000 |
commit | d32113c7f3d291b35e0debdccac609c88a0343ae (patch) | |
tree | 876d3ed82c45cd5c041293d69659d1169f798ba5 /include | |
parent | c398caf509096ca72f77a3e8f21489a4acc9763d (diff) | |
download | platform_external_arm-trusted-firmware-d32113c7f3d291b35e0debdccac609c88a0343ae.tar.gz platform_external_arm-trusted-firmware-d32113c7f3d291b35e0debdccac609c88a0343ae.tar.bz2 platform_external_arm-trusted-firmware-d32113c7f3d291b35e0debdccac609c88a0343ae.zip |
plat: arm: Make BL32_BASE platform dependent when SPD_spmd is enabled
To support platforms without Trusted DRAM this patch defines
PLAT_ARM_SPMC_BASE and enables platform to use either Trusted DRAM or
DRAM region behind TZC.
Change-Id: Icaa5c7d33334258ff27e8e0bfd0812c304e68ae4
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/plat/arm/common/arm_def.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/plat/arm/common/arm_def.h b/include/plat/arm/common/arm_def.h index c01864306..00746c6da 100644 --- a/include/plat/arm/common/arm_def.h +++ b/include/plat/arm/common/arm_def.h @@ -497,9 +497,9 @@ # elif defined(SPD_spmd) # define TSP_SEC_MEM_BASE (ARM_AP_TZC_DRAM1_BASE + ULL(0x200000)) # define TSP_SEC_MEM_SIZE (ARM_AP_TZC_DRAM1_SIZE - ULL(0x200000)) -# define BL32_BASE PLAT_ARM_TRUSTED_DRAM_BASE -# define BL32_LIMIT (PLAT_ARM_TRUSTED_DRAM_BASE \ - + (UL(1) << 21)) +# define BL32_BASE PLAT_ARM_SPMC_BASE +# define BL32_LIMIT (PLAT_ARM_SPMC_BASE + \ + PLAT_ARM_SPMC_SIZE) # elif ARM_BL31_IN_DRAM # define TSP_SEC_MEM_BASE (ARM_AP_TZC_DRAM1_BASE + \ PLAT_ARM_MAX_BL31_SIZE) |