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