Repository navigation
Expand file tree
/
Copy pathKconfig
More file actions
319 lines (289 loc) · 6.88 KB
/
Copy pathKconfig
File metadata and controls
319 lines (289 loc) · 6.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
# SPDX-License-Identifier: BSD-3-Clause
menu "Platform"
choice
prompt "Platform"
default APOLLOLAKE
config BAYTRAIL
bool "Build for Baytrail"
select HOST_PTABLE
select DW_DMA_AGGREGATED_IRQ
select DMA_SUSPEND_DRAIN
select DMA_FIFO_PARTITION
select DW
select DW_DMA
select HAVE_RESET_VECTOR_ROM
select INTERRUPT_LEVEL_1
select INTERRUPT_LEVEL_4
select INTERRUPT_LEVEL_5
select INTEL
help
Select if your target platform is Baytrail-compatible
config CHERRYTRAIL
bool "Build for Cherrytrail"
select HOST_PTABLE
select DW_DMA_AGGREGATED_IRQ
select DMA_SUSPEND_DRAIN
select DMA_FIFO_PARTITION
select DW
select DW_DMA
select HAVE_RESET_VECTOR_ROM
select INTERRUPT_LEVEL_1
select INTERRUPT_LEVEL_4
select INTERRUPT_LEVEL_5
select INTEL
help
Select if your target platform is Cherrytrail-compatible
config HASWELL
bool "Build for Haswell"
select HOST_PTABLE
select DW_DMA_AGGREGATED_IRQ
select DW
select DW_DMA
select HAVE_RESET_VECTOR_ROM
select INTERRUPT_LEVEL_1
select INTERRUPT_LEVEL_2
select INTERRUPT_LEVEL_3
select INTEL
help
Select if your target platform is Haswell-compatible
config BROADWELL
bool "Build for Broadwell"
select HOST_PTABLE
select DW_DMA_AGGREGATED_IRQ
select DW
select DW_DMA
select HAVE_RESET_VECTOR_ROM
select INTERRUPT_LEVEL_1
select INTERRUPT_LEVEL_2
select INTERRUPT_LEVEL_3
select INTEL
help
Select if your target platform is Broadwell-compatible
config APOLLOLAKE
bool "Build for Apollolake"
select BOOT_LOADER
select IRQ_MAP
select DMA_GW
select DW
select DW_DMA
select MEM_WND
select HW_LLI
select DMA_FIFO_PARTITION
select CAVS
select CAVS_VERSION_1_5
help
Select if your target platform is Apollolake-compatible
config CANNONLAKE
bool "Build for Cannonlake"
select BOOT_LOADER
select IRQ_MAP
select DMA_GW
select DW
select DW_DMA
select MEM_WND
select HW_LLI
select DW_DMA_AGGREGATED_IRQ
select DMA_FIFO_PARTITION
select CAVS
select CAVS_VERSION_1_8
select WAITI_DELAY
select CAVS_USE_LPRO_IN_WAITI
help
Select if your target platform is Cannonlake-compatible
config SUECREEK
bool "Build for Suecreek"
select BOOT_LOADER
select IRQ_MAP
select DW
select DW_DMA
select DW_SPI
select INTEL_IOMUX
select DW_GPIO
select HW_LLI
select DW_DMA_AGGREGATED_IRQ
select DMA_FIFO_PARTITION
select CAVS
select CAVS_VERSION_2_0
select WAITI_DELAY
select CAVS_USE_LPRO_IN_WAITI
help
Select if your target platform is Suecreek-compatible
config ICELAKE
bool "Build for Icelake"
select BOOT_LOADER
select IRQ_MAP
select DMA_GW
select DW
select DW_DMA
select MEM_WND
select HW_LLI
select DW_DMA_AGGREGATED_IRQ
select DMA_FIFO_PARTITION
select CAVS
select CAVS_VERSION_2_0
select WAITI_DELAY
select CAVS_USE_LPRO_IN_WAITI
help
Select if your target platform is Icelake-compatible
config TIGERLAKE
bool "Build for Tigerlake"
select BOOT_LOADER
select IRQ_MAP
select DMA_GW
select DW
select DW_DMA
select MEM_WND
select HW_LLI
select DW_DMA_AGGREGATED_IRQ
select DMA_FIFO_PARTITION
select CAVS
select CAVS_VERSION_2_5
select WAITI_DELAY
select NO_SLAVE_CORE_ROM
help
Select if your target platform is Tigerlake-compatible
config LIBRARY
bool "Build Library"
help
Select if you want to build a library.
It is generic/mock configuration not tied to some specific platform.
Library builds are not intended to be run on DSP, but to be used by
user-space applications.
config IMX8
bool "Build for NXP i.MX8"
select HAVE_RESET_VECTOR_ROM
select INTERRUPT_LEVEL_1
select INTERRUPT_LEVEL_2
select INTERRUPT_LEVEL_3
select HOST_PTABLE
select DUMMY_DMA
select WAITI_DELAY
select IMX
select IMX_EDMA
help
Select if your target platform is imx8-compatible
config IMX8X
bool "Build for NXP i.MX8X"
select HAVE_RESET_VECTOR_ROM
select INTERRUPT_LEVEL_1
select INTERRUPT_LEVEL_2
select INTERRUPT_LEVEL_3
select HOST_PTABLE
select DUMMY_DMA
select WAITI_DELAY
select IMX
select IMX_EDMA
help
Select if your target platform is imx8x-compatible
config IMX8M
bool "Build for NXP i.MX8M"
select HAVE_RESET_VECTOR_ROM
select INTERRUPT_LEVEL_1
select INTERRUPT_LEVEL_2
select INTERRUPT_LEVEL_3
select HOST_PTABLE
select DUMMY_DMA
select WAITI_DELAY
select IMX
help
Select if your target platform is imx8m-compatible
endchoice
config INTEL
bool
default n
help
This has to be selected for every Intel platform.
It enables Intel platforms-specific features.
config IMX
bool
default n
help
This has to be selected for every i.MX NXP platform.
It enables NXP platforms-specific features.
config CAVS
bool
default n
select INTEL
select INTERRUPT_LEVEL_2
select INTERRUPT_LEVEL_5
config CAVS_VERSION_1_5
depends on CAVS
bool
help
Select for CAVS version 1.5
config CAVS_VERSION_1_8
depends on CAVS && !CAVS_VERSION_1_5
bool
help
Select for CAVS version 1.8
config CAVS_VERSION_2_0
depends on CAVS && !CAVS_VERSION_1_5 && !CAVS_VERSION_1_8
bool
help
Select for CAVS version 2.0
config CAVS_VERSION_2_5
depends on CAVS && !CAVS_VERSION_1_5 && !CAVS_VERSION_1_8 \
&& !CAVS_VERSION_2_0
bool
help
Select for CAVS version 2.5
config CONFIG_CHERRYTRAIL_EXTRA_DW_DMA
bool "Support Cherrytrail 3rd DMAC"
default n if !CHERRYTRAIL
depends on CHERRYTRAIL
help
Select if you need support for all 3 DMACs versus the default 2 used
in baytrail.
config CAVS_LPRO
bool "Enable low power ring oscillator as the default clock"
default n
depends on CAVS && !CAVS_VERSION_1_5
help
Select if you want to use 120MHz LPRO as the DSP clock source.
This option is required to support S0ix/D0ix mode.
config CAVS_USE_LPRO_IN_WAITI
bool
default n
depends on CAVS
select WAKEUP_HOOK
help
Select if platform requires DSP clock source to be switched to LPRO
while in waiti.
After waiti clock source is restored.
# TODO: it should just take manifest version and offsets
config FIRMWARE_SHORT_NAME
string "Rimage firmware name"
default "byt" if BAYTRAIL
default "cht" if CHERRYTRAIL
default "hsw" if HASWELL
default "bdw" if BROADWELL
default "apl" if APOLLOLAKE
default "cnl" if CANNONLAKE
default "sue" if SUECREEK
default "icl" if ICELAKE
default "tgl" if TIGERLAKE
default "imx8" if IMX8
default "imx8x" if IMX8X
default "imx8m" if IMX8M
default ""
help
3-characters long firmware identifer
used by rimage to decide how to build final binary
config SYSTICK_PERIOD
int "System tick period in microseconds"
default 1000
help
Defines platform system tick period. It is used to
drive timer based low latency scheduler and also
as a timeout check value for system agent.
Value should be provided in microseconds.
config HAVE_AGENT
bool "Enable system agent"
default y
help
Enables system agent. It can be disabled on systems
which are still unstable and cannot assure that
system agent will always execute on time or systems
with DMA based scheduling, where asynchronous interrupts
can potentially starve the agent.
endmenu