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>
13 lines
410 B
Plaintext
13 lines
410 B
Plaintext
# Copyright (c) 2022 Piotr Dymacz
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SOC_FLASH_CC13XX_CC26XX
|
|
bool "TI SimpleLink CC13xx/CC26xx flash controller driver"
|
|
default y
|
|
depends on DT_HAS_TI_CC13XX_CC26XX_FLASH_CONTROLLER_ENABLED
|
|
select FLASH_HAS_PAGE_LAYOUT
|
|
select FLASH_HAS_DRIVER_ENABLED
|
|
select MPU_ALLOW_FLASH_WRITE if ARM_MPU
|
|
help
|
|
Enables TI SimpleLink CC13xx/CC26xx flash controller driver.
|