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