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