2017-11-23 05:53:29 +08:00
|
|
|
# Kconfig - Atmel SAM0 flash driver config
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 Google LLC.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if FLASH && SOC_FAMILY_SAM0
|
|
|
|
|
|
|
|
menuconfig SOC_FLASH_SAM0
|
|
|
|
bool
|
|
|
|
prompt "Atmel SAM0 flash driver"
|
|
|
|
select FLASH_HAS_PAGE_LAYOUT
|
2018-03-07 21:31:56 +08:00
|
|
|
select FLASH_HAS_DRIVER_ENABLED
|
2017-11-23 05:53:29 +08:00
|
|
|
help
|
|
|
|
Enable the Atmel SAM0 series internal flash driver.
|
|
|
|
|
|
|
|
config SOC_FLASH_SAM0_EMULATE_BYTE_PAGES
|
|
|
|
bool
|
|
|
|
prompt "Emulate byte-sized pages"
|
|
|
|
depends on SOC_FLASH_SAM0
|
|
|
|
help
|
|
|
|
Emulate a device with byte-sized pages by doing a
|
|
|
|
read/modify/erase/write. Needed for NFFS.
|
|
|
|
|
|
|
|
endif
|