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