zephyr/drivers/flash/Kconfig.nios2_qspi
Dominik Ermel ea627fda7e drivers/flash: Add explict erase capability with proper values
Add explicit_erase capability and set proper value to it,
depending on type of a device.
Select FLASH_HAS_EXPLICIT_ERASE by devices that have program-erase
characteristics and FLASH_HAS_NO_EXPLICIT_ERASE, where needed.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2024-06-04 08:00:46 +02:00

11 lines
300 B
Text

# SPDX-License-Identifier: Apache-2.0
config SOC_FLASH_NIOS2_QSPI
bool "Nios-II QSPI flash driver"
default y
depends on HAS_ALTERA_HAL
depends on DT_HAS_ALTR_NIOS2_QSPI_NOR_ENABLED
select FLASH_HAS_DRIVER_ENABLED
select FLASH_HAS_EXPLICIT_ERASE
help
Enables the Nios-II QSPI flash driver.