a529c4511d
Update flash drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
15 lines
389 B
Plaintext
15 lines
389 B
Plaintext
# Atmel SAM flash driver config
|
|
|
|
# Copyright (c) 2018 Aurelien Jarno
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SOC_FLASH_SAM
|
|
bool "Atmel SAM flash driver"
|
|
default y
|
|
depends on DT_HAS_ATMEL_SAM_FLASH_CONTROLLER_ENABLED
|
|
select FLASH_HAS_PAGE_LAYOUT
|
|
select FLASH_HAS_DRIVER_ENABLED
|
|
select MPU_ALLOW_FLASH_WRITE if ARM_MPU
|
|
help
|
|
Enable the Atmel SAM series internal flash driver.
|