From 37d9458f11e057e853b9e0c75a519a317dd54aa6 Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Wed, 6 Feb 2019 13:27:52 +0000 Subject: [PATCH] trusty: Require dynamic translation tables Trusty requires dynamic translation tables support, so the makefile of Trusty itself should request it. Not doing so causes platforms such as FVP to fail to build with Trusty. Other platforms like Tegra still build because they use dynamic translation tables by default. Change-Id: Id67d3b9e1f7d0547fa81e81cefa3faf1e0e6f876 Signed-off-by: Antonio Nino Diaz --- services/spd/trusty/trusty.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/spd/trusty/trusty.mk b/services/spd/trusty/trusty.mk index a571fa2c..4f0c2947 100644 --- a/services/spd/trusty/trusty.mk +++ b/services/spd/trusty/trusty.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -13,6 +13,8 @@ ifeq (${TRUSTY_SPD_WITH_GENERIC_SERVICES},1) SPD_SOURCES += services/spd/trusty/generic-arm64-smcall.c endif +BL31_CFLAGS += -DPLAT_XLAT_TABLES_DYNAMIC=1 + NEED_BL32 := yes CTX_INCLUDE_FPREGS := 1 -- 2.30.2