blob: 9b4efc3d7e35108043ff1a921ef9f668a0c9f0ff [file] [log] [blame]
# Atmel SAM0 flash driver config
# Copyright (c) 2018 Google LLC.
# SPDX-License-Identifier: Apache-2.0
menuconfig SOC_FLASH_SAM0
bool "Atmel SAM0 flash driver"
default y
depends on SOC_FAMILY_SAM0
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED
select MPU_ALLOW_FLASH_WRITE if ARM_MPU
help
Enable the Atmel SAM0 series internal flash driver.
config SOC_FLASH_SAM0_EMULATE_BYTE_PAGES
bool "Emulate byte-sized pages"
depends on SOC_FLASH_SAM0
help
Emulate a device with byte-sized pages by doing a
read/modify/erase/write.