zephyr/drivers/flash/Kconfig.sam0
Ulf Magnusson 00f363e4c8 drivers: flash: Kconfig: Remove redundant 'default n' properties
Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though, and is
inconsistent.

This will make the auto-generated Kconfig documentation have "No
defaults. Implicitly defaults to n." as well, which is clearer than
'default n if ...'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-03 17:11:31 -04:00

25 lines
555 B
Plaintext

# 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
select FLASH_HAS_DRIVER_ENABLED
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