From: Sumit Garg Date: Mon, 5 Aug 2019 09:04:48 +0000 (+0530) Subject: spd: opteed: enable NS_TIMER_SWITCH X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=43f999a7e35db5bdbb5af6dfc7efc46f6ecab443;p=project%2Fbcm63xx%2Fatf.git 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 Change-Id: I4d58d5ff8298587ed478c8433fcbc3aef538d668 --- diff --git a/services/spd/opteed/opteed.mk b/services/spd/opteed/opteed.mk index b1b21751..643b0542 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