]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(sme): disable SME for SPD=spmd
authorJayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
Fri, 28 Apr 2023 14:14:27 +0000 (15:14 +0100)
committerJayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
Fri, 28 Apr 2023 15:20:26 +0000 (16:20 +0100)
SPMD is not compatible with ENABLE_SME_FOR_NS.
Hence disable SME when SPD=spmd

Change-Id: I8bcf2493819718732563f9db69f7186ac7437637
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
plat/arm/board/fvp/platform.mk

index 214064bf146a7ae54254700c264649403366e43f..09878cc13ef5453fa0367b7219b6ae6956a4a109 100644 (file)
@@ -50,7 +50,8 @@ ifneq (${SPD}, tspd)
        ENABLE_FEAT_RNG                 := 2
        ENABLE_FEAT_TWED                := 2
        ENABLE_FEAT_GCS                 := 2
-ifeq (${ARCH},aarch64)
+ifeq (${ARCH}, aarch64)
+ifneq (${SPD}, spmd)
 ifeq (${SPM_MM}, 0)
 ifeq (${ENABLE_RME}, 0)
 ifeq (${CTX_INCLUDE_FPREGS}, 0)
@@ -60,6 +61,7 @@ endif
 endif
 endif
 endif
+endif
 
 # enable unconditionally for all builds
 ifeq (${ARCH}, aarch64)