1# NPCX Flash driver configuration options
2
3# Copyright (c) 2023 Nuvoton Technology Corporation.
4# SPDX-License-Identifier: Apache-2.0
5
6config FLASH_NPCX_FIU_QSPI
7	bool "Nuvoton NPCX QSPI Bus Flash driver"
8	default y
9	depends on DT_HAS_NUVOTON_NPCX_FIU_QSPI_ENABLED
10	help
11	  This option enables the QSPI Bus Flash driver for NPCX family of
12	  processors.
13
14config FLASH_NPCX_FIU_NOR
15	bool "Nuvoton NPCX embedded controller (EC) QSPI NOR Flash driver"
16	default y
17	depends on DT_HAS_NUVOTON_NPCX_FIU_NOR_ENABLED
18	depends on FLASH_NPCX_FIU_QSPI
19	select FLASH_HAS_DRIVER_ENABLED
20	select FLASH_HAS_PAGE_LAYOUT
21	select FLASH_JESD216
22	select FLASH_HAS_EX_OP
23	help
24	  This option enables the QSPI NOR Flash driver for NPCX family of
25	  processors.
26
27config FLASH_NPCX_FIU_NOR_INIT
28	bool "QSPI NOR flash feature during driver initialization"
29	default y
30	depends on FLASH_NPCX_FIU_NOR
31	help
32	  This option enables the QSPI NOR Flash features such as Quad-Enable,
33	  4-byte address support and so on during driver initialization. Disable
34	  it if QSPI NOR devices are not ready during driver initialization.
35