SPM: Set features with config header file
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: Ie9dd99456a3ad8cb3d7601d484c0f396b201c448
diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt
index ec4e5af..d473ac7 100644
--- a/interface/CMakeLists.txt
+++ b/interface/CMakeLists.txt
@@ -35,6 +35,7 @@
target_link_libraries(psa_interface
INTERFACE
+ tfm_config
tfm_partition_defs
)
@@ -45,7 +46,6 @@
$<$<BOOL:${CONFIG_TFM_USE_TRUSTZONE}>:CONFIG_TFM_USE_TRUSTZONE>
$<$<BOOL:${TFM_MULTI_CORE_TOPOLOGY}>:TFM_MULTI_CORE_TOPOLOGY>
$<$<BOOL:${CONFIG_TFM_PARTITION_META}>:CONFIG_TFM_PARTITION_META>
- $<$<BOOL:${CONFIG_TFM_DOORBELL_API}>:CONFIG_TFM_DOORBELL_API=1>
)
###################### PSA api (S lib) #########################################