21 lines
654 B
Plaintext
21 lines
654 B
Plaintext
#
|
|
# 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
|
|
select FLASH_HAS_NO_EXPLICIT_ERASE
|
|
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.
|