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