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