aboutsummaryrefslogtreecommitdiff
path: root/plat/arm/board/fvp/platform.mk
diff options
context:
space:
mode:
authorManish Pandey <manish.pandey2@arm.com>2019-11-06 13:17:46 +0000
committerManish Pandey <manish.pandey2@arm.com>2019-11-07 10:23:15 +0000
commit133a5c680243a282b78b94834e5f09cb17100866 (patch)
tree7a95db72ded552e5a3ac81195e178e5f7cfc731e /plat/arm/board/fvp/platform.mk
parent1d2b41614c5675b144ae1f4517c1f8bf249a12d2 (diff)
downloadarm-trusted-firmware-133a5c680243a282b78b94834e5f09cb17100866.tar.gz
plat/arm: Re-enable PIE when RESET_TO_BL31=1
Earlier PIE support was enabled for all arm platforms when RESET_TO_BL31=1, but later on it was restricted only to FVP with patch SHA d4580d17 because of n1sdp platform. Now it has been verified that PIE does work for n1sdp platform also, so enabling it again for all arm platforms. Change-Id: I05ad4f1775ef72e7cb578ec9245cde3fbce971a5 Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Diffstat (limited to 'plat/arm/board/fvp/platform.mk')
-rw-r--r--plat/arm/board/fvp/platform.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/plat/arm/board/fvp/platform.mk b/plat/arm/board/fvp/platform.mk
index 317f0bada..3a9972bb4 100644
--- a/plat/arm/board/fvp/platform.mk
+++ b/plat/arm/board/fvp/platform.mk
@@ -244,15 +244,10 @@ ENABLE_AMU := 1
# Enable dynamic mitigation support by default
DYNAMIC_WORKAROUND_CVE_2018_3639 := 1
+# Enable reclaiming of BL31 initialisation code for secondary cores
+# stacks for FVP.
ifneq (${RESET_TO_BL31},1)
-# Enable reclaiming of BL31 initialisation code for secondary cores stacks for
-# FVP. We cannot enable PIE for this case because the overlayed init section
-# creates some dynamic relocations which cannot be handled by the fixup
-# logic currently.
RECLAIM_INIT_CODE := 1
-else
-# Enable PIE support when RESET_TO_BL31=1
-ENABLE_PIE := 1
endif
ifeq (${ENABLE_AMU},1)