zephyr/drivers/flash/Kconfig.it8xxx2
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

18 lines
569 B
Text

# FLASH configuration options
# Copyright (c) 2021 ITE Corporation. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
config SOC_FLASH_ITE_IT8XXX2
bool "ITE IT8XXX2 flash driver"
default y
depends on DT_HAS_ITE_IT8XXX2_FLASH_CONTROLLER_ENABLED
select SOC_IT8XXX2_USE_ILM
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED
select FLASH_HAS_EXPLICIT_ERASE
select HAS_FLASH_LOAD_OFFSET
help
The flash driver includes support for read, write and
erase flash operations. It also supports protection.
The it8xxx2 flash size is 1M byte.