From 63bf345da9465e0543979226825414ac38e9a0a3 Mon Sep 17 00:00:00 2001 From: Aleksandr Khromykh Date: Fri, 29 Nov 2024 09:25:38 +0100 Subject: [PATCH] secure_storage: change dependencies on settings and flash The commit changes dependencies on SETTINGS and FLASH to avoid circular dependencies if security storage subsystem users select them too. Signed-off-by: Aleksandr Khromykh --- subsys/secure_storage/Kconfig | 2 +- subsys/secure_storage/Kconfig.its_store | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subsys/secure_storage/Kconfig b/subsys/secure_storage/Kconfig index 11e78a7dbd2ce88..338614873394e39 100644 --- a/subsys/secure_storage/Kconfig +++ b/subsys/secure_storage/Kconfig @@ -65,7 +65,7 @@ endif menuconfig SECURE_STORAGE_ITS_STORE_MODULE bool "ITS store module" - imply FLASH # for FLASH_HAS_DRIVER_ENABLED + depends on FLASH # for FLASH_HAS_DRIVER_ENABLED help The module that handles the storage/retrieval of the ITS data to/from NVM. Zephyr's ITS implementation calls into it. diff --git a/subsys/secure_storage/Kconfig.its_store b/subsys/secure_storage/Kconfig.its_store index 9e4d9b650205931..a986ee07c525541 100644 --- a/subsys/secure_storage/Kconfig.its_store +++ b/subsys/secure_storage/Kconfig.its_store @@ -12,7 +12,7 @@ config SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_SETTINGS && $(dt_node_has_compat,$(dt_node_parent,$(DT_STORAGE_PARTITION)),fixed-partitions) imply FLASH_MAP imply NVS - select SETTINGS + depends on SETTINGS config SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE bool "No ITS store module implementation"