aboutsummaryrefslogtreecommitdiff
path: root/fwu/ns_bl2u/ns_bl2u.mk
diff options
context:
space:
mode:
authorAlexei Fedorov <Alexei.Fedorov@arm.com>2020-01-08 14:02:18 +0000
committerAlexei Fedorov <Alexei.Fedorov@arm.com>2020-01-08 14:02:18 +0000
commit52fd7337cde13d945dfb2f5b90b89bd76772fe9c (patch)
treed97d286bf69bb900dfffd886fc7b827de65fa16e /fwu/ns_bl2u/ns_bl2u.mk
parent584b3cb3aba5423c31496a4f46ea6a58e44dd7d9 (diff)
downloadtf-a-tests-52fd7337cde13d945dfb2f5b90b89bd76772fe9c.tar.gz
TFTF: Enable ARMv8.3-PAuth in FWU tests.
This patch adds ARMv8.3-PAuth support for FWU tests. Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com> Change-Id: I36a0a2a3870db51cda0a09bd8fd8004e2d01d2bc
Diffstat (limited to 'fwu/ns_bl2u/ns_bl2u.mk')
-rw-r--r--fwu/ns_bl2u/ns_bl2u.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/fwu/ns_bl2u/ns_bl2u.mk b/fwu/ns_bl2u/ns_bl2u.mk
index dd9e6630d..209e78b77 100644
--- a/fwu/ns_bl2u/ns_bl2u.mk
+++ b/fwu/ns_bl2u/ns_bl2u.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2018, Arm Limited. All rights reserved.
+# Copyright (c) 2018-2020, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -47,6 +47,12 @@ NS_BL2U_SOURCES += fwu/ns_bl2u/${ARCH}/ns_bl2u_entrypoint.S \
NS_BL2U_SOURCES += ${COMPILER_RT_SRCS}
+ifeq (${ENABLE_PAUTH},1)
+# ARMv8.3 Pointer Authentication support files
+NS_BL2U_SOURCES += lib/extensions/pauth/aarch64/pauth.c \
+ lib/extensions/pauth/aarch64/pauth_helpers.S
+endif
+
NS_BL2U_LINKERFILE := fwu/ns_bl2u/ns_bl2u.ld.S
# NS_BL2U requires accessing the flash. Force-enable it.
@@ -63,4 +69,5 @@ ifeq (${ARCH},aarch32)
$(eval $(call add_define,NS_BL2U_DEFINES,AARCH32))
else
$(eval $(call add_define,NS_BL2U_DEFINES,AARCH64))
+ $(eval $(call add_define,NS_BL2U_DEFINES,ENABLE_PAUTH))
endif