aboutsummaryrefslogtreecommitdiff
path: root/spm
diff options
context:
space:
mode:
authorAlexei Fedorov <Alexei.Fedorov@arm.com>2019-10-29 14:06:54 +0000
committerAlexei Fedorov <Alexei.Fedorov@arm.com>2019-11-07 10:30:09 +0000
commit0f305470237c19a73979d558e740fb90f8449a59 (patch)
tree6aeedf76e1b3567e559b8ca88d84b1c0f0d013bb /spm
parent2957ff7660eb3b14ed1ee7ade14218332410e3c0 (diff)
downloadtf-a-tests-0f305470237c19a73979d558e740fb90f8449a59.tar.gz
TFTF: Add support for FVP platforms with SMT capabilities
This patch adds support for Simultaneously MultiThreaded (SMT) cores on FVP models. Number of threads per CPU is passed in FVP_MAX_PE_PER_CPU build parameter which can be set either to 1 or 2. This option defaults to 1. Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com> Change-Id: Ib0e2afe429e8f24b8a74ad6ee98750ed1ac121fb
Diffstat (limited to 'spm')
-rw-r--r--spm/cactus/cactus.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/spm/cactus/cactus.mk b/spm/cactus/cactus.mk
index d964ab13a..4acc715dc 100644
--- a/spm/cactus/cactus.mk
+++ b/spm/cactus/cactus.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2018, Arm Limited. All rights reserved.
+# Copyright (c) 2018-2019, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -53,6 +53,7 @@ CACTUS_LINKERFILE := spm/cactus/cactus.ld.S
CACTUS_DEFINES :=
$(eval $(call add_define,CACTUS_DEFINES,DEBUG))
+$(eval $(call add_define,CACTUS_DEFINES,FVP_MAX_PE_PER_CPU))
$(eval $(call add_define,CACTUS_DEFINES,ENABLE_ASSERTIONS))
$(eval $(call add_define,CACTUS_DEFINES,LOG_LEVEL))
$(eval $(call add_define,CACTUS_DEFINES,PLAT_${PLAT}))