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