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