subsys/fs/nvs: Move write_block_size to flash_parameters

Pointer to flash_parameters have been added to nvs_fs structure and it
is no longer needed to store write_block_size within the nvs_fs.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
Dominik Ermel 2020-06-16 09:54:38 +00:00 committed by Carles Cufí
commit 38f623d97c
2 changed files with 16 additions and 12 deletions

View file

@ -52,7 +52,6 @@ struct nvs_fs {
* sector size should be multiple of pagesize
*/
uint16_t sector_count; /* amount of sectors in the filesystem */
uint8_t write_block_size; /* write block size for alignment */
bool ready; /* is the filesystem initialized ? */
struct k_mutex nvs_lock;