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