@@ -36,132 +36,6 @@ config FLASH_PAGE_LAYOUT
36
36
help
37
37
Enables API for retrieving the layout of flash memory pages.
38
38
39
- config SPI_FLASH_W25QXXDV
40
- bool
41
- prompt "SPI NOR Flash Winbond W25QXXDV"
42
- select FLASH_HAS_DRIVER_ENABLED
43
- depends on SPI && FLASH
44
-
45
- config SPI_FLASH_W25QXXDV_SPI_NAME
46
- string
47
- prompt "SPI controller device name"
48
- depends on SPI_FLASH_W25QXXDV
49
- default ""
50
-
51
- config SPI_FLASH_W25QXXDV_DRV_NAME
52
- string
53
- prompt "SPI flash device name"
54
- depends on SPI_FLASH_W25QXXDV
55
- default "W25QXXDV"
56
-
57
- config SPI_FLASH_W25QXXDV_INIT_PRIORITY
58
- int
59
- depends on SPI_FLASH_W25QXXDV
60
- default 80
61
- help
62
- Device driver initialization priority.
63
- Device is connected to SPI bus, it has to
64
- be initialized after SPI driver.
65
-
66
- config SPI_FLASH_W25QXXDV_SPI_FREQ_0
67
- int "SPI system frequency"
68
- depends on SPI_FLASH_W25QXXDV
69
- default 8000000
70
- help
71
- This option sets the SPI controller's frequency. Beware this value
72
- depends on the SPI controller being used and also on the system
73
- clock.
74
-
75
- config SPI_FLASH_W25QXXDV_SPI_SLAVE
76
- int "SPI slave linked to SPI flash"
77
- depends on SPI_FLASH_W25QXXDV
78
- help
79
- This option sets the SPI slave number the SPI controller has to switch
80
- to when dealing with WinBond SPI flash chip.
81
-
82
- config SPI_FLASH_W25QXXDV_GPIO_SPI_CS
83
- bool "Manage SPI CS through a GPIO pin"
84
- default n
85
- depends on SPI_FLASH_W25QXXDV
86
- help
87
- This option is useful if one needs to manage SPI CS through a GPIO
88
- pin to by-pass the SPI controller's CS logic.
89
-
90
- config SPI_FLASH_W25QXXDV_GPIO_SPI_CS_DRV_NAME
91
- string "GPIO driver's name to use to drive SPI CS through"
92
- default ""
93
- depends on SPI_FLASH_W25QXXDV_GPIO_SPI_CS
94
- help
95
- This option is mandatory to set which GPIO controller to use in order
96
- to actually emulate the SPI CS.
97
-
98
- config SPI_FLASH_W25QXXDV_GPIO_SPI_CS_PIN
99
- int "GPIO PIN to use to drive SPI CS through"
100
- default 0
101
- depends on SPI_FLASH_W25QXXDV_GPIO_SPI_CS
102
- help
103
- This option is mandatory to set which GPIO pin to use in order
104
- to actually emulate the SPI CS.
105
-
106
- config SPI_FLASH_W25QXXDV_FLASH_SIZE
107
- int "Flash size in bytes"
108
- depends on SPI_FLASH_W25QXXDV
109
- default 2097152
110
- help
111
- This is the flash capacity in bytes.
112
-
113
- config SPI_FLASH_W25QXXDV_MAX_DATA_LEN
114
- int
115
- range 1 256
116
- depends on SPI_FLASH_W25QXXDV
117
- default 256
118
- help
119
- Maximum transmit or receive data length in one user data frame.
120
-
121
- config SOC_FLASH_QMSI
122
- bool
123
- prompt "QMSI flash driver"
124
- depends on QMSI && FLASH
125
- select FLASH_HAS_DRIVER_ENABLED
126
- default n
127
- help
128
- Enable QMSI Quark flash driver.
129
-
130
- config SOC_FLASH_QMSI_DEV_NAME
131
- string "QMSI flash device name"
132
- depends on SOC_FLASH_QMSI
133
- default "QUARK_FLASH"
134
- help
135
- Specify the device name for the flash driver.
136
-
137
- config SOC_FLASH_QMSI_CLK_COUNT_US
138
- int "System clk count per microsecond"
139
- depends on SOC_FLASH_QMSI
140
- default 32
141
- help
142
- Specify the system clk cycles per microsecond.
143
-
144
- config SOC_FLASH_QMSI_WAIT_STATES
145
- int "The number of flash wait states"
146
- depends on SOC_FLASH_QMSI
147
- default 1
148
- help
149
- Specify the number of wait states for Quark flash.
150
-
151
- config SOC_FLASH_QMSI_SYS_SIZE
152
- hex "SOC system flash size"
153
- depends on SOC_FLASH_QMSI
154
- help
155
- Specify system flash size on the Quark SOC.
156
-
157
- config SOC_FLASH_QMSI_API_REENTRANCY
158
- bool
159
- prompt "flash driver API reentrancy for QMSI shim driver"
160
- depends on SOC_FLASH_QMSI
161
- default n
162
- help
163
- Enable support for QMSI flash driver API reentrancy.
164
-
165
39
config SOC_FLASH_NRF
166
40
bool "Nordic Semiconductor nRF flash driver"
167
41
depends on FLASH && SOC_FAMILY_NRF
@@ -206,6 +80,10 @@ config SOC_FLASH_NIOS2_QSPI_DEV_NAME
206
80
help
207
81
Specify the device name for the QSPI flash driver.
208
82
83
+ source "drivers/flash/Kconfig.qmsi"
84
+
209
85
source "drivers/flash/Kconfig.stm32"
210
86
211
87
source "drivers/flash/Kconfig.sam0"
88
+
89
+ source "drivers/flash/Kconfig.w25qxxdv"
0 commit comments