blob: 0ef65864a622f8dfa81d2a3d7085d952da174174 [file] [log] [blame]
#
# Copyright (c) 2024 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
config SOC_FLASH_NRF_MRAM
bool "Nordic Semiconductor flash driver for MRAM"
default y
depends on DT_HAS_NORDIC_MRAM_ENABLED
select FLASH_HAS_DRIVER_ENABLED
select FLASH_HAS_PAGE_LAYOUT
imply MPU_ALLOW_FLASH_WRITE if ARM_MPU
help
Enables Nordic Semiconductor flash driver for MRAM in direct write mode.
Note that MRAM words are auto-erased when written to, but writing to a
pre-erased area is faster. Hence, the erase API is not required, but
it can be used to amortize write performance for some use cases.