1# 2# Copyright (c) 2024 Nordic Semiconductor ASA 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7config SOC_FLASH_NRF_MRAM 8 bool "Nordic Semiconductor flash driver for MRAM" 9 default y 10 depends on DT_HAS_NORDIC_MRAM_ENABLED 11 select FLASH_HAS_DRIVER_ENABLED 12 select FLASH_HAS_PAGE_LAYOUT 13 select FLASH_HAS_NO_EXPLICIT_ERASE 14 imply MPU_ALLOW_FLASH_WRITE if ARM_MPU 15 help 16 Enables Nordic Semiconductor flash driver for MRAM in direct write mode. 17 18 Note that MRAM words are auto-erased when written to, but writing to a 19 pre-erased area is faster. Hence, the erase API is not required, but 20 it can be used to amortize write performance for some use cases. 21