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