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