From 405cee5f8a70814db12c08c2aa3a935ccf024c2c Mon Sep 17 00:00:00 2001 From: Borys Nykytiuk Date: Mon, 12 Aug 2024 23:23:43 +0300 Subject: [PATCH] soc: riscv: telink_b9x, telink_w91: Auto calculation of SETTINGS_NVS_SECTOR_COUNT - Remove sector count of NVS from metter kconfig - Sector count of NVS now calculates on Zephyr side as the storage partition size divided by the sector size (4 KB) Signed-off-by: Borys Nykytiuk --- config/telink/chip-module/Kconfig.defaults | 5 ----- 1 file changed, 5 deletions(-) diff --git a/config/telink/chip-module/Kconfig.defaults b/config/telink/chip-module/Kconfig.defaults index 9c27fe1059451f..d0f84d789c196d 100644 --- a/config/telink/chip-module/Kconfig.defaults +++ b/config/telink/chip-module/Kconfig.defaults @@ -219,12 +219,7 @@ config NVS_LOOKUP_CACHE_SIZE config SETTINGS_NVS_SECTOR_SIZE_MULT default 1 -# Set sector counter of NVS -config SETTINGS_NVS_SECTOR_COUNT - default 12 - # Enable OpenThread - config NET_L2_OPENTHREAD default y if !WIFI