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