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