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:
Andrzej Puzdrowski 2018-05-04 09:25:18 +02:00 committed by Anas Nashif
commit 4954fe06f2
13 changed files with 14 additions and 15 deletions

View file

@ -14,6 +14,6 @@ config FCB
prompt "Flash Circular Buffer support"
default n
depends on FLASH_MAP
select FS_FLASH_MAP_STORAGE
select FS_FLASH_STORAGE_PARTITION
help
Enable support of Flash Circular Buffer.