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