Repository navigation
Expand file tree
/
Copy pathKconfig
More file actions
535 lines (484 loc) · 12.5 KB
/
Copy pathKconfig
File metadata and controls
535 lines (484 loc) · 12.5 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
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# 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 XT_HAVE_RESET_VECTOR_ROM
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_4
select XT_INTERRUPT_LEVEL_5
select INTEL
select SCHEDULE_DMA_MULTI_CHANNEL
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 XT_HAVE_RESET_VECTOR_ROM
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_4
select XT_INTERRUPT_LEVEL_5
select INTEL
select SCHEDULE_DMA_MULTI_CHANNEL
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 XT_HAVE_RESET_VECTOR_ROM
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_3
select INTEL
select SCHEDULE_DMA_MULTI_CHANNEL
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 XT_HAVE_RESET_VECTOR_ROM
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_3
select INTEL
select SCHEDULE_DMA_MULTI_CHANNEL
help
Select if your target platform is Broadwell-compatible
config APOLLOLAKE
bool "Build for Apollolake"
select XT_BOOT_LOADER
select XT_IRQ_MAP
select DMA_GW
select DW
select DW_DMA
select MEM_WND
select DMA_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 XT_BOOT_LOADER
select XT_IRQ_MAP
select DMA_GW
select DW
select DW_DMA
select MEM_WND
select DMA_HW_LLI
select DW_DMA_AGGREGATED_IRQ
select DMA_FIFO_PARTITION
select CAVS
select CAVS_VERSION_1_8
select XT_WAITI_DELAY
select CAVS_USE_LPRO_IN_WAITI
help
Select if your target platform is Cannonlake-compatible
config SUECREEK
bool "Build for Suecreek"
select XT_BOOT_LOADER
select XT_IRQ_MAP
select DW
select DW_DMA
select DW_SPI
select INTEL_IOMUX
select DW_GPIO
select DMA_HW_LLI
select DW_DMA_AGGREGATED_IRQ
select DMA_FIFO_PARTITION
select CAVS
select CAVS_VERSION_2_0
select XT_WAITI_DELAY
select CAVS_USE_LPRO_IN_WAITI
help
Select if your target platform is Suecreek-compatible
config ICELAKE
bool "Build for Icelake"
select XT_BOOT_LOADER
select XT_IRQ_MAP
select DMA_GW
select DW
select DW_DMA
select MEM_WND
select DMA_HW_LLI
select DW_DMA_AGGREGATED_IRQ
select DMA_FIFO_PARTITION
select CAVS
select CAVS_VERSION_2_0
select XT_WAITI_DELAY
select CAVS_USE_LPRO_IN_WAITI
help
Select if your target platform is Icelake-compatible
config TIGERLAKE
bool "Build for Tigerlake"
select XT_BOOT_LOADER
select XT_IRQ_MAP
select DMA_GW
select DW
select DW_DMA
select MEM_WND
select DMA_HW_LLI
select DW_DMA_AGGREGATED_IRQ
select DMA_FIFO_PARTITION
select CAVS
select CAVS_VERSION_2_5
select XT_WAITI_DELAY
select NO_SECONDARY_CORE_ROM
select CAVS_USE_LPRO_IN_WAITI
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 XT_HAVE_RESET_VECTOR_ROM
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_3
select HOST_PTABLE
select DUMMY_DMA
select XT_WAITI_DELAY
select IMX
select IMX_EDMA
select IMX_ESAI
select SCHEDULE_DMA_MULTI_CHANNEL
select IMX_INTERRUPT_IRQSTEER
help
Select if your target platform is imx8-compatible
config IMX8X
bool "Build for NXP i.MX8X"
select XT_HAVE_RESET_VECTOR_ROM
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_3
select HOST_PTABLE
select DUMMY_DMA
select XT_WAITI_DELAY
select IMX
select IMX_EDMA
select IMX_ESAI
select SCHEDULE_DMA_MULTI_CHANNEL
select IMX_INTERRUPT_IRQSTEER
help
Select if your target platform is imx8x-compatible
config IMX8M
bool "Build for NXP i.MX8M"
select XT_HAVE_RESET_VECTOR_ROM
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_3
select HOST_PTABLE
select DUMMY_DMA
select XT_WAITI_DELAY
select IMX
select IMX_SDMA
select SCHEDULE_DMA_MULTI_CHANNEL
select IMX_INTERRUPT_IRQSTEER
help
Select if your target platform is imx8m-compatible
config IMX8ULP
bool "Build for NXP i.MX8ULP"
select XT_HAVE_RESET_VECTOR_ROM
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_3
select HOST_PTABLE
select DUMMY_DMA
select XT_WAITI_DELAY
select IMX
select IMX_EDMA
select IMX_INTERRUPT_GENERIC
select SCHEDULE_DMA_MULTI_CHANNEL
help
Select if your target platform is imx8ulp-compatible.
imx.8ulp support dsp.
config RENOIR
bool "Build for Renoir"
select XT_INTERRUPT_LEVEL_5
select XT_INTERRUPT_LEVEL_3
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_4
select XT_WAITI_DELAY
select SCHEDULE_DMA_MULTI_CHANNEL
help
Select if your target platform is renoir-compatible
config MT8186
bool "Build for MTK MT8186"
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_3
select XT_INTERRUPT_LEVEL_4
select DUMMY_DMA
select HOST_PTABLE
select XT_WAITI_DELAY
select MEDIATEK
select XTENSA_EXCLUSIVE
select SCHEDULE_DMA_MULTI_CHANNEL
help
Select if your target platform is mt8186-compatible
config MT8195
bool "Build for MTK MT8195"
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_3
select DUMMY_DMA
select HOST_PTABLE
select MEDIATEK
select XTENSA_EXCLUSIVE
select SCHEDULE_DMA_MULTI_CHANNEL
help
Select if your target platform is mt8195-compatible
endchoice
config MAX_CORE_COUNT
int
default 2 if APOLLOLAKE
default 4 if ICELAKE || CANNONLAKE || SUECREEK || TIGERLAKE
default 1
help
Maximum number of cores per configuration
config CORE_COUNT
int "Number of cores"
default MP_NUM_CPUS if KERNEL_BIN_NAME = "zephyr"
default MAX_CORE_COUNT
range 1 MAX_CORE_COUNT
help
Number of used cores
Lowering available core count could result in lower power consumption
config MULTICORE
bool
default CORE_COUNT > 1
help
Indicates that architecture uses multiple cores
config INTEL
bool
default n
help
This has to be selected for every Intel platform.
It enables Intel platforms-specific features.
config HOST
bool
default n
help
This has to be selected for building linux test targets.
config IMX
bool
default n
select COMPILER_WORKAROUND_CACHE_ATTR
help
This has to be selected for every i.MX NXP platform.
It enables NXP platforms-specific features.
config MEDIATEK
bool
default n
help
This has to be selected for every Mediatek platform.
It enables Mediatek platforms-specific features.
config CAVS
bool
default n
select INTEL
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_5
select INTEL_HDA
select INTEL_MN
select WAKEUP_HOOK
select SCHEDULE_DMA_SINGLE_CHANNEL
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 HP_MEMORY_BANKS
int "HP memory banks count"
depends on CAVS
default 8
help
Available memory banks count for High Performance memory
Lowering available banks could result in lower power consumption
Too low count should result in unresponsive/crashing image due to not
enough space for FW base image
Banks are 64kb in size.
config LP_MEMORY_BANKS
int "LP memory banks count"
depends on CAVS
default 0
help
Available memory banks count for Low Power memory.
It can be used to turn ON/OFF LPSRAM bank/s.
Firmware will turn on only as many banks as are defined here.
config LP_SRAM
bool
default LP_MEMORY_BANKS > 0
help
Indicates that platform uses LPSRAM.
config L1_DRAM
bool "L1 DRAM memory support"
default n
help
Indicates that platform does support L1 DATA RAM.
config L1_DRAM_MEMORY_BANKS
int "L1 DRAM memory banks count"
depends on L1_DRAM
default 0
help
Available memory banks count for L1 DATA RAM.
It can be used to turn ON/OFF L1 DRAM bank/s.
Firmware will turn on only as many banks as specified.
config L1_DRAM_MEMORY_BANK_SIZE
int "L1 DRAM memory bank size"
depends on L1_DRAM
default 0
help
Specifies DRAM block size.
It can be used to calculate DRAM size.
config CAVS_LPS
bool "Intel cAVS Low Power Sequencer for Power Management"
depends on CAVS
default n
help
Select this to enable Intel cAVS Low Power Sequencer.
This option is required to support S0ix/D0ix mode
on cAVS platforms.
config CAVS_LPRO_ONLY
bool "Use low power ring oscillator always"
default n
depends on CAVS && !CAVS_VERSION_1_5
help
Select if you want to use only the 120MHz LPRO as the DSP clock source.
This option is for debugging only at the moment, choose n if unclear.
config CAVS_USE_LPRO_IN_WAITI
bool "Use low power ring oscillator in WFI"
default n
depends on CAVS && !CAVS_LPRO_ONLY
help
Select if we want to use LPRO clock in waiti.
After waiti exit clock source will be restored.
Choose n if unclear.
config CAVS_IMR_D3_PERSISTENT
bool "Intel IMR content persistent on DSP in D3"
depends on CAVS && !CAVS_VERSION_1_5
default y
help
Select this if the Intel cAVS platform can keep the
IMR (Isolated Memory Region) content persistent when
the DSP is in power off (D3) mode, which means we
don't need to re-downloading firmware binary to DSP
SRAM so fast D3->D0 transition can be supported.
Choose n if unclear.
# TODO: it should just take manifest version and offsets
config RIMAGE_SIGNING_SCHEMA
string "Rimage firmware signing schema 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 "imx8ulp" if IMX8ULP
default "rn" if RENOIR
default "mt8186" if MT8186
default "mt8195" if MT8195
default ""
help
Signing schema name 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
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.
config AGENT_PANIC_ON_DELAY
bool "Enable system agent time verification panic"
default n
depends on HAVE_AGENT
help
Enables system agent time verification panic.
If scheduler timing verification fails, SA will
call a DSP panic.
config XTENSA_EXCLUSIVE
bool
default n
help
This has to be selected for xtensa exclusive instructions.
There is a definition for EXCLUSIVE option in xtensa-config.h
config FORCE_DMA_COPY_WHOLE_BLOCK
bool
default y if MT8195
default n
depends on HOST_PTABLE
help
The host component forces DMA to copy the block size to avoid
copying byte jitter between the components of the same pipeline.
config SOF_STACK_SIZE
int "Primary core SOF stack size"
default 4096
help
Size of the primary core stack. This is the stack used by all
IPC calls. Increasing it allows deeper call stack on those IPC
and might be useful when creating more complex audio processing
components.
endmenu