[ARM] 5295/1: make ZONE_DMA optional
[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_IDE
12         select RTC_LIB
13         select SYS_SUPPORTS_APM_EMULATION
14         select HAVE_OPROFILE
15         select HAVE_ARCH_KGDB
16         select HAVE_KPROBES if (!XIP_KERNEL)
17         select HAVE_KRETPROBES if (HAVE_KPROBES)
18         select HAVE_FTRACE if (!XIP_KERNEL)
19         select HAVE_DYNAMIC_FTRACE if (HAVE_FTRACE)
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_SUPPORTS_AOUT
144         def_bool y
145
146 config ARCH_MAY_HAVE_PC_FDC
147         bool
148
149 config ZONE_DMA
150         bool
151
152 config GENERIC_ISA_DMA
153         bool
154
155 config FIQ
156         bool
157
158 config ARCH_MTD_XIP
159         bool
160
161 config GENERIC_HARDIRQS_NO__DO_IRQ
162         bool
163         def_bool y
164
165 if OPROFILE
166
167 config OPROFILE_ARMV6
168         def_bool y
169         depends on CPU_V6 && !SMP
170         select OPROFILE_ARM11_CORE
171
172 config OPROFILE_MPCORE
173         def_bool y
174         depends on CPU_V6 && SMP
175         select OPROFILE_ARM11_CORE
176
177 config OPROFILE_ARM11_CORE
178         bool
179
180 config OPROFILE_ARMV7
181         def_bool y
182         depends on CPU_V7 && !SMP
183         bool
184
185 endif
186
187 config VECTORS_BASE
188         hex
189         default 0xffff0000 if MMU || CPU_HIGH_VECTOR
190         default DRAM_BASE if REMAP_VECTORS_TO_RAM
191         default 0x00000000
192         help
193           The base address of exception vectors.
194
195 source "init/Kconfig"
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 ZONE_DMA 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).
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 HAVE_CLK
528         select ZONE_DMA
529         help
530           Support for TI's DaVinci platform.
531
532 config ARCH_OMAP
533         bool "TI OMAP"
534         select GENERIC_GPIO
535         select HAVE_CLK
536         select ARCH_REQUIRE_GPIOLIB
537         select GENERIC_TIME
538         select GENERIC_CLOCKEVENTS
539         help
540           Support for TI's OMAP platform (OMAP1 and OMAP2).
541
542 config ARCH_MSM7X00A
543         bool "Qualcomm MSM7X00A"
544         select GENERIC_TIME
545         select GENERIC_CLOCKEVENTS
546         help
547           Support for Qualcomm MSM7X00A based systems.  This runs on the ARM11
548           apps processor of the MSM7X00A and depends on a shared memory
549           interface to the ARM9 modem processor which runs the baseband stack
550           and controls some vital subsystems (clock and power control, etc).
551           <http://www.cdmatech.com/products/msm7200_chipset_solution.jsp>
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 # Discontigmem is deprecated
847 config ARCH_DISCONTIGMEM_ENABLE
848         bool
849
850 config ARCH_SPARSEMEM_ENABLE
851         bool
852
853 config ARCH_SPARSEMEM_DEFAULT
854         def_bool ARCH_SPARSEMEM_ENABLE
855
856 config ARCH_SELECT_MEMORY_MODEL
857         def_bool ARCH_DISCONTIGMEM_ENABLE && ARCH_SPARSEMEM_ENABLE
858
859 config NODES_SHIFT
860         int
861         default "4" if ARCH_LH7A40X
862         default "2"
863         depends on NEED_MULTIPLE_NODES
864
865 source "mm/Kconfig"
866
867 config LEDS
868         bool "Timer and CPU usage LEDs"
869         depends on ARCH_CDB89712 || ARCH_EBSA110 || \
870                    ARCH_EBSA285 || ARCH_IMX || ARCH_INTEGRATOR || \
871                    ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
872                    ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
873                    ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
874                    ARCH_AT91 || MACH_TRIZEPS4 || ARCH_DAVINCI || \
875                    ARCH_KS8695 || MACH_RD88F5182
876         help
877           If you say Y here, the LEDs on your machine will be used
878           to provide useful information about your current system status.
879
880           If you are compiling a kernel for a NetWinder or EBSA-285, you will
881           be able to select which LEDs are active using the options below. If
882           you are compiling a kernel for the EBSA-110 or the LART however, the
883           red LED will simply flash regularly to indicate that the system is
884           still functional. It is safe to say Y here if you have a CATS
885           system, but the driver will do nothing.
886
887 config LEDS_TIMER
888         bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
889                             OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
890                             || MACH_OMAP_PERSEUS2
891         depends on LEDS
892         depends on !GENERIC_CLOCKEVENTS
893         default y if ARCH_EBSA110
894         help
895           If you say Y here, one of the system LEDs (the green one on the
896           NetWinder, the amber one on the EBSA285, or the red one on the LART)
897           will flash regularly to indicate that the system is still
898           operational. This is mainly useful to kernel hackers who are
899           debugging unstable kernels.
900
901           The LART uses the same LED for both Timer LED and CPU usage LED
902           functions. You may choose to use both, but the Timer LED function
903           will overrule the CPU usage LED.
904
905 config LEDS_CPU
906         bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
907                         !ARCH_OMAP) \
908                         || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
909                         || MACH_OMAP_PERSEUS2
910         depends on LEDS
911         help
912           If you say Y here, the red LED will be used to give a good real
913           time indication of CPU usage, by lighting whenever the idle task
914           is not currently executing.
915
916           The LART uses the same LED for both Timer LED and CPU usage LED
917           functions. You may choose to use both, but the Timer LED function
918           will overrule the CPU usage LED.
919
920 config ALIGNMENT_TRAP
921         bool
922         depends on CPU_CP15_MMU
923         default y if !ARCH_EBSA110
924         help
925           ARM processors cannot fetch/store information which is not
926           naturally aligned on the bus, i.e., a 4 byte fetch must start at an
927           address divisible by 4. On 32-bit ARM processors, these non-aligned
928           fetch/store instructions will be emulated in software if you say
929           here, which has a severe performance impact. This is necessary for
930           correct operation of some network protocols. With an IP-only
931           configuration it is safe to say N, otherwise say Y.
932
933 endmenu
934
935 menu "Boot options"
936
937 # Compressed boot loader in ROM.  Yes, we really want to ask about
938 # TEXT and BSS so we preserve their values in the config files.
939 config ZBOOT_ROM_TEXT
940         hex "Compressed ROM boot loader base address"
941         default "0"
942         help
943           The physical address at which the ROM-able zImage is to be
944           placed in the target.  Platforms which normally make use of
945           ROM-able zImage formats normally set this to a suitable
946           value in their defconfig file.
947
948           If ZBOOT_ROM is not enabled, this has no effect.
949
950 config ZBOOT_ROM_BSS
951         hex "Compressed ROM boot loader BSS address"
952         default "0"
953         help
954           The base address of an area of read/write memory in the target
955           for the ROM-able zImage which must be available while the
956           decompressor is running. It must be large enough to hold the
957           entire decompressed kernel plus an additional 128 KiB.
958           Platforms which normally make use of ROM-able zImage formats
959           normally set this to a suitable value in their defconfig file.
960
961           If ZBOOT_ROM is not enabled, this has no effect.
962
963 config ZBOOT_ROM
964         bool "Compressed boot loader in ROM/flash"
965         depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
966         help
967           Say Y here if you intend to execute your compressed kernel image
968           (zImage) directly from ROM or flash.  If unsure, say N.
969
970 config CMDLINE
971         string "Default kernel command string"
972         default ""
973         help
974           On some architectures (EBSA110 and CATS), there is currently no way
975           for the boot loader to pass arguments to the kernel. For these
976           architectures, you should supply some command-line options at build
977           time by entering them here. As a minimum, you should specify the
978           memory size and the root device (e.g., mem=64M root=/dev/nfs).
979
980 config XIP_KERNEL
981         bool "Kernel Execute-In-Place from ROM"
982         depends on !ZBOOT_ROM
983         help
984           Execute-In-Place allows the kernel to run from non-volatile storage
985           directly addressable by the CPU, such as NOR flash. This saves RAM
986           space since the text section of the kernel is not loaded from flash
987           to RAM.  Read-write sections, such as the data section and stack,
988           are still copied to RAM.  The XIP kernel is not compressed since
989           it has to run directly from flash, so it will take more space to
990           store it.  The flash address used to link the kernel object files,
991           and for storing it, is configuration dependent. Therefore, if you
992           say Y here, you must know the proper physical address where to
993           store the kernel image depending on your own flash memory usage.
994
995           Also note that the make target becomes "make xipImage" rather than
996           "make zImage" or "make Image".  The final kernel binary to put in
997           ROM memory will be arch/arm/boot/xipImage.
998
999           If unsure, say N.
1000
1001 config XIP_PHYS_ADDR
1002         hex "XIP Kernel Physical Location"
1003         depends on XIP_KERNEL
1004         default "0x00080000"
1005         help
1006           This is the physical address in your flash memory the kernel will
1007           be linked for and stored to.  This address is dependent on your
1008           own flash usage.
1009
1010 config KEXEC
1011         bool "Kexec system call (EXPERIMENTAL)"
1012         depends on EXPERIMENTAL
1013         help
1014           kexec is a system call that implements the ability to shutdown your
1015           current kernel, and to start another kernel.  It is like a reboot
1016           but it is independent of the system firmware.   And like a reboot
1017           you can start any kernel with it, not just Linux.
1018
1019           It is an ongoing process to be certain the hardware in a machine
1020           is properly shutdown, so do not be surprised if this code does not
1021           initially work for you.  It may help to enable device hotplugging
1022           support.
1023
1024 config ATAGS_PROC
1025         bool "Export atags in procfs"
1026         depends on KEXEC
1027         default y
1028         help
1029           Should the atags used to boot the kernel be exported in an "atags"
1030           file in procfs. Useful with kexec.
1031
1032 endmenu
1033
1034 menu "CPU Power Management"
1035
1036 if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA)
1037
1038 source "drivers/cpufreq/Kconfig"
1039
1040 config CPU_FREQ_SA1100
1041         bool
1042         depends on CPU_FREQ && (SA1100_H3100 || SA1100_H3600 || SA1100_H3800 || SA1100_LART || SA1100_PLEB || SA1100_BADGE4 || SA1100_HACKKIT)
1043         default y
1044
1045 config CPU_FREQ_SA1110
1046         bool
1047         depends on CPU_FREQ && (SA1100_ASSABET || SA1100_CERF || SA1100_PT_SYSTEM3)
1048         default y
1049
1050 config CPU_FREQ_INTEGRATOR
1051         tristate "CPUfreq driver for ARM Integrator CPUs"
1052         depends on ARCH_INTEGRATOR && CPU_FREQ
1053         default y
1054         help
1055           This enables the CPUfreq driver for ARM Integrator CPUs.
1056
1057           For details, take a look at <file:Documentation/cpu-freq>.
1058
1059           If in doubt, say Y.
1060
1061 config CPU_FREQ_IMX
1062         tristate "CPUfreq driver for i.MX CPUs"
1063         depends on ARCH_IMX && CPU_FREQ
1064         default n
1065         help
1066           This enables the CPUfreq driver for i.MX CPUs.
1067
1068           If in doubt, say N.
1069
1070 config CPU_FREQ_PXA
1071         bool
1072         depends on CPU_FREQ && ARCH_PXA && PXA25x
1073         default y
1074         select CPU_FREQ_DEFAULT_GOV_USERSPACE
1075
1076 endif
1077
1078 source "drivers/cpuidle/Kconfig"
1079
1080 endmenu
1081
1082 menu "Floating point emulation"
1083
1084 comment "At least one emulation must be selected"
1085
1086 config FPE_NWFPE
1087         bool "NWFPE math emulation"
1088         depends on !AEABI || OABI_COMPAT
1089         ---help---
1090           Say Y to include the NWFPE floating point emulator in the kernel.
1091           This is necessary to run most binaries. Linux does not currently
1092           support floating point hardware so you need to say Y here even if
1093           your machine has an FPA or floating point co-processor podule.
1094
1095           You may say N here if you are going to load the Acorn FPEmulator
1096           early in the bootup.
1097
1098 config FPE_NWFPE_XP
1099         bool "Support extended precision"
1100         depends on FPE_NWFPE
1101         help
1102           Say Y to include 80-bit support in the kernel floating-point
1103           emulator.  Otherwise, only 32 and 64-bit support is compiled in.
1104           Note that gcc does not generate 80-bit operations by default,
1105           so in most cases this option only enlarges the size of the
1106           floating point emulator without any good reason.
1107
1108           You almost surely want to say N here.
1109
1110 config FPE_FASTFPE
1111         bool "FastFPE math emulation (EXPERIMENTAL)"
1112         depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1113         ---help---
1114           Say Y here to include the FAST floating point emulator in the kernel.
1115           This is an experimental much faster emulator which now also has full
1116           precision for the mantissa.  It does not support any exceptions.
1117           It is very simple, and approximately 3-6 times faster than NWFPE.
1118
1119           It should be sufficient for most programs.  It may be not suitable
1120           for scientific calculations, but you have to check this for yourself.
1121           If you do not feel you need a faster FP emulation you should better
1122           choose NWFPE.
1123
1124 config VFP
1125         bool "VFP-format floating point maths"
1126         depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1127         help
1128           Say Y to include VFP support code in the kernel. This is needed
1129           if your hardware includes a VFP unit.
1130
1131           Please see <file:Documentation/arm/VFP/release-notes.txt> for
1132           release notes and additional status information.
1133
1134           Say N if your target does not have VFP hardware.
1135
1136 config VFPv3
1137         bool
1138         depends on VFP
1139         default y if CPU_V7
1140
1141 config NEON
1142         bool "Advanced SIMD (NEON) Extension support"
1143         depends on VFPv3 && CPU_V7
1144         help
1145           Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1146           Extension.
1147
1148 endmenu
1149
1150 menu "Userspace binary formats"
1151
1152 source "fs/Kconfig.binfmt"
1153
1154 config ARTHUR
1155         tristate "RISC OS personality"
1156         depends on !AEABI
1157         help
1158           Say Y here to include the kernel code necessary if you want to run
1159           Acorn RISC OS/Arthur binaries under Linux. This code is still very
1160           experimental; if this sounds frightening, say N and sleep in peace.
1161           You can also say M here to compile this support as a module (which
1162           will be called arthur).
1163
1164 endmenu
1165
1166 menu "Power management options"
1167
1168 source "kernel/power/Kconfig"
1169
1170 config ARCH_SUSPEND_POSSIBLE
1171         def_bool y
1172
1173 endmenu
1174
1175 source "net/Kconfig"
1176
1177 menu "Device Drivers"
1178
1179 source "drivers/base/Kconfig"
1180
1181 source "drivers/connector/Kconfig"
1182
1183 if ALIGNMENT_TRAP || !CPU_CP15_MMU
1184 source "drivers/mtd/Kconfig"
1185 endif
1186
1187 source "drivers/parport/Kconfig"
1188
1189 source "drivers/pnp/Kconfig"
1190
1191 source "drivers/block/Kconfig"
1192
1193 # misc before ide - BLK_DEV_SGIIOC4 depends on SGI_IOC4
1194
1195 source "drivers/misc/Kconfig"
1196
1197 source "drivers/ide/Kconfig"
1198
1199 source "drivers/scsi/Kconfig"
1200
1201 source "drivers/ata/Kconfig"
1202
1203 source "drivers/md/Kconfig"
1204
1205 source "drivers/message/fusion/Kconfig"
1206
1207 source "drivers/ieee1394/Kconfig"
1208
1209 source "drivers/message/i2o/Kconfig"
1210
1211 source "drivers/net/Kconfig"
1212
1213 source "drivers/isdn/Kconfig"
1214
1215 # input before char - char/joystick depends on it. As does USB.
1216
1217 source "drivers/input/Kconfig"
1218
1219 source "drivers/char/Kconfig"
1220
1221 source "drivers/i2c/Kconfig"
1222
1223 source "drivers/spi/Kconfig"
1224
1225 source "drivers/gpio/Kconfig"
1226
1227 source "drivers/w1/Kconfig"
1228
1229 source "drivers/power/Kconfig"
1230
1231 source "drivers/hwmon/Kconfig"
1232
1233 source "drivers/thermal/Kconfig"
1234
1235 source "drivers/watchdog/Kconfig"
1236
1237 source "drivers/ssb/Kconfig"
1238
1239 #source "drivers/l3/Kconfig"
1240
1241 source "drivers/mfd/Kconfig"
1242
1243 source "drivers/media/Kconfig"
1244
1245 source "drivers/video/Kconfig"
1246
1247 source "sound/Kconfig"
1248
1249 source "drivers/hid/Kconfig"
1250
1251 source "drivers/usb/Kconfig"
1252
1253 source "drivers/mmc/Kconfig"
1254
1255 source "drivers/memstick/Kconfig"
1256
1257 source "drivers/accessibility/Kconfig"
1258
1259 source "drivers/leds/Kconfig"
1260
1261 source "drivers/rtc/Kconfig"
1262
1263 source "drivers/dma/Kconfig"
1264
1265 source "drivers/dca/Kconfig"
1266
1267 source "drivers/auxdisplay/Kconfig"
1268
1269 source "drivers/regulator/Kconfig"
1270
1271 source "drivers/uio/Kconfig"
1272
1273 endmenu
1274
1275 source "fs/Kconfig"
1276
1277 source "arch/arm/Kconfig.debug"
1278
1279 source "security/Kconfig"
1280
1281 source "crypto/Kconfig"
1282
1283 source "lib/Kconfig"