blob: 29c230307f6bc41cdb22dd3454597113dda8408e [file] [log] [blame]
Kevin Peng5cba61c2023-01-06 14:23:15 +08001#-------------------------------------------------------------------------------
2# Copyright (c) 2022-2023, Arm Limited. All rights reserved.
Chris Brand80326b72023-03-15 13:07:49 -07003# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company)
4# or an affiliate of Cypress Semiconductor Corporation. All rights reserved.
Kevin Peng5cba61c2023-01-06 14:23:15 +08005#
6# SPDX-License-Identifier: BSD-3-Clause
7#
8#-------------------------------------------------------------------------------
9
10menu "TF-M SPM component configs"
11
12config 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
19config CONFIG_TFM_DOORBELL_API
20 bool "Enable the doorbell APIs"
Jianliang Shen1229c092023-02-20 14:06:08 +080021 depends on CONFIG_TFM_SPM_BACKEND_IPC
Kevin Peng5cba61c2023-01-06 14:23:15 +080022 default y
Chris Brand80326b72023-03-15 13:07:49 -070023
24config CONFIG_TFM_SCHEDULE_WHEN_NS_INTERRUPTED
25 bool "Run the scheduler after a secure interrupt pre-empts the NSPE"
26 default n
Jianliang Shenc750f652023-08-09 11:16:17 +080027
28config 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 Peng5cba61c2023-01-06 14:23:15 +080036endmenu