Skip to content

Commit 0924cb5

Browse files
committed
modules: tfm: cleanup redundant Kconfig symbol selection
When we select BUILD_WITH_TFM we do not really need to enable by default the options THREAD_NAME, THREAD_STACK_INFO, INIT_STACKS and THREAD_MONITOR, so we can clean them up. We also remove CMSIS_RTOS_V2 for the same reason. We also cleanup the default value for NUM_PREEMPT_PRIORITIES, which does not seem to be needed. Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent 04a421d commit 0924cb5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

modules/Kconfig.tfm

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ config TFM_BOARD
2020

2121
menuconfig BUILD_WITH_TFM
2222
bool "Build with TF-M as the Secure Execution Environment"
23-
select CMSIS_RTOS_V2
24-
imply POLL
25-
imply THREAD_NAME
26-
imply THREAD_STACK_INFO
27-
imply INIT_STACKS
28-
imply THREAD_MONITOR
2923
depends on TRUSTED_EXECUTION_NONSECURE
3024
depends on TFM_BOARD != ""
3125
help
@@ -45,10 +39,6 @@ menuconfig BUILD_WITH_TFM
4539

4640
if BUILD_WITH_TFM
4741

48-
config NUM_PREEMPT_PRIORITIES
49-
int
50-
default 56
51-
5242
config TFM_KEY_FILE_S
5343
string "Path to private key used to sign secure firmware images."
5444
depends on BUILD_WITH_TFM

0 commit comments

Comments
 (0)