File tree Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2024 Ambiq Micro Inc. <www.ambiq.com>
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
+ menu "MSPI flash device driver"
5
+
4
6
config FLASH_MSPI
5
- bool "MSPI flash drivers"
6
- default y
7
- depends on FLASH
7
+ bool
8
8
select FLASH_HAS_DRIVER_ENABLED
9
9
select MSPI
10
-
11
- if FLASH_MSPI
12
-
13
- menu "MSPI flash driver"
10
+ help
11
+ MSPI flash drivers are enabled.
14
12
15
13
config FLASH_MSPI_EMUL_DEVICE
16
14
bool "MSPI flash device emulator"
17
15
default y
18
16
depends on DT_HAS_ZEPHYR_MSPI_EMUL_FLASH_ENABLED
17
+ select FLASH_MSPI
19
18
select FLASH_HAS_PAGE_LAYOUT
20
19
select FLASH_HAS_EXPLICIT_ERASE
21
20
22
21
config FLASH_MSPI_ATXP032
23
22
bool "MSPI ATXP032 driver"
24
23
default y
25
24
depends on DT_HAS_MSPI_ATXP032_ENABLED
25
+ select FLASH_MSPI
26
26
select FLASH_HAS_PAGE_LAYOUT
27
27
select FLASH_HAS_EXPLICIT_ERASE
28
28
select FLASH_JESD216
29
29
select MSPI_AMBIQ_AP3 if SOC_SERIES_APOLLO3X
30
30
31
31
endmenu
32
-
33
- endif # FLASH_MSPI
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2024, Ambiq Micro Inc. <www.ambiq.com>
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
+ menu "MSPI MEMC device driver"
5
+
4
6
config MEMC_MSPI
5
- bool "MSPI memory controller drivers"
6
- default y
7
- depends on MEMC
7
+ bool
8
8
select MSPI
9
-
10
- if MEMC_MSPI
11
-
12
- menu "MSPI memory controller driver"
9
+ help
10
+ MSPI MEMC drivers are enabled.
13
11
14
12
config MEMC_MSPI_APS6404L
15
13
bool "MSPI AP Memory APS6404L pSRAM driver"
16
14
default y
17
15
depends on DT_HAS_MSPI_APS6404L_ENABLED
16
+ select MEMC_MSPI
18
17
select MSPI_AMBIQ_AP3 if SOC_SERIES_APOLLO3X
19
18
20
19
endmenu
21
-
22
- endif # MEMC_MSPI
You can’t perform that action at this time.
0 commit comments