subsys: fs: fix generic storage partition selection
FS_FLASH_MAP_STORAGE keyword enables the storage partition, but it was depend on flash_map module which is unused by NFFS. This patch makes it independent thanks to it is possible to enable the storage partition without flash_map module. FS_FLASH_MAP_STORAGE was renamed to CONFIG_FS_FLASH_STORAGE_PARTITION as it is independent for flash_map. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This commit is contained in:
parent
af8a0b1a5d
commit
4954fe06f2
13 changed files with 14 additions and 15 deletions
|
@ -41,7 +41,7 @@ const struct flash_area default_flash_map[] = {
|
|||
.fa_size = FLASH_AREA_IMAGE_SCRATCH_SIZE,
|
||||
},
|
||||
|
||||
#ifdef CONFIG_FS_FLASH_MAP_STORAGE
|
||||
#ifdef CONFIG_FS_FLASH_STORAGE_PARTITION
|
||||
/* FLASH_AREA_STORAGE */
|
||||
{
|
||||
.fa_id = 4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue