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