diff options
author | Sumit Garg <sumit.garg@linaro.org> | 2019-08-05 14:34:48 +0530 |
---|---|---|
committer | Sumit Garg <sumit.garg@linaro.org> | 2019-08-05 16:15:23 +0530 |
commit | 43f999a7e35db5bdbb5af6dfc7efc46f6ecab443 (patch) | |
tree | 63c29fcacc588f242eac1381a3115a7357ce563a /services/spd/opteed/opteed.mk | |
parent | 35c28cc9c9cf90b76ecb3d47637b566d37beb64c (diff) |
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
Diffstat (limited to 'services/spd/opteed/opteed.mk')
-rw-r--r-- | services/spd/opteed/opteed.mk | 5 |
1 files changed, 4 insertions, 1 deletions
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 |