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