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