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