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