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	depends on SOC_FAMILY_RISCV_ITE
9	select SOC_FLASH_RAMCODE_SECTION
10	help
11	  The flash driver includes support for read, write and
12	  erase flash operations. It also supports protection.
13	  The it8xxx2 flash size is 1M byte.
14
15config SOC_FLASH_RAMCODE_SECTION
16	bool
17	help
18	  Enable this config to map the __ram_code section
19	  operations of flash(flash_it8xxx2_erase,
20	  flash_it8xxx2_write, flash_it8xxx2_read) to RAM.
21