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