Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux...
[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
33 def_bool y
34
35 config FORCE_MAX_ZONEORDER
36 int
37 default 6
38
39 config CRIS
40 bool
41 default y
42 select HAVE_IDE
43 select GENERIC_ATOMIC64
44 select HAVE_GENERIC_HARDIRQS
45 select HAVE_UID16
46 select ARCH_WANT_IPC_PARSE_VERSION
47 select GENERIC_IRQ_SHOW
48 select GENERIC_IOMAP
49 select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
50 select GENERIC_CMOS_UPDATE
51 select MODULES_USE_ELF_RELA
52 select CLONE_BACKWARDS2
53
54 config HZ
55 int
56 default 100
57
58 source "init/Kconfig"
59
60 source "kernel/Kconfig.freezer"
61
62 menu "General setup"
63
64 source "fs/Kconfig.binfmt"
65
66 config ETRAX_CMDLINE
67 string "Kernel command line"
68 default "root=/dev/mtdblock3"
69 help
70 Pass additional commands to the kernel.
71
72 config ETRAX_WATCHDOG
73 bool "Enable ETRAX watchdog"
74 help
75 Enable the built-in watchdog timer support on ETRAX based embedded
76 network computers.
77
78 config ETRAX_WATCHDOG_NICE_DOGGY
79 bool "Disable watchdog during Oops printouts"
80 depends on ETRAX_WATCHDOG
81 help
82 By enabling this you make sure that the watchdog does not bite while
83 printing oopses. Recommended for development systems but not for
84 production releases.
85
86 config ETRAX_FAST_TIMER
87 bool "Enable ETRAX fast timer API"
88 help
89 This options enables the API to a fast timer implementation using
90 timer1 to get sub jiffie resolution timers (primarily one-shot
91 timers).
92 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
93
94 config ETRAX_KMALLOCED_MODULES
95 bool "Enable module allocation with kmalloc"
96 help
97 Enable module allocation with kmalloc instead of vmalloc.
98
99 config OOM_REBOOT
100 bool "Enable reboot at out of memory"
101
102 source "kernel/Kconfig.preempt"
103
104 source mm/Kconfig
105
106 endmenu
107
108 menu "Hardware setup"
109
110 choice
111 prompt "Processor type"
112 default ETRAX100LX
113
114 config ETRAX100LX
115 bool "ETRAX-100LX-v1"
116 select ARCH_USES_GETTIMEOFFSET
117 help
118 Support version 1 of the ETRAX 100LX.
119
120 config ETRAX100LX_V2
121 bool "ETRAX-100LX-v2"
122 select ARCH_USES_GETTIMEOFFSET
123 help
124 Support version 2 of the ETRAX 100LX.
125
126 config SVINTO_SIM
127 bool "ETRAX-100LX-for-xsim-simulator"
128 select ARCH_USES_GETTIMEOFFSET
129 help
130 Support the xsim ETRAX Simulator.
131
132 config ETRAXFS
133 bool "ETRAX-FS-V32"
134 help
135 Support CRIS V32.
136
137 config CRIS_MACH_ARTPEC3
138 bool "ARTPEC-3"
139 help
140 Support Axis ARTPEC-3.
141
142 endchoice
143
144 config ETRAX_ARCH_V10
145 bool
146 default y if ETRAX100LX || ETRAX100LX_V2
147 default n if !(ETRAX100LX || ETRAX100LX_V2)
148
149 config ETRAX_ARCH_V32
150 bool
151 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
152 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
153
154 config ETRAX_DRAM_SIZE
155 int "DRAM size (dec, in MB)"
156 default "8"
157 help
158 Size of DRAM (decimal in MB) typically 2, 8 or 16.
159
160 config ETRAX_VMEM_SIZE
161 int "Video memory size (dec, in MB)"
162 depends on ETRAX_ARCH_V32 && !ETRAXFS
163 default 8 if !ETRAXFS
164 help
165 Size of Video accessible memory (decimal, in MB).
166
167 config ETRAX_FLASH_BUSWIDTH
168 int "Buswidth of NOR flash in bytes"
169 default "2"
170 help
171 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
172
173 config ETRAX_NANDFLASH_BUSWIDTH
174 int "Buswidth of NAND flash in bytes"
175 default "1"
176 help
177 Width in bytes of the NAND flash (1 or 2).
178
179 config ETRAX_FLASH1_SIZE
180 int "FLASH1 size (dec, in MB. 0 = Unknown)"
181 default "0"
182
183 choice
184 prompt "Product debug-port"
185 default ETRAX_DEBUG_PORT0
186
187 config ETRAX_DEBUG_PORT0
188 bool "Serial-0"
189 help
190 Choose a serial port for the ETRAX debug console. Default to
191 port 0.
192
193 config ETRAX_DEBUG_PORT1
194 bool "Serial-1"
195 help
196 Use serial port 1 for the console.
197
198 config ETRAX_DEBUG_PORT2
199 bool "Serial-2"
200 help
201 Use serial port 2 for the console.
202
203 config ETRAX_DEBUG_PORT3
204 bool "Serial-3"
205 help
206 Use serial port 3 for the console.
207
208 config ETRAX_DEBUG_PORT_NULL
209 bool "disabled"
210 help
211 Disable serial-port debugging.
212
213 endchoice
214
215 choice
216 prompt "Kernel GDB port"
217 depends on ETRAX_KGDB
218 default ETRAX_KGDB_PORT0
219 help
220 Choose a serial port for kernel debugging. NOTE: This port should
221 not be enabled under Drivers for built-in interfaces (as it has its
222 own initialization code) and should not be the same as the debug port.
223
224 config ETRAX_KGDB_PORT0
225 bool "Serial-0"
226 help
227 Use serial port 0 for kernel debugging.
228
229 config ETRAX_KGDB_PORT1
230 bool "Serial-1"
231 help
232 Use serial port 1 for kernel debugging.
233
234 config ETRAX_KGDB_PORT2
235 bool "Serial-2"
236 help
237 Use serial port 2 for kernel debugging.
238
239 config ETRAX_KGDB_PORT3
240 bool "Serial-3"
241 help
242 Use serial port 3 for kernel debugging.
243
244 endchoice
245
246 source arch/cris/arch-v10/Kconfig
247 source arch/cris/arch-v32/Kconfig
248
249 endmenu
250
251 source "net/Kconfig"
252
253 # bring in ETRAX built-in drivers
254 menu "Drivers for built-in interfaces"
255 source arch/cris/arch-v10/drivers/Kconfig
256 source arch/cris/arch-v32/drivers/Kconfig
257
258 config ETRAX_AXISFLASHMAP
259 bool "Axis flash-map support"
260 select MTD
261 select MTD_CFI
262 select MTD_CFI_AMDSTD
263 select MTD_JEDECPROBE if ETRAX_ARCH_V32
264 select MTD_CHAR
265 select MTD_BLOCK
266 select MTD_COMPLEX_MAPPINGS
267 help
268 This option enables MTD mapping of flash devices. Needed to use
269 flash memories. If unsure, say Y.
270
271 config ETRAX_RTC
272 bool "Real Time Clock support"
273 depends on ETRAX_I2C
274 help
275 Enables drivers for the Real-Time Clock battery-backed chips on
276 some products. The kernel reads the time when booting, and
277 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
278 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
279 /dev/rtc device. You can check the time with cat /proc/rtc, but
280 normal time reading should be done using libc function time and
281 friends.
282
283 choice
284 prompt "RTC chip"
285 depends on ETRAX_RTC
286 default ETRAX_DS1302
287
288 config ETRAX_DS1302
289 depends on ETRAX_ARCH_V10
290 bool "DS1302"
291 help
292 Enables the driver for the DS1302 Real-Time Clock battery-backed
293 chip on some products.
294
295 config ETRAX_PCF8563
296 bool "PCF8563"
297 help
298 Enables the driver for the PCF8563 Real-Time Clock battery-backed
299 chip on some products.
300
301 endchoice
302
303 config ETRAX_SYNCHRONOUS_SERIAL
304 bool "Synchronous serial-port support"
305 help
306 Select this to enable the synchronous serial port driver.
307
308 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
309 bool "Synchronous serial port 0 enabled"
310 depends on ETRAX_SYNCHRONOUS_SERIAL
311 help
312 Enabled synchronous serial port 0.
313
314 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
315 bool "Enable DMA on synchronous serial port 0."
316 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
317 help
318 A synchronous serial port can run in manual or DMA mode.
319 Selecting this option will make it run in DMA mode.
320
321 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
322 bool "Synchronous serial port 1 enabled"
323 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
324 help
325 Enabled synchronous serial port 1.
326
327 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
328 bool "Enable DMA on synchronous serial port 1."
329 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
330 help
331 A synchronous serial port can run in manual or DMA mode.
332 Selecting this option will make it run in DMA mode.
333
334 choice
335 prompt "Network LED behavior"
336 depends on ETRAX_ETHERNET
337 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
338
339 config ETRAX_NETWORK_LED_ON_WHEN_LINK
340 bool "LED_on_when_link"
341 help
342 Selecting LED_on_when_link will light the LED when there is a
343 connection and will flash off when there is activity.
344
345 Selecting LED_on_when_activity will light the LED only when
346 there is activity.
347
348 This setting will also affect the behaviour of other activity LEDs
349 e.g. Bluetooth.
350
351 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
352 bool "LED_on_when_activity"
353 help
354 Selecting LED_on_when_link will light the LED when there is a
355 connection and will flash off when there is activity.
356
357 Selecting LED_on_when_activity will light the LED only when
358 there is activity.
359
360 This setting will also affect the behaviour of other activity LEDs
361 e.g. Bluetooth.
362
363 endchoice
364
365 choice
366 prompt "Ser0 DMA out channel"
367 depends on ETRAX_SERIAL_PORT0
368 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
369 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
370
371 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
372 bool "Ser0 uses no DMA for output"
373 help
374 Do not use DMA for ser0 output.
375
376 config ETRAX_SERIAL_PORT0_DMA6_OUT
377 bool "Ser0 uses DMA6 for output"
378 depends on ETRAXFS
379 help
380 Enables the DMA6 output channel for ser0 (ttyS0).
381 If you do not enable DMA, an interrupt for each character will be
382 used when transmitting data.
383 Normally you want to use DMA, unless you use the DMA channel for
384 something else.
385
386 config ETRAX_SERIAL_PORT0_DMA0_OUT
387 bool "Ser0 uses DMA0 for output"
388 depends on CRIS_MACH_ARTPEC3
389 help
390 Enables the DMA0 output channel for ser0 (ttyS0).
391 If you do not enable DMA, an interrupt for each character will be
392 used when transmitting data.
393 Normally you want to use DMA, unless you use the DMA channel for
394 something else.
395
396 endchoice
397
398 choice
399 prompt "Ser0 DMA in channel "
400 depends on ETRAX_SERIAL_PORT0
401 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
402 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
403 help
404 What DMA channel to use for ser0.
405
406 config ETRAX_SERIAL_PORT0_NO_DMA_IN
407 bool "Ser0 uses no DMA for input"
408 help
409 Do not use DMA for ser0 input.
410
411 config ETRAX_SERIAL_PORT0_DMA7_IN
412 bool "Ser0 uses DMA7 for input"
413 depends on ETRAXFS
414 help
415 Enables the DMA7 input channel for ser0 (ttyS0).
416 If you do not enable DMA, an interrupt for each character will be
417 used when receiving data.
418 Normally you want to use DMA, unless you use the DMA channel for
419 something else.
420
421 config ETRAX_SERIAL_PORT0_DMA1_IN
422 bool "Ser0 uses DMA1 for input"
423 depends on CRIS_MACH_ARTPEC3
424 help
425 Enables the DMA1 input channel for ser0 (ttyS0).
426 If you do not enable DMA, an interrupt for each character will be
427 used when receiving data.
428 Normally you want to use DMA, unless you use the DMA channel for
429 something else.
430
431 endchoice
432
433 choice
434 prompt "Ser1 DMA in channel "
435 depends on ETRAX_SERIAL_PORT1
436 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
437 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
438 help
439 What DMA channel to use for ser1.
440
441 config ETRAX_SERIAL_PORT1_NO_DMA_IN
442 bool "Ser1 uses no DMA for input"
443 help
444 Do not use DMA for ser1 input.
445
446 config ETRAX_SERIAL_PORT1_DMA5_IN
447 bool "Ser1 uses DMA5 for input"
448 depends on ETRAX_ARCH_V32
449 help
450 Enables the DMA5 input channel for ser1 (ttyS1).
451 If you do not enable DMA, an interrupt for each character will be
452 used when receiving data.
453 Normally you want this on, unless you use the DMA channel for
454 something else.
455
456 config ETRAX_SERIAL_PORT1_DMA9_IN
457 depends on ETRAX_ARCH_V10
458 bool "Ser1 uses DMA9 for input"
459
460 endchoice
461
462
463 choice
464 prompt "Ser1 DMA out channel"
465 depends on ETRAX_SERIAL_PORT1
466 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
467 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
468 help
469 What DMA channel to use for ser1.
470
471 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
472 bool "Ser1 uses no DMA for output"
473 help
474 Do not use DMA for ser1 output.
475
476 config ETRAX_SERIAL_PORT1_DMA8_OUT
477 depends on ETRAX_ARCH_V10
478 bool "Ser1 uses DMA8 for output"
479
480 config ETRAX_SERIAL_PORT1_DMA4_OUT
481 depends on ETRAX_ARCH_V32
482 bool "Ser1 uses DMA4 for output"
483 help
484 Enables the DMA4 output channel for ser1 (ttyS1).
485 If you do not enable DMA, an interrupt for each character will be
486 used when transmitting data.
487 Normally you want this on, unless you use the DMA channel for
488 something else.
489
490 endchoice
491
492 choice
493 prompt "Ser2 DMA out channel"
494 depends on ETRAX_SERIAL_PORT2
495 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
496 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
497
498 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
499 bool "Ser2 uses no DMA for output"
500 help
501 Do not use DMA for ser2 output.
502
503 config ETRAX_SERIAL_PORT2_DMA2_OUT
504 bool "Ser2 uses DMA2 for output"
505 depends on ETRAXFS || ETRAX_ARCH_V10
506 help
507 Enables the DMA2 output channel for ser2 (ttyS2).
508 If you do not enable DMA, an interrupt for each character will be
509 used when transmitting data.
510 Normally you want to use DMA, unless you use the DMA channel for
511 something else.
512
513 config ETRAX_SERIAL_PORT2_DMA6_OUT
514 bool "Ser2 uses DMA6 for output"
515 depends on CRIS_MACH_ARTPEC3
516 help
517 Enables the DMA6 output channel for ser2 (ttyS2).
518 If you do not enable DMA, an interrupt for each character will be
519 used when transmitting data.
520 Normally you want to use DMA, unless you use the DMA channel for
521 something else.
522
523 endchoice
524
525 choice
526 prompt "Ser2 DMA in channel"
527 depends on ETRAX_SERIAL_PORT2
528 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
529 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
530 help
531 What DMA channel to use for ser2.
532
533 config ETRAX_SERIAL_PORT2_NO_DMA_IN
534 bool "Ser2 uses no DMA for input"
535 help
536 Do not use DMA for ser2 input.
537
538 config ETRAX_SERIAL_PORT2_DMA3_IN
539 bool "Ser2 uses DMA3 for input"
540 depends on ETRAXFS || ETRAX_ARCH_V10
541 help
542 Enables the DMA3 input channel for ser2 (ttyS2).
543 If you do not enable DMA, an interrupt for each character will be
544 used when receiving data.
545 Normally you want to use DMA, unless you use the DMA channel for
546 something else.
547
548 config ETRAX_SERIAL_PORT2_DMA7_IN
549 bool "Ser2 uses DMA7 for input"
550 depends on CRIS_MACH_ARTPEC3
551 help
552 Enables the DMA7 input channel for ser2 (ttyS2).
553 If you do not enable DMA, an interrupt for each character will be
554 used when receiving data.
555 Normally you want to use DMA, unless you use the DMA channel for
556 something else.
557
558 endchoice
559
560 choice
561 prompt "Ser3 DMA in channel"
562 depends on ETRAX_SERIAL_PORT3
563 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
564 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
565 help
566 What DMA channel to use for ser3.
567
568 config ETRAX_SERIAL_PORT3_NO_DMA_IN
569 bool "Ser3 uses no DMA for input"
570 help
571 Do not use DMA for ser3 input.
572
573 config ETRAX_SERIAL_PORT3_DMA5_IN
574 depends on ETRAX_ARCH_V10
575 bool "DMA 5"
576
577 config ETRAX_SERIAL_PORT3_DMA9_IN
578 bool "Ser3 uses DMA9 for input"
579 depends on ETRAXFS
580 help
581 Enables the DMA9 input channel for ser3 (ttyS3).
582 If you do not enable DMA, an interrupt for each character will be
583 used when receiving data.
584 Normally you want to use DMA, unless you use the DMA channel for
585 something else.
586
587 config ETRAX_SERIAL_PORT3_DMA3_IN
588 bool "Ser3 uses DMA3 for input"
589 depends on CRIS_MACH_ARTPEC3
590 help
591 Enables the DMA3 input channel for ser3 (ttyS3).
592 If you do not enable DMA, an interrupt for each character will be
593 used when receiving data.
594 Normally you want to use DMA, unless you use the DMA channel for
595 something else.
596
597 endchoice
598
599 choice
600 prompt "Ser3 DMA out channel"
601 depends on ETRAX_SERIAL_PORT3
602 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
603 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
604
605 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
606 bool "Ser3 uses no DMA for output"
607 help
608 Do not use DMA for ser3 output.
609
610 config ETRAX_SERIAL_PORT3_DMA4_OUT
611 depends on ETRAX_ARCH_V10
612 bool "DMA 4"
613
614 config ETRAX_SERIAL_PORT3_DMA8_OUT
615 bool "Ser3 uses DMA8 for output"
616 depends on ETRAXFS
617 help
618 Enables the DMA8 output channel for ser3 (ttyS3).
619 If you do not enable DMA, an interrupt for each character will be
620 used when transmitting data.
621 Normally you want to use DMA, unless you use the DMA channel for
622 something else.
623
624 config ETRAX_SERIAL_PORT3_DMA2_OUT
625 bool "Ser3 uses DMA2 for output"
626 depends on CRIS_MACH_ARTPEC3
627 help
628 Enables the DMA2 output channel for ser3 (ttyS3).
629 If you do not enable DMA, an interrupt for each character will be
630 used when transmitting data.
631 Normally you want to use DMA, unless you use the DMA channel for
632 something else.
633
634 endchoice
635
636 endmenu
637
638 source "drivers/base/Kconfig"
639
640 # standard linux drivers
641 source "drivers/mtd/Kconfig"
642
643 source "drivers/parport/Kconfig"
644
645 source "drivers/pnp/Kconfig"
646
647 source "drivers/block/Kconfig"
648
649 source "drivers/ide/Kconfig"
650
651 source "drivers/net/Kconfig"
652
653 source "drivers/i2c/Kconfig"
654
655 source "drivers/rtc/Kconfig"
656
657 #
658 # input before char - char/joystick depends on it. As does USB.
659 #
660 source "drivers/input/Kconfig"
661
662 source "drivers/char/Kconfig"
663
664 source "fs/Kconfig"
665
666 source "drivers/usb/Kconfig"
667
668 source "drivers/uwb/Kconfig"
669
670 source "drivers/staging/Kconfig"
671
672 source "arch/cris/Kconfig.debug"
673
674 source "security/Kconfig"
675
676 source "crypto/Kconfig"
677
678 source "lib/Kconfig"
This page took 0.048646 seconds and 5 git commands to generate.