drivers/flash/nrf_qspi_nor: corrects write-block-size to 4B

The driver is able to write with 32-bits word alignment of size
and offset, apart form sub-word writes for which it can write
part of word to aligned offset (which is a hack).

fixes #26729

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This commit is contained in:
Andrzej Puzdrowski 2020-09-08 15:39:44 +02:00 committed by Maureen Helm
parent c8e23139c1
commit 285d8786ee
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ struct qspi_nor_config {
LOG_MODULE_REGISTER(qspi_nor, CONFIG_FLASH_LOG_LEVEL);
static const struct flash_parameters qspi_flash_parameters = {
.write_block_size = 1,
.write_block_size = 4,
.erase_value = 0xff,
};