aboutsummaryrefslogtreecommitdiff
path: root/plat
diff options
context:
space:
mode:
authorAntonio Niño Díaz <antonio.ninodiaz@arm.com>2019-02-18 10:52:23 +0000
committerGitHub <noreply@github.com>2019-02-18 10:52:23 +0000
commitfa233ac9d435905d2717a9880cfb3a1671e37134 (patch)
tree27b9d776ccfe2ad260c734879a4b825d64df0446 /plat
parentba2d7f927ee32b342e3bcdbff30eb371928476db (diff)
parent819dcd7c4c4a1989ce2bfb8ee9a1a1c0566506ad (diff)
downloadtrusted-firmware-a-fa233ac9d435905d2717a9880cfb3a1671e37134.tar.gz
Merge pull request #1824 from antonio-nino-diaz-arm/an/move-dyn-xlat
fvp: trusty: Move dynamic xlat enable to platform
Diffstat (limited to 'plat')
-rw-r--r--plat/arm/board/fvp/platform.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/plat/arm/board/fvp/platform.mk b/plat/arm/board/fvp/platform.mk
index f79ac466b4..42a9095d91 100644
--- a/plat/arm/board/fvp/platform.mk
+++ b/plat/arm/board/fvp/platform.mk
@@ -236,7 +236,7 @@ ifeq (${ARCH},aarch32)
ifeq (${RESET_TO_SP_MIN},1)
BL32_CFLAGS += -DPLAT_XLAT_TABLES_DYNAMIC=1
endif
-else
+else # if AArch64
ifeq (${RESET_TO_BL31},1)
BL31_CFLAGS += -DPLAT_XLAT_TABLES_DYNAMIC=1
endif
@@ -245,6 +245,9 @@ else
BL31_CFLAGS += -DPLAT_XLAT_TABLES_DYNAMIC=1
endif
endif
+ ifeq (${SPD},trusty)
+ BL31_CFLAGS += -DPLAT_XLAT_TABLES_DYNAMIC=1
+ endif
endif
# Add support for platform supplied linker script for BL31 build