Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6] / arch / arm / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux Kernel Configuration"
7
8 config ARM
9         bool
10         default y
11         select HAVE_AOUT
12         select HAVE_IDE
13         select RTC_LIB
14         select SYS_SUPPORTS_APM_EMULATION
15         select HAVE_OPROFILE
16         select HAVE_ARCH_KGDB
17         select HAVE_KPROBES if (!XIP_KERNEL)
18         select HAVE_KRETPROBES if (HAVE_KPROBES)
19         select HAVE_FTRACE if (!XIP_KERNEL)
20         select HAVE_DYNAMIC_FTRACE if (HAVE_FTRACE)
21         select HAVE_GENERIC_DMA_COHERENT
22         help
23           The ARM series is a line of low-power-consumption RISC chip designs
24           licensed by ARM Ltd and targeted at embedded applications and
25           handhelds such as the Compaq IPAQ.  ARM-based PCs are no longer
26           manufactured, but legacy ARM-based PC hardware remains popular in
27           Europe.  There is an ARM Linux project with a web page at
28           <http://www.arm.linux.org.uk/>.
29
30 config HAVE_PWM
31         bool
32
33 config SYS_SUPPORTS_APM_EMULATION
34         bool
35
36 config GENERIC_GPIO
37         bool
38         default n
39
40 config GENERIC_TIME
41         bool
42         default n
43
44 config GENERIC_CLOCKEVENTS
45         bool
46         default n
47
48 config GENERIC_CLOCKEVENTS_BROADCAST
49         bool
50         depends on GENERIC_CLOCKEVENTS
51         default y if SMP && !LOCAL_TIMERS
52
53 config MMU
54         bool
55         default y
56
57 config NO_IOPORT
58         bool
59         default n
60
61 config EISA
62         bool
63         ---help---
64           The Extended Industry Standard Architecture (EISA) bus was
65           developed as an open alternative to the IBM MicroChannel bus.
66
67           The EISA bus provided some of the features of the IBM MicroChannel
68           bus while maintaining backward compatibility with cards made for
69           the older ISA bus.  The EISA bus saw limited use between 1988 and
70           1995 when it was made obsolete by the PCI bus.
71
72           Say Y here if you are building a kernel for an EISA-based machine.
73
74           Otherwise, say N.
75
76 config SBUS
77         bool
78
79 config MCA
80         bool
81         help
82           MicroChannel Architecture is found in some IBM PS/2 machines and
83           laptops.  It is a bus system similar to PCI or ISA. See
84           <file:Documentation/mca.txt> (and especially the web page given
85           there) before attempting to build an MCA bus kernel.
86
87 config GENERIC_HARDIRQS
88         bool
89         default y
90
91 config STACKTRACE_SUPPORT
92         bool
93         default y
94
95 config HAVE_LATENCYTOP_SUPPORT
96         bool
97         depends on !SMP
98         default y
99
100 config LOCKDEP_SUPPORT
101         bool
102         default y
103
104 config TRACE_IRQFLAGS_SUPPORT
105         bool
106         default y
107
108 config HARDIRQS_SW_RESEND
109         bool
110         default y
111
112 config GENERIC_IRQ_PROBE
113         bool
114         default y
115
116 config GENERIC_LOCKBREAK
117         bool
118         default y
119         depends on SMP && PREEMPT
120
121 config RWSEM_GENERIC_SPINLOCK
122         bool
123         default y
124
125 config RWSEM_XCHGADD_ALGORITHM
126         bool
127
128 config ARCH_HAS_ILOG2_U32
129         bool
130         default n
131
132 config ARCH_HAS_ILOG2_U64
133         bool
134         default n
135
136 config GENERIC_HWEIGHT
137         bool
138         default y
139
140 config GENERIC_CALIBRATE_DELAY
141         bool
142         default y
143
144 config ARCH_MAY_HAVE_PC_FDC
145         bool
146
147 config ZONE_DMA
148         bool
149
150 config GENERIC_ISA_DMA
151         bool
152
153 config FIQ
154         bool
155
156 config ARCH_MTD_XIP
157         bool
158
159 config GENERIC_HARDIRQS_NO__DO_IRQ
160         bool
161         def_bool y
162
163 if OPROFILE
164
165 config OPROFILE_ARMV6
166         def_bool y
167         depends on CPU_V6 && !SMP
168         select OPROFILE_ARM11_CORE
169
170 config OPROFILE_MPCORE
171         def_bool y
172         depends on CPU_V6 && SMP
173         select OPROFILE_ARM11_CORE
174
175 config OPROFILE_ARM11_CORE
176         bool
177
178 config OPROFILE_ARMV7
179         def_bool y
180         depends on CPU_V7 && !SMP
181         bool
182
183 endif
184
185 config VECTORS_BASE
186         hex
187         default 0xffff0000 if MMU || CPU_HIGH_VECTOR
188         default DRAM_BASE if REMAP_VECTORS_TO_RAM
189         default 0x00000000
190         help
191           The base address of exception vectors.
192
193 source "init/Kconfig"
194
195 source "kernel/Kconfig.freezer"
196
197 menu "System Type"
198
199 choice
200         prompt "ARM system type"
201         default ARCH_VERSATILE
202
203 config ARCH_AAEC2000
204         bool "Agilent AAEC-2000 based"
205         select ARM_AMBA
206         select HAVE_CLK
207         help
208           This enables support for systems based on the Agilent AAEC-2000
209
210 config ARCH_INTEGRATOR
211         bool "ARM Ltd. Integrator family"
212         select ARM_AMBA
213         select HAVE_CLK
214         select ICST525
215         help
216           Support for ARM's Integrator platform.
217
218 config ARCH_REALVIEW
219         bool "ARM Ltd. RealView family"
220         select ARM_AMBA
221         select HAVE_CLK
222         select ICST307
223         select GENERIC_TIME
224         select GENERIC_CLOCKEVENTS
225         help
226           This enables support for ARM Ltd RealView boards.
227
228 config ARCH_VERSATILE
229         bool "ARM Ltd. Versatile family"
230         select ARM_AMBA
231         select ARM_VIC
232         select HAVE_CLK
233         select ICST307
234         select GENERIC_TIME
235         select GENERIC_CLOCKEVENTS
236         help
237           This enables support for ARM Ltd Versatile board.
238
239 config ARCH_AT91
240         bool "Atmel AT91"
241         select GENERIC_GPIO
242         select HAVE_CLK
243         help
244           This enables support for systems based on the Atmel AT91RM9200,
245           AT91SAM9 and AT91CAP9 processors.
246
247 config ARCH_CLPS7500
248         bool "Cirrus CL-PS7500FE"
249         select TIMER_ACORN
250         select ISA
251         select NO_IOPORT
252         select ARCH_SPARSEMEM_ENABLE
253         help
254           Support for the Cirrus Logic PS7500FE system-on-a-chip.
255
256 config ARCH_CLPS711X
257         bool "Cirrus Logic CLPS711x/EP721x-based"
258         help
259           Support for Cirrus Logic 711x/721x based boards.
260
261 config ARCH_EBSA110
262         bool "EBSA-110"
263         select ISA
264         select NO_IOPORT
265         help
266           This is an evaluation board for the StrongARM processor available
267           from Digital. It has limited hardware on-board, including an
268           Ethernet interface, two PCMCIA sockets, two serial ports and a
269           parallel port.
270
271 config ARCH_EP93XX
272         bool "EP93xx-based"
273         select ARM_AMBA
274         select ARM_VIC
275         select GENERIC_GPIO
276         select HAVE_CLK
277         select ARCH_REQUIRE_GPIOLIB
278         help
279           This enables support for the Cirrus EP93xx series of CPUs.
280
281 config ARCH_FOOTBRIDGE
282         bool "FootBridge"
283         select FOOTBRIDGE
284         help
285           Support for systems based on the DC21285 companion chip
286           ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
287
288 config ARCH_NETX
289         bool "Hilscher NetX based"
290         select ARM_VIC
291         help
292           This enables support for systems based on the Hilscher NetX Soc
293
294 config ARCH_H720X
295         bool "Hynix HMS720x-based"
296         select ISA_DMA_API
297         help
298           This enables support for systems based on the Hynix HMS720x
299
300 config ARCH_IMX
301         bool "IMX"
302         select GENERIC_GPIO
303         select GENERIC_TIME
304         select GENERIC_CLOCKEVENTS
305         help
306           Support for Motorola's i.MX family of processors (MX1, MXL).
307
308 config ARCH_IOP13XX
309         bool "IOP13xx-based"
310         depends on MMU
311         select PLAT_IOP
312         select PCI
313         select ARCH_SUPPORTS_MSI
314         select VMSPLIT_1G
315         help
316           Support for Intel's IOP13XX (XScale) family of processors.
317
318 config ARCH_IOP32X
319         bool "IOP32x-based"
320         depends on MMU
321         select PLAT_IOP
322         select PCI
323         select GENERIC_GPIO
324         select ARCH_REQUIRE_GPIOLIB
325         help
326           Support for Intel's 80219 and IOP32X (XScale) family of
327           processors.
328
329 config ARCH_IOP33X
330         bool "IOP33x-based"
331         depends on MMU
332         select PLAT_IOP
333         select PCI
334         select GENERIC_GPIO
335         select ARCH_REQUIRE_GPIOLIB
336         help
337           Support for Intel's IOP33X (XScale) family of processors.
338
339 config ARCH_IXP23XX
340         bool "IXP23XX-based"
341         depends on MMU
342         select PCI
343         help
344           Support for Intel's IXP23xx (XScale) family of processors.
345
346 config ARCH_IXP2000
347         bool "IXP2400/2800-based"
348         depends on MMU
349         select PCI
350         help
351           Support for Intel's IXP2400/2800 (XScale) family of processors.
352
353 config ARCH_IXP4XX
354         bool "IXP4xx-based"
355         depends on MMU
356         select GENERIC_GPIO
357         select GENERIC_TIME
358         select GENERIC_CLOCKEVENTS
359         select DMABOUNCE if PCI
360         help
361           Support for Intel's IXP4XX (XScale) family of processors.
362
363 config ARCH_L7200
364         bool "LinkUp-L7200"
365         select FIQ
366         help
367           Say Y here if you intend to run this kernel on a LinkUp Systems
368           L7200 Software Development Board which uses an ARM720T processor.
369           Information on this board can be obtained at:
370
371           <http://www.linkupsys.com/>
372
373           If you have any questions or comments about the Linux kernel port
374           to this board, send e-mail to <sjhill@cotw.com>.
375
376 config ARCH_KIRKWOOD
377         bool "Marvell Kirkwood"
378         select PCI
379         select GENERIC_TIME
380         select GENERIC_CLOCKEVENTS
381         select PLAT_ORION
382         help
383           Support for the following Marvell Kirkwood series SoCs:
384           88F6180, 88F6192 and 88F6281.
385
386 config ARCH_KS8695
387         bool "Micrel/Kendin KS8695"
388         select GENERIC_GPIO
389         help
390           Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
391           System-on-Chip devices.
392
393 config ARCH_NS9XXX
394         bool "NetSilicon NS9xxx"
395         select GENERIC_GPIO
396         select GENERIC_TIME
397         select GENERIC_CLOCKEVENTS
398         select HAVE_CLK
399         help
400           Say Y here if you intend to run this kernel on a NetSilicon NS9xxx
401           System.
402
403           <http://www.digi.com/products/microprocessors/index.jsp>
404
405 config ARCH_LOKI
406         bool "Marvell Loki (88RC8480)"
407         select GENERIC_TIME
408         select GENERIC_CLOCKEVENTS
409         select PLAT_ORION
410         help
411           Support for the Marvell Loki (88RC8480) SoC.
412
413 config ARCH_MV78XX0
414         bool "Marvell MV78xx0"
415         select PCI
416         select GENERIC_TIME
417         select GENERIC_CLOCKEVENTS
418         select PLAT_ORION
419         help
420           Support for the following Marvell MV78xx0 series SoCs:
421           MV781x0, MV782x0.
422
423 config ARCH_MXC
424         bool "Freescale MXC/iMX-based"
425         select GENERIC_TIME
426         select GENERIC_CLOCKEVENTS
427         select ARCH_MTD_XIP
428         select GENERIC_GPIO
429         select ARCH_REQUIRE_GPIOLIB
430         help
431           Support for Freescale MXC/iMX-based family of processors
432
433 config ARCH_ORION5X
434         bool "Marvell Orion"
435         depends on MMU
436         select PCI
437         select GENERIC_GPIO
438         select GENERIC_TIME
439         select GENERIC_CLOCKEVENTS
440         select PLAT_ORION
441         help
442           Support for the following Marvell Orion 5x series SoCs:
443           Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
444           Orion-2 (5281), Orion-1-90 (6183).
445
446 config ARCH_PNX4008
447         bool "Philips Nexperia PNX4008 Mobile"
448         select HAVE_CLK
449         help
450           This enables support for Philips PNX4008 mobile platform.
451
452 config ARCH_PXA
453         bool "PXA2xx/PXA3xx-based"
454         depends on MMU
455         select ARCH_MTD_XIP
456         select GENERIC_GPIO
457         select HAVE_CLK
458         select ARCH_REQUIRE_GPIOLIB
459         select GENERIC_TIME
460         select GENERIC_CLOCKEVENTS
461         select TICK_ONESHOT
462         help
463           Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
464
465 config ARCH_RPC
466         bool "RiscPC"
467         select ARCH_ACORN
468         select FIQ
469         select TIMER_ACORN
470         select ARCH_MAY_HAVE_PC_FDC
471         select HAVE_PATA_PLATFORM
472         select ISA_DMA_API
473         select NO_IOPORT
474         select ARCH_SPARSEMEM_ENABLE
475         help
476           On the Acorn Risc-PC, Linux can support the internal IDE disk and
477           CD-ROM interface, serial and parallel port, and the floppy drive.
478
479 config ARCH_SA1100
480         bool "SA1100-based"
481         select ISA
482         select ARCH_SPARSEMEM_ENABLE
483         select ARCH_MTD_XIP
484         select GENERIC_GPIO
485         select GENERIC_TIME
486         select GENERIC_CLOCKEVENTS
487         select HAVE_CLK
488         select TICK_ONESHOT
489         select ARCH_REQUIRE_GPIOLIB
490         help
491           Support for StrongARM 11x0 based boards.
492
493 config ARCH_S3C2410
494         bool "Samsung S3C2410, S3C2412, S3C2413, S3C2440, S3C2442, S3C2443"
495         select GENERIC_GPIO
496         select HAVE_CLK
497         help
498           Samsung S3C2410X CPU based systems, such as the Simtec Electronics
499           BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
500           the Samsung SMDK2410 development board (and derivatives).
501
502 config ARCH_SHARK
503         bool "Shark"
504         select ISA
505         select ISA_DMA
506         select ZONE_DMA
507         select PCI
508         help
509           Support for the StrongARM based Digital DNARD machine, also known
510           as "Shark" (<http://www.shark-linux.de/shark.html>).
511
512 config ARCH_LH7A40X
513         bool "Sharp LH7A40X"
514         select ARCH_DISCONTIGMEM_ENABLE if !LH7A40X_CONTIGMEM
515         select ARCH_SPARSEMEM_ENABLE if !LH7A40X_CONTIGMEM
516         help
517           Say Y here for systems based on one of the Sharp LH7A40X
518           System on a Chip processors.  These CPUs include an ARM922T
519           core with a wide array of integrated devices for
520           hand-held and low-power applications.
521
522 config ARCH_DAVINCI
523         bool "TI DaVinci"
524         select GENERIC_TIME
525         select GENERIC_CLOCKEVENTS
526         select GENERIC_GPIO
527         select ARCH_REQUIRE_GPIOLIB
528         select HAVE_CLK
529         select ZONE_DMA
530         help
531           Support for TI's DaVinci platform.
532
533 config ARCH_OMAP
534         bool "TI OMAP"
535         select GENERIC_GPIO
536         select HAVE_CLK
537         select ARCH_REQUIRE_GPIOLIB
538         select GENERIC_TIME
539         select GENERIC_CLOCKEVENTS
540         help
541           Support for TI's OMAP platform (OMAP1 and OMAP2).
542
543 config ARCH_MSM
544         bool "Qualcomm MSM"
545         select GENERIC_TIME
546         select GENERIC_CLOCKEVENTS
547         help
548           Support for Qualcomm MSM7K based systems.  This runs on the ARM11
549           apps processor of the MSM7K and depends on a shared memory
550           interface to the ARM9 modem processor which runs the baseband stack
551           and controls some vital subsystems (clock and power control, etc).
552
553 endchoice
554
555 source "arch/arm/mach-clps711x/Kconfig"
556
557 source "arch/arm/mach-ep93xx/Kconfig"
558
559 source "arch/arm/mach-footbridge/Kconfig"
560
561 source "arch/arm/mach-integrator/Kconfig"
562
563 source "arch/arm/mach-iop32x/Kconfig"
564
565 source "arch/arm/mach-iop33x/Kconfig"
566
567 source "arch/arm/mach-iop13xx/Kconfig"
568
569 source "arch/arm/mach-ixp4xx/Kconfig"
570
571 source "arch/arm/mach-ixp2000/Kconfig"
572
573 source "arch/arm/mach-ixp23xx/Kconfig"
574
575 source "arch/arm/mach-loki/Kconfig"
576
577 source "arch/arm/mach-mv78xx0/Kconfig"
578
579 source "arch/arm/mach-pxa/Kconfig"
580
581 source "arch/arm/mach-sa1100/Kconfig"
582
583 source "arch/arm/plat-omap/Kconfig"
584
585 source "arch/arm/mach-omap1/Kconfig"
586
587 source "arch/arm/mach-omap2/Kconfig"
588
589 source "arch/arm/mach-orion5x/Kconfig"
590
591 source "arch/arm/mach-kirkwood/Kconfig"
592
593 source "arch/arm/plat-s3c24xx/Kconfig"
594 source "arch/arm/plat-s3c/Kconfig"
595
596 if ARCH_S3C2410
597 source "arch/arm/mach-s3c2400/Kconfig"
598 source "arch/arm/mach-s3c2410/Kconfig"
599 source "arch/arm/mach-s3c2412/Kconfig"
600 source "arch/arm/mach-s3c2440/Kconfig"
601 source "arch/arm/mach-s3c2442/Kconfig"
602 source "arch/arm/mach-s3c2443/Kconfig"
603 endif
604
605 source "arch/arm/mach-lh7a40x/Kconfig"
606
607 source "arch/arm/mach-imx/Kconfig"
608
609 source "arch/arm/mach-h720x/Kconfig"
610
611 source "arch/arm/mach-versatile/Kconfig"
612
613 source "arch/arm/mach-aaec2000/Kconfig"
614
615 source "arch/arm/mach-realview/Kconfig"
616
617 source "arch/arm/mach-at91/Kconfig"
618
619 source "arch/arm/plat-mxc/Kconfig"
620
621 source "arch/arm/mach-netx/Kconfig"
622
623 source "arch/arm/mach-ns9xxx/Kconfig"
624
625 source "arch/arm/mach-davinci/Kconfig"
626
627 source "arch/arm/mach-ks8695/Kconfig"
628
629 source "arch/arm/mach-msm/Kconfig"
630
631 # Definitions to make life easier
632 config ARCH_ACORN
633         bool
634
635 config PLAT_IOP
636         bool
637
638 config PLAT_ORION
639         bool
640
641 source arch/arm/mm/Kconfig
642
643 config IWMMXT
644         bool "Enable iWMMXt support"
645         depends on CPU_XSCALE || CPU_XSC3
646         default y if PXA27x || PXA3xx
647         help
648           Enable support for iWMMXt context switching at run time if
649           running on a CPU that supports it.
650
651 #  bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
652 config XSCALE_PMU
653         bool
654         depends on CPU_XSCALE && !XSCALE_PMU_TIMER
655         default y
656
657 if !MMU
658 source "arch/arm/Kconfig-nommu"
659 endif
660
661 endmenu
662
663 source "arch/arm/common/Kconfig"
664
665 config FORCE_MAX_ZONEORDER
666         int
667         depends on SA1111
668         default "9"
669
670 menu "Bus support"
671
672 config ARM_AMBA
673         bool
674
675 config ISA
676         bool
677         help
678           Find out whether you have ISA slots on your motherboard.  ISA is the
679           name of a bus system, i.e. the way the CPU talks to the other stuff
680           inside your box.  Other bus systems are PCI, EISA, MicroChannel
681           (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
682           newer boards don't support it.  If you have ISA, say Y, otherwise N.
683
684 # Select ISA DMA controller support
685 config ISA_DMA
686         bool
687         select ISA_DMA_API
688
689 # Select ISA DMA interface
690 config ISA_DMA_API
691         bool
692
693 config PCI
694         bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX || ARCH_KS8695 || MACH_ARMCORE
695         help
696           Find out whether you have a PCI motherboard. PCI is the name of a
697           bus system, i.e. the way the CPU talks to the other stuff inside
698           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
699           VESA. If you have PCI, say Y, otherwise N.
700
701 config PCI_SYSCALL
702         def_bool PCI
703
704 # Select the host bridge type
705 config PCI_HOST_VIA82C505
706         bool
707         depends on PCI && ARCH_SHARK
708         default y
709
710 config PCI_HOST_ITE8152
711         bool
712         depends on PCI && MACH_ARMCORE
713         default y
714         select DMABOUNCE
715
716 source "drivers/pci/Kconfig"
717
718 source "drivers/pcmcia/Kconfig"
719
720 endmenu
721
722 menu "Kernel Features"
723
724 source "kernel/time/Kconfig"
725
726 config SMP
727         bool "Symmetric Multi-Processing (EXPERIMENTAL)"
728         depends on EXPERIMENTAL && (REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP)
729         select USE_GENERIC_SMP_HELPERS
730         help
731           This enables support for systems with more than one CPU. If you have
732           a system with only one CPU, like most personal computers, say N. If
733           you have a system with more than one CPU, say Y.
734
735           If you say N here, the kernel will run on single and multiprocessor
736           machines, but will use only one CPU of a multiprocessor machine. If
737           you say Y here, the kernel will run on many, but not all, single
738           processor machines. On a single processor machine, the kernel will
739           run faster if you say N here.
740
741           See also <file:Documentation/i386/IO-APIC.txt>,
742           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
743           <http://www.linuxdoc.org/docs.html#howto>.
744
745           If you don't know what to do here, say N.
746
747 choice
748         prompt "Memory split"
749         default VMSPLIT_3G
750         help
751           Select the desired split between kernel and user memory.
752
753           If you are not absolutely sure what you are doing, leave this
754           option alone!
755
756         config VMSPLIT_3G
757                 bool "3G/1G user/kernel split"
758         config VMSPLIT_2G
759                 bool "2G/2G user/kernel split"
760         config VMSPLIT_1G
761                 bool "1G/3G user/kernel split"
762 endchoice
763
764 config PAGE_OFFSET
765         hex
766         default 0x40000000 if VMSPLIT_1G
767         default 0x80000000 if VMSPLIT_2G
768         default 0xC0000000
769
770 config NR_CPUS
771         int "Maximum number of CPUs (2-32)"
772         range 2 32
773         depends on SMP
774         default "4"
775
776 config HOTPLUG_CPU
777         bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
778         depends on SMP && HOTPLUG && EXPERIMENTAL
779         help
780           Say Y here to experiment with turning CPUs off and on.  CPUs
781           can be controlled through /sys/devices/system/cpu.
782
783 config LOCAL_TIMERS
784         bool "Use local timer interrupts"
785         depends on SMP && (REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP)
786         default y
787         help
788           Enable support for local timers on SMP platforms, rather then the
789           legacy IPI broadcast method.  Local timers allows the system
790           accounting to be spread across the timer interval, preventing a
791           "thundering herd" at every timer tick.
792
793 config PREEMPT
794         bool "Preemptible Kernel (EXPERIMENTAL)"
795         depends on EXPERIMENTAL
796         help
797           This option reduces the latency of the kernel when reacting to
798           real-time or interactive events by allowing a low priority process to
799           be preempted even if it is in kernel mode executing a system call.
800           This allows applications to run more reliably even when the system is
801           under load.
802
803           Say Y here if you are building a kernel for a desktop, embedded
804           or real-time system.  Say N if you are unsure.
805
806 config HZ
807         int
808         default 128 if ARCH_L7200
809         default 200 if ARCH_EBSA110 || ARCH_S3C2410
810         default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
811         default AT91_TIMER_HZ if ARCH_AT91
812         default 100
813
814 config AEABI
815         bool "Use the ARM EABI to compile the kernel"
816         help
817           This option allows for the kernel to be compiled using the latest
818           ARM ABI (aka EABI).  This is only useful if you are using a user
819           space environment that is also compiled with EABI.
820
821           Since there are major incompatibilities between the legacy ABI and
822           EABI, especially with regard to structure member alignment, this
823           option also changes the kernel syscall calling convention to
824           disambiguate both ABIs and allow for backward compatibility support
825           (selected with CONFIG_OABI_COMPAT).
826
827           To use this you need GCC version 4.0.0 or later.
828
829 config OABI_COMPAT
830         bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
831         depends on AEABI && EXPERIMENTAL
832         default y
833         help
834           This option preserves the old syscall interface along with the
835           new (ARM EABI) one. It also provides a compatibility layer to
836           intercept syscalls that have structure arguments which layout
837           in memory differs between the legacy ABI and the new ARM EABI
838           (only for non "thumb" binaries). This option adds a tiny
839           overhead to all syscalls and produces a slightly larger kernel.
840           If you know you'll be using only pure EABI user space then you
841           can say N here. If this option is not selected and you attempt
842           to execute a legacy ABI binary then the result will be
843           UNPREDICTABLE (in fact it can be predicted that it won't work
844           at all). If in doubt say Y.
845
846 config ARCH_FLATMEM_HAS_HOLES
847         bool
848         default y
849         depends on FLATMEM
850
851 # Discontigmem is deprecated
852 config ARCH_DISCONTIGMEM_ENABLE
853         bool
854
855 config ARCH_SPARSEMEM_ENABLE
856         bool
857
858 config ARCH_SPARSEMEM_DEFAULT
859         def_bool ARCH_SPARSEMEM_ENABLE
860
861 config ARCH_SELECT_MEMORY_MODEL
862         def_bool ARCH_DISCONTIGMEM_ENABLE && ARCH_SPARSEMEM_ENABLE
863
864 config NODES_SHIFT
865         int
866         default "4" if ARCH_LH7A40X
867         default "2"
868         depends on NEED_MULTIPLE_NODES
869
870 source "mm/Kconfig"
871
872 config LEDS
873         bool "Timer and CPU usage LEDs"
874         depends on ARCH_CDB89712 || ARCH_EBSA110 || \
875                    ARCH_EBSA285 || ARCH_IMX || ARCH_INTEGRATOR || \
876                    ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
877                    ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
878                    ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
879                    ARCH_AT91 || ARCH_DAVINCI || \
880                    ARCH_KS8695 || MACH_RD88F5182
881         help
882           If you say Y here, the LEDs on your machine will be used
883           to provide useful information about your current system status.
884
885           If you are compiling a kernel for a NetWinder or EBSA-285, you will
886           be able to select which LEDs are active using the options below. If
887           you are compiling a kernel for the EBSA-110 or the LART however, the
888           red LED will simply flash regularly to indicate that the system is
889           still functional. It is safe to say Y here if you have a CATS
890           system, but the driver will do nothing.
891
892 config LEDS_TIMER
893         bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
894                             OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
895                             || MACH_OMAP_PERSEUS2
896         depends on LEDS
897         depends on !GENERIC_CLOCKEVENTS
898         default y if ARCH_EBSA110
899         help
900           If you say Y here, one of the system LEDs (the green one on the
901           NetWinder, the amber one on the EBSA285, or the red one on the LART)
902           will flash regularly to indicate that the system is still
903           operational. This is mainly useful to kernel hackers who are
904           debugging unstable kernels.
905
906           The LART uses the same LED for both Timer LED and CPU usage LED
907           functions. You may choose to use both, but the Timer LED function
908           will overrule the CPU usage LED.
909
910 config LEDS_CPU
911         bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
912                         !ARCH_OMAP) \
913                         || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
914                         || MACH_OMAP_PERSEUS2
915         depends on LEDS
916         help
917           If you say Y here, the red LED will be used to give a good real
918           time indication of CPU usage, by lighting whenever the idle task
919           is not currently executing.
920
921           The LART uses the same LED for both Timer LED and CPU usage LED
922           functions. You may choose to use both, but the Timer LED function
923           will overrule the CPU usage LED.
924
925 config ALIGNMENT_TRAP
926         bool
927         depends on CPU_CP15_MMU
928         default y if !ARCH_EBSA110
929         help
930           ARM processors cannot fetch/store information which is not
931           naturally aligned on the bus, i.e., a 4 byte fetch must start at an
932           address divisible by 4. On 32-bit ARM processors, these non-aligned
933           fetch/store instructions will be emulated in software if you say
934           here, which has a severe performance impact. This is necessary for
935           correct operation of some network protocols. With an IP-only
936           configuration it is safe to say N, otherwise say Y.
937
938 endmenu
939
940 menu "Boot options"
941
942 # Compressed boot loader in ROM.  Yes, we really want to ask about
943 # TEXT and BSS so we preserve their values in the config files.
944 config ZBOOT_ROM_TEXT
945         hex "Compressed ROM boot loader base address"
946         default "0"
947         help
948           The physical address at which the ROM-able zImage is to be
949           placed in the target.  Platforms which normally make use of
950           ROM-able zImage formats normally set this to a suitable
951           value in their defconfig file.
952
953           If ZBOOT_ROM is not enabled, this has no effect.
954
955 config ZBOOT_ROM_BSS
956         hex "Compressed ROM boot loader BSS address"
957         default "0"
958         help
959           The base address of an area of read/write memory in the target
960           for the ROM-able zImage which must be available while the
961           decompressor is running. It must be large enough to hold the
962           entire decompressed kernel plus an additional 128 KiB.
963           Platforms which normally make use of ROM-able zImage formats
964           normally set this to a suitable value in their defconfig file.
965
966           If ZBOOT_ROM is not enabled, this has no effect.
967
968 config ZBOOT_ROM
969         bool "Compressed boot loader in ROM/flash"
970         depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
971         help
972           Say Y here if you intend to execute your compressed kernel image
973           (zImage) directly from ROM or flash.  If unsure, say N.
974
975 config CMDLINE
976         string "Default kernel command string"
977         default ""
978         help
979           On some architectures (EBSA110 and CATS), there is currently no way
980           for the boot loader to pass arguments to the kernel. For these
981           architectures, you should supply some command-line options at build
982           time by entering them here. As a minimum, you should specify the
983           memory size and the root device (e.g., mem=64M root=/dev/nfs).
984
985 config XIP_KERNEL
986         bool "Kernel Execute-In-Place from ROM"
987         depends on !ZBOOT_ROM
988         help
989           Execute-In-Place allows the kernel to run from non-volatile storage
990           directly addressable by the CPU, such as NOR flash. This saves RAM
991           space since the text section of the kernel is not loaded from flash
992           to RAM.  Read-write sections, such as the data section and stack,
993           are still copied to RAM.  The XIP kernel is not compressed since
994           it has to run directly from flash, so it will take more space to
995           store it.  The flash address used to link the kernel object files,
996           and for storing it, is configuration dependent. Therefore, if you
997           say Y here, you must know the proper physical address where to
998           store the kernel image depending on your own flash memory usage.
999
1000           Also note that the make target becomes "make xipImage" rather than
1001           "make zImage" or "make Image".  The final kernel binary to put in
1002           ROM memory will be arch/arm/boot/xipImage.
1003
1004           If unsure, say N.
1005
1006 config XIP_PHYS_ADDR
1007         hex "XIP Kernel Physical Location"
1008         depends on XIP_KERNEL
1009         default "0x00080000"
1010         help
1011           This is the physical address in your flash memory the kernel will
1012           be linked for and stored to.  This address is dependent on your
1013           own flash usage.
1014
1015 config KEXEC
1016         bool "Kexec system call (EXPERIMENTAL)"
1017         depends on EXPERIMENTAL
1018         help
1019           kexec is a system call that implements the ability to shutdown your
1020           current kernel, and to start another kernel.  It is like a reboot
1021           but it is independent of the system firmware.   And like a reboot
1022           you can start any kernel with it, not just Linux.
1023
1024           It is an ongoing process to be certain the hardware in a machine
1025           is properly shutdown, so do not be surprised if this code does not
1026           initially work for you.  It may help to enable device hotplugging
1027           support.
1028
1029 config ATAGS_PROC
1030         bool "Export atags in procfs"
1031         depends on KEXEC
1032         default y
1033         help
1034           Should the atags used to boot the kernel be exported in an "atags"
1035           file in procfs. Useful with kexec.
1036
1037 endmenu
1038
1039 menu "CPU Power Management"
1040
1041 if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA)
1042
1043 source "drivers/cpufreq/Kconfig"
1044
1045 config CPU_FREQ_SA1100
1046         bool
1047         depends on CPU_FREQ && (SA1100_H3100 || SA1100_H3600 || SA1100_H3800 || SA1100_LART || SA1100_PLEB || SA1100_BADGE4 || SA1100_HACKKIT)
1048         default y
1049
1050 config CPU_FREQ_SA1110
1051         bool
1052         depends on CPU_FREQ && (SA1100_ASSABET || SA1100_CERF || SA1100_PT_SYSTEM3)
1053         default y
1054
1055 config CPU_FREQ_INTEGRATOR
1056         tristate "CPUfreq driver for ARM Integrator CPUs"
1057         depends on ARCH_INTEGRATOR && CPU_FREQ
1058         default y
1059         help
1060           This enables the CPUfreq driver for ARM Integrator CPUs.
1061
1062           For details, take a look at <file:Documentation/cpu-freq>.
1063
1064           If in doubt, say Y.
1065
1066 config CPU_FREQ_IMX
1067         tristate "CPUfreq driver for i.MX CPUs"
1068         depends on ARCH_IMX && CPU_FREQ
1069         default n
1070         help
1071           This enables the CPUfreq driver for i.MX CPUs.
1072
1073           If in doubt, say N.
1074
1075 config CPU_FREQ_PXA
1076         bool
1077         depends on CPU_FREQ && ARCH_PXA && PXA25x
1078         default y
1079         select CPU_FREQ_DEFAULT_GOV_USERSPACE
1080
1081 endif
1082
1083 source "drivers/cpuidle/Kconfig"
1084
1085 endmenu
1086
1087 menu "Floating point emulation"
1088
1089 comment "At least one emulation must be selected"
1090
1091 config FPE_NWFPE
1092         bool "NWFPE math emulation"
1093         depends on !AEABI || OABI_COMPAT
1094         ---help---
1095           Say Y to include the NWFPE floating point emulator in the kernel.
1096           This is necessary to run most binaries. Linux does not currently
1097           support floating point hardware so you need to say Y here even if
1098           your machine has an FPA or floating point co-processor podule.
1099
1100           You may say N here if you are going to load the Acorn FPEmulator
1101           early in the bootup.
1102
1103 config FPE_NWFPE_XP
1104         bool "Support extended precision"
1105         depends on FPE_NWFPE
1106         help
1107           Say Y to include 80-bit support in the kernel floating-point
1108           emulator.  Otherwise, only 32 and 64-bit support is compiled in.
1109           Note that gcc does not generate 80-bit operations by default,
1110           so in most cases this option only enlarges the size of the
1111           floating point emulator without any good reason.
1112
1113           You almost surely want to say N here.
1114
1115 config FPE_FASTFPE
1116         bool "FastFPE math emulation (EXPERIMENTAL)"
1117         depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1118         ---help---
1119           Say Y here to include the FAST floating point emulator in the kernel.
1120           This is an experimental much faster emulator which now also has full
1121           precision for the mantissa.  It does not support any exceptions.
1122           It is very simple, and approximately 3-6 times faster than NWFPE.
1123
1124           It should be sufficient for most programs.  It may be not suitable
1125           for scientific calculations, but you have to check this for yourself.
1126           If you do not feel you need a faster FP emulation you should better
1127           choose NWFPE.
1128
1129 config VFP
1130         bool "VFP-format floating point maths"
1131         depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1132         help
1133           Say Y to include VFP support code in the kernel. This is needed
1134           if your hardware includes a VFP unit.
1135
1136           Please see <file:Documentation/arm/VFP/release-notes.txt> for
1137           release notes and additional status information.
1138
1139           Say N if your target does not have VFP hardware.
1140
1141 config VFPv3
1142         bool
1143         depends on VFP
1144         default y if CPU_V7
1145
1146 config NEON
1147         bool "Advanced SIMD (NEON) Extension support"
1148         depends on VFPv3 && CPU_V7
1149         help
1150           Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1151           Extension.
1152
1153 endmenu
1154
1155 menu "Userspace binary formats"
1156
1157 source "fs/Kconfig.binfmt"
1158
1159 config ARTHUR
1160         tristate "RISC OS personality"
1161         depends on !AEABI
1162         help
1163           Say Y here to include the kernel code necessary if you want to run
1164           Acorn RISC OS/Arthur binaries under Linux. This code is still very
1165           experimental; if this sounds frightening, say N and sleep in peace.
1166           You can also say M here to compile this support as a module (which
1167           will be called arthur).
1168
1169 endmenu
1170
1171 menu "Power management options"
1172
1173 source "kernel/power/Kconfig"
1174
1175 config ARCH_SUSPEND_POSSIBLE
1176         def_bool y
1177
1178 endmenu
1179
1180 source "net/Kconfig"
1181
1182 menu "Device Drivers"
1183
1184 source "drivers/base/Kconfig"
1185
1186 source "drivers/connector/Kconfig"
1187
1188 if ALIGNMENT_TRAP || !CPU_CP15_MMU
1189 source "drivers/mtd/Kconfig"
1190 endif
1191
1192 source "drivers/parport/Kconfig"
1193
1194 source "drivers/pnp/Kconfig"
1195
1196 source "drivers/block/Kconfig"
1197
1198 # misc before ide - BLK_DEV_SGIIOC4 depends on SGI_IOC4
1199
1200 source "drivers/misc/Kconfig"
1201
1202 source "drivers/ide/Kconfig"
1203
1204 source "drivers/scsi/Kconfig"
1205
1206 source "drivers/ata/Kconfig"
1207
1208 source "drivers/md/Kconfig"
1209
1210 source "drivers/message/fusion/Kconfig"
1211
1212 source "drivers/ieee1394/Kconfig"
1213
1214 source "drivers/message/i2o/Kconfig"
1215
1216 source "drivers/net/Kconfig"
1217
1218 source "drivers/isdn/Kconfig"
1219
1220 # input before char - char/joystick depends on it. As does USB.
1221
1222 source "drivers/input/Kconfig"
1223
1224 source "drivers/char/Kconfig"
1225
1226 source "drivers/i2c/Kconfig"
1227
1228 source "drivers/spi/Kconfig"
1229
1230 source "drivers/gpio/Kconfig"
1231
1232 source "drivers/w1/Kconfig"
1233
1234 source "drivers/power/Kconfig"
1235
1236 source "drivers/hwmon/Kconfig"
1237
1238 source "drivers/thermal/Kconfig"
1239
1240 source "drivers/watchdog/Kconfig"
1241
1242 source "drivers/ssb/Kconfig"
1243
1244 #source "drivers/l3/Kconfig"
1245
1246 source "drivers/mfd/Kconfig"
1247
1248 source "drivers/media/Kconfig"
1249
1250 source "drivers/video/Kconfig"
1251
1252 source "sound/Kconfig"
1253
1254 source "drivers/hid/Kconfig"
1255
1256 source "drivers/usb/Kconfig"
1257
1258 source "drivers/uwb/Kconfig"
1259
1260 source "drivers/mmc/Kconfig"
1261
1262 source "drivers/memstick/Kconfig"
1263
1264 source "drivers/accessibility/Kconfig"
1265
1266 source "drivers/leds/Kconfig"
1267
1268 source "drivers/rtc/Kconfig"
1269
1270 source "drivers/dma/Kconfig"
1271
1272 source "drivers/dca/Kconfig"
1273
1274 source "drivers/auxdisplay/Kconfig"
1275
1276 source "drivers/regulator/Kconfig"
1277
1278 source "drivers/uio/Kconfig"
1279
1280 endmenu
1281
1282 source "fs/Kconfig"
1283
1284 source "arch/arm/Kconfig.debug"
1285
1286 source "security/Kconfig"
1287
1288 source "crypto/Kconfig"
1289
1290 source "lib/Kconfig"