[ARM] sa1100: add clock event support
[firefly-linux-kernel-4.4.55.git] / arch / arm / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux Kernel Configuration"
7
8 config ARM
9         bool
10         default y
11         select 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         help
259           This enables support for the Cirrus EP93xx series of CPUs.
260
261 config ARCH_FOOTBRIDGE
262         bool "FootBridge"
263         select FOOTBRIDGE
264         select HAVE_IDE
265         help
266           Support for systems based on the DC21285 companion chip
267           ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
268
269 config ARCH_NETX
270         bool "Hilscher NetX based"
271         select ARM_VIC
272         help
273           This enables support for systems based on the Hilscher NetX Soc
274
275 config ARCH_H720X
276         bool "Hynix HMS720x-based"
277         select ISA_DMA_API
278         help
279           This enables support for systems based on the Hynix HMS720x
280
281 config ARCH_IMX
282         bool "IMX"
283         select GENERIC_GPIO
284         select GENERIC_TIME
285         select GENERIC_CLOCKEVENTS
286         help
287           Support for Motorola's i.MX family of processors (MX1, MXL).
288
289 config ARCH_IOP13XX
290         bool "IOP13xx-based"
291         depends on MMU
292         select PLAT_IOP
293         select PCI
294         select ARCH_SUPPORTS_MSI
295         help
296           Support for Intel's IOP13XX (XScale) family of processors.
297
298 config ARCH_IOP32X
299         bool "IOP32x-based"
300         depends on MMU
301         select PLAT_IOP
302         select PCI
303         select HAVE_IDE
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 HAVE_IDE
314         help
315           Support for Intel's IOP33X (XScale) family of processors.
316
317 config ARCH_IXP23XX
318         bool "IXP23XX-based"
319         depends on MMU
320         select HAVE_IDE
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         select HAVE_IDE
339         help
340           Support for Intel's IXP4XX (XScale) family of processors.
341
342 config ARCH_L7200
343         bool "LinkUp-L7200"
344         select FIQ
345         select HAVE_IDE
346         help
347           Say Y here if you intend to run this kernel on a LinkUp Systems
348           L7200 Software Development Board which uses an ARM720T processor.
349           Information on this board can be obtained at:
350
351           <http://www.linkupsys.com/>
352
353           If you have any questions or comments about the Linux kernel port
354           to this board, send e-mail to <sjhill@cotw.com>.
355
356 config ARCH_KS8695
357         bool "Micrel/Kendin KS8695"
358         select GENERIC_GPIO
359         help
360           Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
361           System-on-Chip devices.
362
363 config ARCH_NS9XXX
364         bool "NetSilicon NS9xxx"
365         select GENERIC_GPIO
366         select GENERIC_TIME
367         select GENERIC_CLOCKEVENTS
368         help
369           Say Y here if you intend to run this kernel on a NetSilicon NS9xxx
370           System.
371
372           <http://www.digi.com/products/microprocessors/index.jsp>
373
374 config ARCH_MXC
375         bool "Freescale MXC/iMX-based"
376         select ARCH_MTD_XIP
377         help
378           Support for Freescale MXC/iMX-based family of processors
379
380 config ARCH_ORION
381         bool "Marvell Orion"
382         depends on MMU
383         select PCI
384         select GENERIC_GPIO
385         select GENERIC_TIME
386         select GENERIC_CLOCKEVENTS
387         help
388           Support for Marvell Orion System on Chip family.
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_IDE
401         select HAVE_GPIO_LIB
402         select GENERIC_TIME
403         select GENERIC_CLOCKEVENTS
404         select TICK_ONESHOT
405         help
406           Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
407
408 config ARCH_RPC
409         bool "RiscPC"
410         select ARCH_ACORN
411         select FIQ
412         select TIMER_ACORN
413         select ARCH_MAY_HAVE_PC_FDC
414         select ISA_DMA_API
415         select NO_IOPORT
416         select HAVE_IDE
417         help
418           On the Acorn Risc-PC, Linux can support the internal IDE disk and
419           CD-ROM interface, serial and parallel port, and the floppy drive.
420
421 config ARCH_SA1100
422         bool "SA1100-based"
423         select ISA
424         select ARCH_DISCONTIGMEM_ENABLE
425         select ARCH_MTD_XIP
426         select GENERIC_GPIO
427         select GENERIC_TIME
428         select GENERIC_CLOCKEVENTS
429         select TICK_ONESHOT
430         select HAVE_IDE
431         select HAVE_GPIO_LIB
432         help
433           Support for StrongARM 11x0 based boards.
434
435 config ARCH_S3C2410
436         bool "Samsung S3C2410, S3C2412, S3C2413, S3C2440, S3C2442, S3C2443"
437         select GENERIC_GPIO
438         select HAVE_IDE
439         help
440           Samsung S3C2410X CPU based systems, such as the Simtec Electronics
441           BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
442           the Samsung SMDK2410 development board (and derivatives).
443
444 config ARCH_SHARK
445         bool "Shark"
446         select HAVE_IDE
447         select ISA
448         select ISA_DMA
449         select PCI
450         help
451           Support for the StrongARM based Digital DNARD machine, also known
452           as "Shark" (<http://www.shark-linux.de/shark.html>).
453
454 config ARCH_LH7A40X
455         bool "Sharp LH7A40X"
456         select HAVE_IDE
457         help
458           Say Y here for systems based on one of the Sharp LH7A40X
459           System on a Chip processors.  These CPUs include an ARM922T
460           core with a wide array of integrated devices for
461           hand-held and low-power applications.
462
463 config ARCH_DAVINCI
464         bool "TI DaVinci"
465         select GENERIC_TIME
466         select GENERIC_CLOCKEVENTS
467         select GENERIC_GPIO
468         help
469           Support for TI's DaVinci platform.
470
471 config ARCH_OMAP
472         bool "TI OMAP"
473         select GENERIC_GPIO
474         select GENERIC_TIME
475         select GENERIC_CLOCKEVENTS
476         help
477           Support for TI's OMAP platform (OMAP1 and OMAP2).
478
479 config ARCH_MSM7X00A
480         bool "Qualcomm MSM7X00A"
481         select GENERIC_TIME
482         select GENERIC_CLOCKEVENTS
483         help
484           Support for Qualcomm MSM7X00A based systems.  This runs on the ARM11
485           apps processor of the MSM7X00A and depends on a shared memory
486           interface to the ARM9 modem processor which runs the baseband stack
487           and controls some vital subsystems (clock and power control, etc).
488           <http://www.cdmatech.com/products/msm7200_chipset_solution.jsp>
489
490 endchoice
491
492 source "arch/arm/mach-clps711x/Kconfig"
493
494 source "arch/arm/mach-ep93xx/Kconfig"
495
496 source "arch/arm/mach-footbridge/Kconfig"
497
498 source "arch/arm/mach-integrator/Kconfig"
499
500 source "arch/arm/mach-iop32x/Kconfig"
501
502 source "arch/arm/mach-iop33x/Kconfig"
503
504 source "arch/arm/mach-iop13xx/Kconfig"
505
506 source "arch/arm/mach-ixp4xx/Kconfig"
507
508 source "arch/arm/mach-ixp2000/Kconfig"
509
510 source "arch/arm/mach-ixp23xx/Kconfig"
511
512 source "arch/arm/mach-pxa/Kconfig"
513
514 source "arch/arm/mach-sa1100/Kconfig"
515
516 source "arch/arm/plat-omap/Kconfig"
517
518 source "arch/arm/mach-omap1/Kconfig"
519
520 source "arch/arm/mach-omap2/Kconfig"
521
522 source "arch/arm/mach-orion/Kconfig"
523
524 source "arch/arm/plat-s3c24xx/Kconfig"
525 source "arch/arm/plat-s3c/Kconfig"
526
527 if ARCH_S3C2410
528 source "arch/arm/mach-s3c2400/Kconfig"
529 source "arch/arm/mach-s3c2410/Kconfig"
530 source "arch/arm/mach-s3c2412/Kconfig"
531 source "arch/arm/mach-s3c2440/Kconfig"
532 source "arch/arm/mach-s3c2442/Kconfig"
533 source "arch/arm/mach-s3c2443/Kconfig"
534 endif
535
536 source "arch/arm/mach-lh7a40x/Kconfig"
537
538 source "arch/arm/mach-imx/Kconfig"
539
540 source "arch/arm/mach-h720x/Kconfig"
541
542 source "arch/arm/mach-versatile/Kconfig"
543
544 source "arch/arm/mach-aaec2000/Kconfig"
545
546 source "arch/arm/mach-realview/Kconfig"
547
548 source "arch/arm/mach-at91/Kconfig"
549
550 source "arch/arm/plat-mxc/Kconfig"
551
552 source "arch/arm/mach-netx/Kconfig"
553
554 source "arch/arm/mach-ns9xxx/Kconfig"
555
556 source "arch/arm/mach-davinci/Kconfig"
557
558 source "arch/arm/mach-ks8695/Kconfig"
559
560 source "arch/arm/mach-msm/Kconfig"
561
562 # Definitions to make life easier
563 config ARCH_ACORN
564         bool
565
566 config PLAT_IOP
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
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
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 NODES_SHIFT
781         int
782         default "4" if ARCH_LH7A40X
783         default "2"
784         depends on NEED_MULTIPLE_NODES
785
786 source "mm/Kconfig"
787
788 config LEDS
789         bool "Timer and CPU usage LEDs"
790         depends on ARCH_CDB89712 || ARCH_CO285 || ARCH_EBSA110 || \
791                    ARCH_EBSA285 || ARCH_IMX || ARCH_INTEGRATOR || \
792                    ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
793                    ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
794                    ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
795                    ARCH_AT91 || MACH_TRIZEPS4 || ARCH_DAVINCI || \
796                    ARCH_KS8695 || MACH_RD88F5182
797         help
798           If you say Y here, the LEDs on your machine will be used
799           to provide useful information about your current system status.
800
801           If you are compiling a kernel for a NetWinder or EBSA-285, you will
802           be able to select which LEDs are active using the options below. If
803           you are compiling a kernel for the EBSA-110 or the LART however, the
804           red LED will simply flash regularly to indicate that the system is
805           still functional. It is safe to say Y here if you have a CATS
806           system, but the driver will do nothing.
807
808 config LEDS_TIMER
809         bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
810                             OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
811                             || MACH_OMAP_PERSEUS2
812         depends on LEDS
813         depends on !GENERIC_CLOCKEVENTS
814         default y if ARCH_EBSA110
815         help
816           If you say Y here, one of the system LEDs (the green one on the
817           NetWinder, the amber one on the EBSA285, or the red one on the LART)
818           will flash regularly to indicate that the system is still
819           operational. This is mainly useful to kernel hackers who are
820           debugging unstable kernels.
821
822           The LART uses the same LED for both Timer LED and CPU usage LED
823           functions. You may choose to use both, but the Timer LED function
824           will overrule the CPU usage LED.
825
826 config LEDS_CPU
827         bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
828                         !ARCH_OMAP) \
829                         || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
830                         || MACH_OMAP_PERSEUS2
831         depends on LEDS
832         help
833           If you say Y here, the red LED will be used to give a good real
834           time indication of CPU usage, by lighting whenever the idle task
835           is not currently executing.
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 ALIGNMENT_TRAP
842         bool
843         depends on CPU_CP15_MMU
844         default y if !ARCH_EBSA110
845         help
846           ARM processors cannot fetch/store information which is not
847           naturally aligned on the bus, i.e., a 4 byte fetch must start at an
848           address divisible by 4. On 32-bit ARM processors, these non-aligned
849           fetch/store instructions will be emulated in software if you say
850           here, which has a severe performance impact. This is necessary for
851           correct operation of some network protocols. With an IP-only
852           configuration it is safe to say N, otherwise say Y.
853
854 endmenu
855
856 menu "Boot options"
857
858 # Compressed boot loader in ROM.  Yes, we really want to ask about
859 # TEXT and BSS so we preserve their values in the config files.
860 config ZBOOT_ROM_TEXT
861         hex "Compressed ROM boot loader base address"
862         default "0"
863         help
864           The physical address at which the ROM-able zImage is to be
865           placed in the target.  Platforms which normally make use of
866           ROM-able zImage formats normally set this to a suitable
867           value in their defconfig file.
868
869           If ZBOOT_ROM is not enabled, this has no effect.
870
871 config ZBOOT_ROM_BSS
872         hex "Compressed ROM boot loader BSS address"
873         default "0"
874         help
875           The base address of an area of read/write memory in the target
876           for the ROM-able zImage which must be available while the
877           decompressor is running. It must be large enough to hold the
878           entire decompressed kernel plus an additional 128 KiB.
879           Platforms which normally make use of ROM-able zImage formats
880           normally set this to a suitable value in their defconfig file.
881
882           If ZBOOT_ROM is not enabled, this has no effect.
883
884 config ZBOOT_ROM
885         bool "Compressed boot loader in ROM/flash"
886         depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
887         help
888           Say Y here if you intend to execute your compressed kernel image
889           (zImage) directly from ROM or flash.  If unsure, say N.
890
891 config CMDLINE
892         string "Default kernel command string"
893         default ""
894         help
895           On some architectures (EBSA110 and CATS), there is currently no way
896           for the boot loader to pass arguments to the kernel. For these
897           architectures, you should supply some command-line options at build
898           time by entering them here. As a minimum, you should specify the
899           memory size and the root device (e.g., mem=64M root=/dev/nfs).
900
901 config XIP_KERNEL
902         bool "Kernel Execute-In-Place from ROM"
903         depends on !ZBOOT_ROM
904         help
905           Execute-In-Place allows the kernel to run from non-volatile storage
906           directly addressable by the CPU, such as NOR flash. This saves RAM
907           space since the text section of the kernel is not loaded from flash
908           to RAM.  Read-write sections, such as the data section and stack,
909           are still copied to RAM.  The XIP kernel is not compressed since
910           it has to run directly from flash, so it will take more space to
911           store it.  The flash address used to link the kernel object files,
912           and for storing it, is configuration dependent. Therefore, if you
913           say Y here, you must know the proper physical address where to
914           store the kernel image depending on your own flash memory usage.
915
916           Also note that the make target becomes "make xipImage" rather than
917           "make zImage" or "make Image".  The final kernel binary to put in
918           ROM memory will be arch/arm/boot/xipImage.
919
920           If unsure, say N.
921
922 config XIP_PHYS_ADDR
923         hex "XIP Kernel Physical Location"
924         depends on XIP_KERNEL
925         default "0x00080000"
926         help
927           This is the physical address in your flash memory the kernel will
928           be linked for and stored to.  This address is dependent on your
929           own flash usage.
930
931 config KEXEC
932         bool "Kexec system call (EXPERIMENTAL)"
933         depends on EXPERIMENTAL
934         help
935           kexec is a system call that implements the ability to shutdown your
936           current kernel, and to start another kernel.  It is like a reboot
937           but it is independent of the system firmware.   And like a reboot
938           you can start any kernel with it, not just Linux.
939
940           It is an ongoing process to be certain the hardware in a machine
941           is properly shutdown, so do not be surprised if this code does not
942           initially work for you.  It may help to enable device hotplugging
943           support.
944
945 config ATAGS_PROC
946         bool "Export atags in procfs"
947         depends on KEXEC
948         default y
949         help
950           Should the atags used to boot the kernel be exported in an "atags"
951           file in procfs. Useful with kexec.
952
953 endmenu
954
955 if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA)
956
957 menu "CPU Frequency scaling"
958
959 source "drivers/cpufreq/Kconfig"
960
961 config CPU_FREQ_SA1100
962         bool
963         depends on CPU_FREQ && (SA1100_H3100 || SA1100_H3600 || SA1100_H3800 || SA1100_LART || SA1100_PLEB || SA1100_BADGE4 || SA1100_HACKKIT)
964         default y
965
966 config CPU_FREQ_SA1110
967         bool
968         depends on CPU_FREQ && (SA1100_ASSABET || SA1100_CERF || SA1100_PT_SYSTEM3)
969         default y
970
971 config CPU_FREQ_INTEGRATOR
972         tristate "CPUfreq driver for ARM Integrator CPUs"
973         depends on ARCH_INTEGRATOR && CPU_FREQ
974         default y
975         help
976           This enables the CPUfreq driver for ARM Integrator CPUs.
977
978           For details, take a look at <file:Documentation/cpu-freq>.
979
980           If in doubt, say Y.
981
982 config CPU_FREQ_IMX
983         tristate "CPUfreq driver for i.MX CPUs"
984         depends on ARCH_IMX && CPU_FREQ
985         default n
986         help
987           This enables the CPUfreq driver for i.MX CPUs.
988
989           If in doubt, say N.
990
991 config CPU_FREQ_PXA
992         bool
993         depends on CPU_FREQ && ARCH_PXA && PXA25x
994         default y
995         select CPU_FREQ_DEFAULT_GOV_USERSPACE
996
997 endmenu
998
999 endif
1000
1001 menu "Floating point emulation"
1002
1003 comment "At least one emulation must be selected"
1004
1005 config FPE_NWFPE
1006         bool "NWFPE math emulation"
1007         depends on !AEABI || OABI_COMPAT
1008         ---help---
1009           Say Y to include the NWFPE floating point emulator in the kernel.
1010           This is necessary to run most binaries. Linux does not currently
1011           support floating point hardware so you need to say Y here even if
1012           your machine has an FPA or floating point co-processor podule.
1013
1014           You may say N here if you are going to load the Acorn FPEmulator
1015           early in the bootup.
1016
1017 config FPE_NWFPE_XP
1018         bool "Support extended precision"
1019         depends on FPE_NWFPE
1020         help
1021           Say Y to include 80-bit support in the kernel floating-point
1022           emulator.  Otherwise, only 32 and 64-bit support is compiled in.
1023           Note that gcc does not generate 80-bit operations by default,
1024           so in most cases this option only enlarges the size of the
1025           floating point emulator without any good reason.
1026
1027           You almost surely want to say N here.
1028
1029 config FPE_FASTFPE
1030         bool "FastFPE math emulation (EXPERIMENTAL)"
1031         depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1032         ---help---
1033           Say Y here to include the FAST floating point emulator in the kernel.
1034           This is an experimental much faster emulator which now also has full
1035           precision for the mantissa.  It does not support any exceptions.
1036           It is very simple, and approximately 3-6 times faster than NWFPE.
1037
1038           It should be sufficient for most programs.  It may be not suitable
1039           for scientific calculations, but you have to check this for yourself.
1040           If you do not feel you need a faster FP emulation you should better
1041           choose NWFPE.
1042
1043 config VFP
1044         bool "VFP-format floating point maths"
1045         depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1046         help
1047           Say Y to include VFP support code in the kernel. This is needed
1048           if your hardware includes a VFP unit.
1049
1050           Please see <file:Documentation/arm/VFP/release-notes.txt> for
1051           release notes and additional status information.
1052
1053           Say N if your target does not have VFP hardware.
1054
1055 config VFPv3
1056         bool
1057         depends on VFP
1058         default y if CPU_V7
1059
1060 config NEON
1061         bool "Advanced SIMD (NEON) Extension support"
1062         depends on VFPv3 && CPU_V7
1063         help
1064           Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1065           Extension.
1066
1067 endmenu
1068
1069 menu "Userspace binary formats"
1070
1071 source "fs/Kconfig.binfmt"
1072
1073 config ARTHUR
1074         tristate "RISC OS personality"
1075         depends on !AEABI
1076         help
1077           Say Y here to include the kernel code necessary if you want to run
1078           Acorn RISC OS/Arthur binaries under Linux. This code is still very
1079           experimental; if this sounds frightening, say N and sleep in peace.
1080           You can also say M here to compile this support as a module (which
1081           will be called arthur).
1082
1083 endmenu
1084
1085 menu "Power management options"
1086
1087 source "kernel/power/Kconfig"
1088
1089 config ARCH_SUSPEND_POSSIBLE
1090         def_bool y
1091
1092 endmenu
1093
1094 source "net/Kconfig"
1095
1096 menu "Device Drivers"
1097
1098 source "drivers/base/Kconfig"
1099
1100 source "drivers/connector/Kconfig"
1101
1102 if ALIGNMENT_TRAP || !CPU_CP15_MMU
1103 source "drivers/mtd/Kconfig"
1104 endif
1105
1106 source "drivers/parport/Kconfig"
1107
1108 source "drivers/pnp/Kconfig"
1109
1110 source "drivers/block/Kconfig"
1111
1112 # misc before ide - BLK_DEV_SGIIOC4 depends on SGI_IOC4
1113
1114 source "drivers/misc/Kconfig"
1115
1116 source "drivers/ide/Kconfig"
1117
1118 source "drivers/scsi/Kconfig"
1119
1120 source "drivers/ata/Kconfig"
1121
1122 source "drivers/md/Kconfig"
1123
1124 source "drivers/message/fusion/Kconfig"
1125
1126 source "drivers/ieee1394/Kconfig"
1127
1128 source "drivers/message/i2o/Kconfig"
1129
1130 source "drivers/net/Kconfig"
1131
1132 source "drivers/isdn/Kconfig"
1133
1134 # input before char - char/joystick depends on it. As does USB.
1135
1136 source "drivers/input/Kconfig"
1137
1138 source "drivers/char/Kconfig"
1139
1140 source "drivers/i2c/Kconfig"
1141
1142 source "drivers/spi/Kconfig"
1143
1144 source "drivers/gpio/Kconfig"
1145
1146 source "drivers/w1/Kconfig"
1147
1148 source "drivers/power/Kconfig"
1149
1150 source "drivers/hwmon/Kconfig"
1151
1152 source "drivers/watchdog/Kconfig"
1153
1154 source "drivers/ssb/Kconfig"
1155
1156 #source "drivers/l3/Kconfig"
1157
1158 source "drivers/mfd/Kconfig"
1159
1160 source "drivers/media/Kconfig"
1161
1162 source "drivers/video/Kconfig"
1163
1164 source "sound/Kconfig"
1165
1166 source "drivers/hid/Kconfig"
1167
1168 source "drivers/usb/Kconfig"
1169
1170 source "drivers/mmc/Kconfig"
1171
1172 source "drivers/leds/Kconfig"
1173
1174 source "drivers/rtc/Kconfig"
1175
1176 source "drivers/dma/Kconfig"
1177
1178 source "drivers/dca/Kconfig"
1179
1180 endmenu
1181
1182 source "fs/Kconfig"
1183
1184 source "arch/arm/Kconfig.debug"
1185
1186 source "security/Kconfig"
1187
1188 source "crypto/Kconfig"
1189
1190 source "lib/Kconfig"