Kevin Peng | 5cba61c | 2023-01-06 14:23:15 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2022-2023, Arm Limited. All rights reserved. |
Chris Brand | 80326b7 | 2023-03-15 13:07:49 -0700 | [diff] [blame] | 3 | # Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) |
| 4 | # or an affiliate of Cypress Semiconductor Corporation. All rights reserved. |
Kevin Peng | 5cba61c | 2023-01-06 14:23:15 +0800 | [diff] [blame] | 5 | # |
| 6 | # SPDX-License-Identifier: BSD-3-Clause |
| 7 | # |
| 8 | #------------------------------------------------------------------------------- |
| 9 | |
| 10 | menu "TF-M SPM component configs" |
| 11 | |
| 12 | config CONFIG_TFM_CONN_HANDLE_MAX_NUM |
| 13 | int "Maximal number of handling secure services" |
| 14 | default 8 |
| 15 | help |
| 16 | The maximal number of secure services that are connected or requested at |
| 17 | the same time |
| 18 | |
| 19 | config CONFIG_TFM_DOORBELL_API |
| 20 | bool "Enable the doorbell APIs" |
Jianliang Shen | 1229c09 | 2023-02-20 14:06:08 +0800 | [diff] [blame] | 21 | depends on CONFIG_TFM_SPM_BACKEND_IPC |
Kevin Peng | 5cba61c | 2023-01-06 14:23:15 +0800 | [diff] [blame] | 22 | default y |
Chris Brand | 80326b7 | 2023-03-15 13:07:49 -0700 | [diff] [blame] | 23 | |
| 24 | config CONFIG_TFM_SCHEDULE_WHEN_NS_INTERRUPTED |
| 25 | bool "Run the scheduler after a secure interrupt pre-empts the NSPE" |
| 26 | default n |
Jianliang Shen | c750f65 | 2023-08-09 11:16:17 +0800 | [diff] [blame] | 27 | |
| 28 | config OTP_NV_COUNTERS_RAM_EMULATION |
| 29 | bool "Enable OTP/NV_COUNTERS emulation in RAM" |
| 30 | default n |
| 31 | depends on PLATFORM_DEFAULT_OTP || PLATFORM_DEFAULT_NV_COUNTERS |
| 32 | help |
| 33 | Enable OTP/NV_COUNTERS emulation in RAM. Has no effect on non-default |
| 34 | implementations of the OTP and NV_COUNTERS |
| 35 | |
Kevin Peng | 5cba61c | 2023-01-06 14:23:15 +0800 | [diff] [blame] | 36 | endmenu |