1# FLASH configuration options
2
3# Copyright (c) 2021 ITE Corporation. All Rights Reserved.
4# SPDX-License-Identifier: Apache-2.0
5
6config SOC_FLASH_ITE_IT8XXX2
7	bool "ITE IT8XXX2 flash driver"
8	default y
9	depends on DT_HAS_ITE_IT8XXX2_FLASH_CONTROLLER_ENABLED
10	select SOC_IT8XXX2_USE_ILM
11	select FLASH_HAS_PAGE_LAYOUT
12	select FLASH_HAS_DRIVER_ENABLED
13	select FLASH_HAS_EXPLICIT_ERASE
14	select HAS_FLASH_LOAD_OFFSET
15	help
16	  The flash driver includes support for read, write and
17	  erase flash operations. It also supports protection.
18	  The it8xxx2 flash size is 1M byte.
19