From 7670ddb1fb5d4fa5e2e234375f7a4c0763f1c57a Mon Sep 17 00:00:00 2001 From: Andre Przywara Date: Tue, 4 Oct 2022 13:56:49 +0100 Subject: [PATCH] fix(rme): relax RME compiler requirements Currently building TF-A for the FVP with RME enabled requires a toolchain that understands the -march=armv8.6-a command line option, even though we actually don't need any ARMv8.6 features from the compiler. Relax the requirement to use ARMv8.5, since this is what's the GCC shipped with Ubuntu 20.04 understands. This is in line what the current RMM implementation uses as well. Change-Id: I3806dcff90319a87f003fe2c86b7cdcdebd625e4 Signed-off-by: Andre Przywara --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8adc0d05b..b42e4ec25 100644 --- a/Makefile +++ b/Makefile @@ -148,7 +148,10 @@ endif CTX_INCLUDE_EL2_REGS := 1 CTX_INCLUDE_AARCH32_REGS := 0 ARM_ARCH_MAJOR := 8 -ARM_ARCH_MINOR := 6 +ARM_ARCH_MINOR := 5 +ENABLE_FEAT_ECV = 1 +ENABLE_FEAT_FGT = 1 + endif # USE_SPINLOCK_CAS requires AArch64 build