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