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