aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2019-08-05 14:34:48 +0530
committerSumit Garg <sumit.garg@linaro.org>2019-08-05 16:15:23 +0530
commit43f999a7e35db5bdbb5af6dfc7efc46f6ecab443 (patch)
tree63c29fcacc588f242eac1381a3115a7357ce563a
parent35c28cc9c9cf90b76ecb3d47637b566d37beb64c (diff)
downloadtrusted-firmware-a-43f999a7e35db5bdbb5af6dfc7efc46f6ecab443.tar.gz
spd: opteed: enable NS_TIMER_SWITCH
Enable dispatcher to save/restore unbanked timer registers. So that both secure (OP-TEE) and non-secure (Linux) worlds can have independent access control over timer registers. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Change-Id: I4d58d5ff8298587ed478c8433fcbc3aef538d668
-rw-r--r--services/spd/opteed/opteed.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/services/spd/opteed/opteed.mk b/services/spd/opteed/opteed.mk
index b1b21751f1..643b054242 100644
--- a/services/spd/opteed/opteed.mk
+++ b/services/spd/opteed/opteed.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -13,3 +13,6 @@ SPD_SOURCES := services/spd/opteed/opteed_common.c \
services/spd/opteed/opteed_pm.c
NEED_BL32 := yes
+
+# required so that optee code can control access to the timer registers
+NS_TIMER_SWITCH := 1