tracing: extend sched_pi_setprio
[deliverable/linux.git] / arch / cris / Kconfig
CommitLineData
1da177e4
LT
1config MMU
2 bool
3 default y
4
66701b14
CL
5config ZONE_DMA
6 bool
7 default y
8
1da177e4
LT
9config RWSEM_GENERIC_SPINLOCK
10 bool
11 default y
12
13config RWSEM_XCHGADD_ALGORITHM
14 bool
15
f0d1b0b3
DH
16config ARCH_HAS_ILOG2_U32
17 bool
18 default n
19
20config ARCH_HAS_ILOG2_U64
21 bool
22 default n
23
e9f26df1
AM
24config GENERIC_HWEIGHT
25 bool
26 default y
27
1da177e4
LT
28config GENERIC_CALIBRATE_DELAY
29 bool
30 default y
31
ce816fa8 32config NO_IOPORT_MAP
5ea81769
AV
33 def_bool y
34
923dd2a4
JN
35config FORCE_MAX_ZONEORDER
36 int
37 default 6
38
444e0c28
RV
39config TRACE_IRQFLAGS_SUPPORT
40 depends on ETRAX_ARCH_V32
41 def_bool y
42
aa6f4d2b
RV
43config STACKTRACE_SUPPORT
44 def_bool y
45
94c5c115
RV
46config LOCKDEP_SUPPORT
47 depends on ETRAX_ARCH_V32
48 def_bool y
49
1da177e4
LT
50config CRIS
51 bool
52 default y
ec7748b5 53 select HAVE_IDE
4c9c6a1b 54 select GENERIC_ATOMIC64
af1839eb 55 select HAVE_UID16
4febd95a 56 select VIRT_TO_BUS
c1d7e01d 57 select ARCH_WANT_IPC_PARSE_VERSION
15825a5c 58 select GENERIC_IRQ_SHOW
4673ca8e 59 select GENERIC_IOMAP
786d35d4 60 select MODULES_USE_ELF_RELA
27d892fb 61 select CLONE_BACKWARDS2
5f56a5df 62 select HAVE_EXIT_THREAD if ETRAX_ARCH_V32
86df89a0 63 select OLD_SIGSUSPEND
eb2f2566 64 select OLD_SIGACTION
f518abf0 65 select GPIOLIB
43f7071e 66 select IRQ_DOMAIN if ETRAX_ARCH_V32
a9f75ac5
RV
67 select OF if ETRAX_ARCH_V32
68 select OF_EARLY_FLATTREE if ETRAX_ARCH_V32
edfb6d5f 69 select CLKSRC_MMIO if ETRAX_ARCH_V32
ed9fd3ff 70 select GENERIC_CLOCKEVENTS if ETRAX_ARCH_V32
d3dad475 71 select GENERIC_SCHED_CLOCK if ETRAX_ARCH_V32
f59625a8 72 select HAVE_DEBUG_BUGVERBOSE if ETRAX_ARCH_V32
42a0bb3f 73 select HAVE_NMI
1da177e4 74
bdc80787
PA
75config HZ
76 int
77 default 100
78
dd82094c
JN
79config NR_CPUS
80 int
81 default "1"
82
a9f75ac5
RV
83config BUILTIN_DTB
84 string "DTB to build into the kernel image"
85 depends on OF
86
1da177e4
LT
87source "init/Kconfig"
88
dc52ddc0
MH
89source "kernel/Kconfig.freezer"
90
1da177e4
LT
91menu "General setup"
92
93source "fs/Kconfig.binfmt"
94
95config ETRAX_CMDLINE
96 string "Kernel command line"
97 default "root=/dev/mtdblock3"
98 help
99 Pass additional commands to the kernel.
100
101config ETRAX_WATCHDOG
102 bool "Enable ETRAX watchdog"
103 help
104 Enable the built-in watchdog timer support on ETRAX based embedded
105 network computers.
106
107config ETRAX_WATCHDOG_NICE_DOGGY
108 bool "Disable watchdog during Oops printouts"
109 depends on ETRAX_WATCHDOG
110 help
111 By enabling this you make sure that the watchdog does not bite while
112 printing oopses. Recommended for development systems but not for
113 production releases.
114
115config ETRAX_FAST_TIMER
116 bool "Enable ETRAX fast timer API"
117 help
118 This options enables the API to a fast timer implementation using
119 timer1 to get sub jiffie resolution timers (primarily one-shot
120 timers).
121 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
122
923dd2a4
JN
123config ETRAX_KMALLOCED_MODULES
124 bool "Enable module allocation with kmalloc"
1da177e4 125 help
923dd2a4
JN
126 Enable module allocation with kmalloc instead of vmalloc.
127
923dd2a4 128source "kernel/Kconfig.preempt"
1da177e4 129
3f22ab27
DH
130source mm/Kconfig
131
1da177e4
LT
132endmenu
133
134menu "Hardware setup"
135
136choice
137 prompt "Processor type"
138 default ETRAX100LX
139
140config ETRAX100LX
141 bool "ETRAX-100LX-v1"
60dbd663 142 select ARCH_USES_GETTIMEOFFSET
1da177e4
LT
143 help
144 Support version 1 of the ETRAX 100LX.
145
146config ETRAX100LX_V2
147 bool "ETRAX-100LX-v2"
60dbd663 148 select ARCH_USES_GETTIMEOFFSET
1da177e4
LT
149 help
150 Support version 2 of the ETRAX 100LX.
151
923dd2a4
JN
152config ETRAXFS
153 bool "ETRAX-FS-V32"
154 help
155 Support CRIS V32.
156
157config CRIS_MACH_ARTPEC3
158 bool "ARTPEC-3"
159 help
160 Support Axis ARTPEC-3.
161
1da177e4
LT
162endchoice
163
164config ETRAX_ARCH_V10
165 bool
166 default y if ETRAX100LX || ETRAX100LX_V2
167 default n if !(ETRAX100LX || ETRAX100LX_V2)
ae797bdf 168 select TTY
1da177e4 169
923dd2a4
JN
170config ETRAX_ARCH_V32
171 bool
172 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
173 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
174
1da177e4
LT
175config ETRAX_DRAM_SIZE
176 int "DRAM size (dec, in MB)"
177 default "8"
178 help
179 Size of DRAM (decimal in MB) typically 2, 8 or 16.
180
923dd2a4
JN
181config ETRAX_VMEM_SIZE
182 int "Video memory size (dec, in MB)"
183 depends on ETRAX_ARCH_V32 && !ETRAXFS
184 default 8 if !ETRAXFS
185 help
186 Size of Video accessible memory (decimal, in MB).
187
1da177e4 188config ETRAX_FLASH_BUSWIDTH
923dd2a4 189 int "Buswidth of NOR flash in bytes"
1da177e4
LT
190 default "2"
191 help
923dd2a4
JN
192 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
193
923dd2a4
JN
194config ETRAX_FLASH1_SIZE
195 int "FLASH1 size (dec, in MB. 0 = Unknown)"
196 default "0"
197
198choice
199 prompt "Product debug-port"
200 default ETRAX_DEBUG_PORT0
201
202config ETRAX_DEBUG_PORT0
203 bool "Serial-0"
204 help
205 Choose a serial port for the ETRAX debug console. Default to
206 port 0.
207
208config ETRAX_DEBUG_PORT1
209 bool "Serial-1"
210 help
211 Use serial port 1 for the console.
212
213config ETRAX_DEBUG_PORT2
214 bool "Serial-2"
215 help
216 Use serial port 2 for the console.
217
218config ETRAX_DEBUG_PORT3
219 bool "Serial-3"
220 help
221 Use serial port 3 for the console.
222
223config ETRAX_DEBUG_PORT_NULL
224 bool "disabled"
225 help
226 Disable serial-port debugging.
227
228endchoice
229
230choice
231 prompt "Kernel GDB port"
232 depends on ETRAX_KGDB
233 default ETRAX_KGDB_PORT0
234 help
235 Choose a serial port for kernel debugging. NOTE: This port should
236 not be enabled under Drivers for built-in interfaces (as it has its
237 own initialization code) and should not be the same as the debug port.
238
239config ETRAX_KGDB_PORT0
240 bool "Serial-0"
241 help
242 Use serial port 0 for kernel debugging.
243
244config ETRAX_KGDB_PORT1
245 bool "Serial-1"
246 help
247 Use serial port 1 for kernel debugging.
248
249config ETRAX_KGDB_PORT2
250 bool "Serial-2"
251 help
252 Use serial port 2 for kernel debugging.
253
254config ETRAX_KGDB_PORT3
255 bool "Serial-3"
256 help
257 Use serial port 3 for kernel debugging.
258
259endchoice
1da177e4
LT
260
261source arch/cris/arch-v10/Kconfig
2d33d563 262source arch/cris/arch-v32/Kconfig
1da177e4
LT
263
264endmenu
265
d5950b43
SR
266source "net/Kconfig"
267
1da177e4
LT
268# bring in ETRAX built-in drivers
269menu "Drivers for built-in interfaces"
2d33d563
JN
270source arch/cris/arch-v10/drivers/Kconfig
271source arch/cris/arch-v32/drivers/Kconfig
1da177e4 272
79e04fdb
JN
273config ETRAX_AXISFLASHMAP
274 bool "Axis flash-map support"
275 select MTD
276 select MTD_CFI
277 select MTD_CFI_AMDSTD
278 select MTD_JEDECPROBE if ETRAX_ARCH_V32
79e04fdb 279 select MTD_BLOCK
79e04fdb
JN
280 select MTD_COMPLEX_MAPPINGS
281 help
282 This option enables MTD mapping of flash devices. Needed to use
283 flash memories. If unsure, say Y.
284
c974a9e5
JN
285config ETRAX_SYNCHRONOUS_SERIAL
286 bool "Synchronous serial-port support"
287 help
288 Select this to enable the synchronous serial port driver.
289
290config ETRAX_SYNCHRONOUS_SERIAL_PORT0
291 bool "Synchronous serial port 0 enabled"
292 depends on ETRAX_SYNCHRONOUS_SERIAL
293 help
294 Enabled synchronous serial port 0.
295
296config ETRAX_SYNCHRONOUS_SERIAL0_DMA
297 bool "Enable DMA on synchronous serial port 0."
298 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
299 help
300 A synchronous serial port can run in manual or DMA mode.
301 Selecting this option will make it run in DMA mode.
302
303config ETRAX_SYNCHRONOUS_SERIAL_PORT1
304 bool "Synchronous serial port 1 enabled"
305 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
306 help
307 Enabled synchronous serial port 1.
308
309config ETRAX_SYNCHRONOUS_SERIAL1_DMA
310 bool "Enable DMA on synchronous serial port 1."
311 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
312 help
313 A synchronous serial port can run in manual or DMA mode.
314 Selecting this option will make it run in DMA mode.
315
923dd2a4
JN
316choice
317 prompt "Network LED behavior"
318 depends on ETRAX_ETHERNET
319 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
320
321config ETRAX_NETWORK_LED_ON_WHEN_LINK
322 bool "LED_on_when_link"
323 help
324 Selecting LED_on_when_link will light the LED when there is a
325 connection and will flash off when there is activity.
326
327 Selecting LED_on_when_activity will light the LED only when
328 there is activity.
329
330 This setting will also affect the behaviour of other activity LEDs
331 e.g. Bluetooth.
332
333config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
334 bool "LED_on_when_activity"
335 help
336 Selecting LED_on_when_link will light the LED when there is a
337 connection and will flash off when there is activity.
338
339 Selecting LED_on_when_activity will light the LED only when
340 there is activity.
341
342 This setting will also affect the behaviour of other activity LEDs
343 e.g. Bluetooth.
344
345endchoice
346
347choice
348 prompt "Ser0 DMA out channel"
349 depends on ETRAX_SERIAL_PORT0
350 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
351 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
352
353config ETRAX_SERIAL_PORT0_NO_DMA_OUT
354 bool "Ser0 uses no DMA for output"
355 help
356 Do not use DMA for ser0 output.
357
358config ETRAX_SERIAL_PORT0_DMA6_OUT
359 bool "Ser0 uses DMA6 for output"
360 depends on ETRAXFS
361 help
362 Enables the DMA6 output channel for ser0 (ttyS0).
363 If you do not enable DMA, an interrupt for each character will be
364 used when transmitting data.
365 Normally you want to use DMA, unless you use the DMA channel for
366 something else.
367
368config ETRAX_SERIAL_PORT0_DMA0_OUT
369 bool "Ser0 uses DMA0 for output"
370 depends on CRIS_MACH_ARTPEC3
371 help
372 Enables the DMA0 output channel for ser0 (ttyS0).
373 If you do not enable DMA, an interrupt for each character will be
374 used when transmitting data.
375 Normally you want to use DMA, unless you use the DMA channel for
376 something else.
377
378endchoice
379
380choice
381 prompt "Ser0 DMA in channel "
382 depends on ETRAX_SERIAL_PORT0
383 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
384 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
385 help
386 What DMA channel to use for ser0.
387
388config ETRAX_SERIAL_PORT0_NO_DMA_IN
389 bool "Ser0 uses no DMA for input"
390 help
391 Do not use DMA for ser0 input.
392
393config ETRAX_SERIAL_PORT0_DMA7_IN
394 bool "Ser0 uses DMA7 for input"
395 depends on ETRAXFS
396 help
397 Enables the DMA7 input channel for ser0 (ttyS0).
398 If you do not enable DMA, an interrupt for each character will be
399 used when receiving data.
400 Normally you want to use DMA, unless you use the DMA channel for
401 something else.
402
403config ETRAX_SERIAL_PORT0_DMA1_IN
404 bool "Ser0 uses DMA1 for input"
405 depends on CRIS_MACH_ARTPEC3
406 help
407 Enables the DMA1 input channel for ser0 (ttyS0).
408 If you do not enable DMA, an interrupt for each character will be
692105b8 409 used when receiving data.
923dd2a4
JN
410 Normally you want to use DMA, unless you use the DMA channel for
411 something else.
412
413endchoice
414
415choice
416 prompt "Ser1 DMA in channel "
417 depends on ETRAX_SERIAL_PORT1
418 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
419 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
420 help
421 What DMA channel to use for ser1.
422
423config ETRAX_SERIAL_PORT1_NO_DMA_IN
424 bool "Ser1 uses no DMA for input"
425 help
426 Do not use DMA for ser1 input.
427
428config ETRAX_SERIAL_PORT1_DMA5_IN
429 bool "Ser1 uses DMA5 for input"
430 depends on ETRAX_ARCH_V32
431 help
432 Enables the DMA5 input channel for ser1 (ttyS1).
433 If you do not enable DMA, an interrupt for each character will be
434 used when receiving data.
435 Normally you want this on, unless you use the DMA channel for
436 something else.
437
438config ETRAX_SERIAL_PORT1_DMA9_IN
439 depends on ETRAX_ARCH_V10
440 bool "Ser1 uses DMA9 for input"
441
442endchoice
443
444
445choice
446 prompt "Ser1 DMA out channel"
447 depends on ETRAX_SERIAL_PORT1
448 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
449 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
450 help
451 What DMA channel to use for ser1.
452
453config ETRAX_SERIAL_PORT1_NO_DMA_OUT
454 bool "Ser1 uses no DMA for output"
455 help
456 Do not use DMA for ser1 output.
457
458config ETRAX_SERIAL_PORT1_DMA8_OUT
459 depends on ETRAX_ARCH_V10
460 bool "Ser1 uses DMA8 for output"
461
462config ETRAX_SERIAL_PORT1_DMA4_OUT
463 depends on ETRAX_ARCH_V32
464 bool "Ser1 uses DMA4 for output"
465 help
466 Enables the DMA4 output channel for ser1 (ttyS1).
467 If you do not enable DMA, an interrupt for each character will be
468 used when transmitting data.
469 Normally you want this on, unless you use the DMA channel for
470 something else.
471
472endchoice
473
474choice
475 prompt "Ser2 DMA out channel"
476 depends on ETRAX_SERIAL_PORT2
477 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
478 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
479
480config ETRAX_SERIAL_PORT2_NO_DMA_OUT
481 bool "Ser2 uses no DMA for output"
482 help
483 Do not use DMA for ser2 output.
484
485config ETRAX_SERIAL_PORT2_DMA2_OUT
486 bool "Ser2 uses DMA2 for output"
487 depends on ETRAXFS || ETRAX_ARCH_V10
488 help
489 Enables the DMA2 output channel for ser2 (ttyS2).
490 If you do not enable DMA, an interrupt for each character will be
491 used when transmitting data.
492 Normally you want to use DMA, unless you use the DMA channel for
493 something else.
494
495config ETRAX_SERIAL_PORT2_DMA6_OUT
496 bool "Ser2 uses DMA6 for output"
497 depends on CRIS_MACH_ARTPEC3
498 help
499 Enables the DMA6 output channel for ser2 (ttyS2).
500 If you do not enable DMA, an interrupt for each character will be
501 used when transmitting data.
502 Normally you want to use DMA, unless you use the DMA channel for
503 something else.
504
505endchoice
506
507choice
508 prompt "Ser2 DMA in channel"
509 depends on ETRAX_SERIAL_PORT2
510 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
511 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
512 help
513 What DMA channel to use for ser2.
514
515config ETRAX_SERIAL_PORT2_NO_DMA_IN
516 bool "Ser2 uses no DMA for input"
517 help
518 Do not use DMA for ser2 input.
519
520config ETRAX_SERIAL_PORT2_DMA3_IN
521 bool "Ser2 uses DMA3 for input"
522 depends on ETRAXFS || ETRAX_ARCH_V10
523 help
524 Enables the DMA3 input channel for ser2 (ttyS2).
525 If you do not enable DMA, an interrupt for each character will be
526 used when receiving data.
527 Normally you want to use DMA, unless you use the DMA channel for
528 something else.
529
530config ETRAX_SERIAL_PORT2_DMA7_IN
531 bool "Ser2 uses DMA7 for input"
532 depends on CRIS_MACH_ARTPEC3
533 help
534 Enables the DMA7 input channel for ser2 (ttyS2).
535 If you do not enable DMA, an interrupt for each character will be
692105b8 536 used when receiving data.
923dd2a4
JN
537 Normally you want to use DMA, unless you use the DMA channel for
538 something else.
539
540endchoice
541
542choice
543 prompt "Ser3 DMA in channel"
544 depends on ETRAX_SERIAL_PORT3
545 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
546 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
547 help
548 What DMA channel to use for ser3.
549
550config ETRAX_SERIAL_PORT3_NO_DMA_IN
551 bool "Ser3 uses no DMA for input"
552 help
553 Do not use DMA for ser3 input.
554
555config ETRAX_SERIAL_PORT3_DMA5_IN
556 depends on ETRAX_ARCH_V10
557 bool "DMA 5"
558
923dd2a4
JN
559endchoice
560
561choice
562 prompt "Ser3 DMA out channel"
563 depends on ETRAX_SERIAL_PORT3
564 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
565 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
566
567config ETRAX_SERIAL_PORT3_NO_DMA_OUT
568 bool "Ser3 uses no DMA for output"
569 help
570 Do not use DMA for ser3 output.
571
572config ETRAX_SERIAL_PORT3_DMA4_OUT
573 depends on ETRAX_ARCH_V10
574 bool "DMA 4"
575
923dd2a4
JN
576endchoice
577
1da177e4
LT
578endmenu
579
acf83630 580source "drivers/Kconfig"
1da177e4 581
1da177e4
LT
582source "fs/Kconfig"
583
1da177e4
LT
584source "arch/cris/Kconfig.debug"
585
586source "security/Kconfig"
587
588source "crypto/Kconfig"
589
590source "lib/Kconfig"
This page took 0.729293 seconds and 5 git commands to generate.