summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2017-08-31 18:55:21 +0100
committerGitHub <noreply@github.com>2017-08-31 18:55:21 +0100
commit085bac2b75870292206af8699b7e52eabab35b32 (patch)
tree8e55e8e04a512be4649ed0711db8991d94eb8cec /include
parent9a5d18ea1ed0433dcf6241449b550f0de3b02481 (diff)
parent3eb2d672fcd2d86ba56359760d2eb0df758a6843 (diff)
Merge pull request #1072 from sandrine-bailleux-arm/sb/tsp-mapping
ARM platforms: Map TSP only when TSPD is included
Diffstat (limited to 'include')
-rw-r--r--include/plat/arm/common/arm_def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/plat/arm/common/arm_def.h b/include/plat/arm/common/arm_def.h
index 106cd747..d44e2783 100644
--- a/include/plat/arm/common/arm_def.h
+++ b/include/plat/arm/common/arm_def.h
@@ -168,10 +168,12 @@
ARM_NS_DRAM1_SIZE, \
MT_MEMORY | MT_RW | MT_NS)
+#ifdef SPD_tspd
#define ARM_MAP_TSP_SEC_MEM MAP_REGION_FLAT( \
TSP_SEC_MEM_BASE, \
TSP_SEC_MEM_SIZE, \
MT_MEMORY | MT_RW | MT_SECURE)
+#endif
#if ARM_BL31_IN_DRAM
#define ARM_MAP_BL31_SEC_DRAM MAP_REGION_FLAT( \