Skip to content

Commit 76e0a22

Browse files
committed
secure_storage: add dependency for Settings backend
Secure Storage is used as PSA ITS in builds where TF-M is not enabled, but it needs a storage backend where to physically save data. If CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_ZMS is used then its "depends on" guarantee that there is a partition to use as physical storage. If CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_SETTINGS is used instead we want to ensure that CONFIG_SETTINGS_NONE doesn't gets selected which would result in Settings not being able to store data anywhere. This commit add a depends_on for this last case. Signed-off-by: Valerio Setti <[email protected]>
1 parent 4e28354 commit 76e0a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/secure_storage/Kconfig.its_store

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ config SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_SETTINGS
3131
&& $(dt_node_has_compat,$(dt_node_parent,$(DT_SETTINGS_PARTITIION)),fixed-partitions))\
3232
|| ($(dt_path_enabled,$(DT_STORAGE_PARTITION)) \
3333
&& $(dt_node_has_compat,$(dt_node_parent,$(DT_STORAGE_PARTITION)),fixed-partitions)))
34-
depends on SETTINGS
34+
depends on SETTINGS && !SETTINGS_NONE
3535

3636
config SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE
3737
bool "No ITS store module implementation"

0 commit comments

Comments
 (0)