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>
16 lines
535 B
Plaintext
16 lines
535 B
Plaintext
# Copyright (c) 2019 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SOC_FLASH_RV32M1
|
|
bool "RV32M1 flash shim driver"
|
|
default y
|
|
depends on DT_HAS_OPENISA_RV32M1_FTFE_ENABLED
|
|
select FLASH_HAS_PAGE_LAYOUT
|
|
select FLASH_HAS_DRIVER_ENABLED
|
|
help
|
|
Enables the RV32M1 flash shim driver.
|
|
WARNING: This driver will disable the system interrupts for
|
|
the duration of the flash erase/write operations. This will
|
|
have an impact on the overall system performance - whether
|
|
this is acceptable or not will depend on the use case.
|