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