1# Copyright (c) 2024 Ambiq Micro Inc. <www.ambiq.com>
2# SPDX-License-Identifier: Apache-2.0
3
4menu "MSPI flash device driver"
5
6config FLASH_MSPI
7	bool
8	select FLASH_HAS_DRIVER_ENABLED
9	select MSPI
10	help
11	  MSPI flash drivers are enabled.
12
13config FLASH_MSPI_EMUL_DEVICE
14	bool "MSPI flash device emulator"
15	default y
16	depends on DT_HAS_ZEPHYR_MSPI_EMUL_FLASH_ENABLED
17	select FLASH_MSPI
18	select FLASH_HAS_PAGE_LAYOUT
19	select FLASH_HAS_EXPLICIT_ERASE
20
21config FLASH_MSPI_ATXP032
22	bool "MSPI ATXP032 driver"
23	default y
24	depends on DT_HAS_MSPI_ATXP032_ENABLED
25	select FLASH_MSPI
26	select FLASH_HAS_PAGE_LAYOUT
27	select FLASH_HAS_EXPLICIT_ERASE
28	select FLASH_JESD216
29	select MSPI_AMBIQ_AP3 if SOC_SERIES_APOLLO3X
30
31endmenu
32