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