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