]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(rme): relax RME compiler requirements
authorAndre Przywara <andre.przywara@arm.com>
Tue, 4 Oct 2022 12:56:49 +0000 (13:56 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 11 Oct 2022 10:09:00 +0000 (11:09 +0100)
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 <andre.przywara@arm.com>
Makefile

index 8adc0d05b2916b04a6c29335b2de4e8ef44656d3..b42e4ec25312b2ea61fed0fb0e93e8b127a8bbf4 100644 (file)
--- 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