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