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