Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux...
[pandora-kernel.git] / arch / arm / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux Kernel Configuration"
7
8 config ARM
9         bool
10         default y
11         select HAVE_AOUT
12         select HAVE_IDE
13         select RTC_LIB
14         select SYS_SUPPORTS_APM_EMULATION
15         select HAVE_OPROFILE
16         select HAVE_ARCH_KGDB
17         select HAVE_KPROBES if (!XIP_KERNEL)
18         select HAVE_KRETPROBES if (HAVE_KPROBES)
19         select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
20         select HAVE_GENERIC_DMA_COHERENT
21         help
22           The ARM series is a line of low-power-consumption RISC chip designs
23           licensed by ARM Ltd and targeted at embedded applications and
24           handhelds such as the Compaq IPAQ.  ARM-based PCs are no longer
25           manufactured, but legacy ARM-based PC hardware remains popular in
26           Europe.  There is an ARM Linux project with a web page at
27           <http://www.arm.linux.org.uk/>.
28
29 config HAVE_PWM
30         bool
31
32 config SYS_SUPPORTS_APM_EMULATION
33         bool
34
35 config GENERIC_GPIO
36         bool
37         default n
38
39 config GENERIC_TIME
40         bool
41         default n
42
43 config GENERIC_CLOCKEVENTS
44         bool
45         default n
46
47 config GENERIC_CLOCKEVENTS_BROADCAST
48         bool
49         depends on GENERIC_CLOCKEVENTS
50         default y if SMP && !LOCAL_TIMERS
51
52 config MMU
53         bool
54         default y
55
56 config NO_IOPORT
57         bool
58         default n
59
60 config EISA
61         bool
62         ---help---
63           The Extended Industry Standard Architecture (EISA) bus was
64           developed as an open alternative to the IBM MicroChannel bus.
65
66           The EISA bus provided some of the features of the IBM MicroChannel
67           bus while maintaining backward compatibility with cards made for
68           the older ISA bus.  The EISA bus saw limited use between 1988 and
69           1995 when it was made obsolete by the PCI bus.
70
71           Say Y here if you are building a kernel for an EISA-based machine.
72
73           Otherwise, say N.
74
75 config SBUS
76         bool
77
78 config MCA
79         bool
80         help
81           MicroChannel Architecture is found in some IBM PS/2 machines and
82           laptops.  It is a bus system similar to PCI or ISA. See
83           <file:Documentation/mca.txt> (and especially the web page given
84           there) before attempting to build an MCA bus kernel.
85
86 config GENERIC_HARDIRQS
87         bool
88         default y
89
90 config STACKTRACE_SUPPORT
91         bool
92         default y
93
94 config HAVE_LATENCYTOP_SUPPORT
95         bool
96         depends on !SMP
97         default y
98
99 config LOCKDEP_SUPPORT
100         bool
101         default y
102
103 config TRACE_IRQFLAGS_SUPPORT
104         bool
105         default y
106
107 config HARDIRQS_SW_RESEND
108         bool
109         default y
110
111 config GENERIC_IRQ_PROBE
112         bool
113         default y
114
115 config GENERIC_LOCKBREAK
116         bool
117         default y
118         depends on SMP && PREEMPT
119
120 config RWSEM_GENERIC_SPINLOCK
121         bool
122         default y
123
124 config RWSEM_XCHGADD_ALGORITHM
125         bool
126
127 config ARCH_HAS_ILOG2_U32
128         bool
129         default n
130
131 config ARCH_HAS_ILOG2_U64
132         bool
133         default n
134
135 config GENERIC_HWEIGHT
136         bool
137         default y
138
139 config GENERIC_CALIBRATE_DELAY
140         bool
141         default y
142
143 config ARCH_MAY_HAVE_PC_FDC
144         bool
145
146 config ZONE_DMA
147         bool
148
149 config GENERIC_ISA_DMA
150         bool
151
152 config FIQ
153         bool
154
155 config ARCH_MTD_XIP
156         bool
157
158 config GENERIC_HARDIRQS_NO__DO_IRQ
159         def_bool y
160
161 if OPROFILE
162
163 config OPROFILE_ARMV6
164         def_bool y
165         depends on CPU_V6 && !SMP
166         select OPROFILE_ARM11_CORE
167
168 config OPROFILE_MPCORE
169         def_bool y
170         depends on CPU_V6 && SMP
171         select OPROFILE_ARM11_CORE
172
173 config OPROFILE_ARM11_CORE
174         bool
175
176 config OPROFILE_ARMV7
177         def_bool y
178         depends on CPU_V7 && !SMP
179         bool
180
181 endif
182
183 config VECTORS_BASE
184         hex
185         default 0xffff0000 if MMU || CPU_HIGH_VECTOR
186         default DRAM_BASE if REMAP_VECTORS_TO_RAM
187         default 0x00000000
188         help
189           The base address of exception vectors.
190
191 source "init/Kconfig"
192
193 source "kernel/Kconfig.freezer"
194
195 menu "System Type"
196
197 choice
198         prompt "ARM system type"
199         default ARCH_VERSATILE
200
201 config ARCH_AAEC2000
202         bool "Agilent AAEC-2000 based"
203         select CPU_ARM920T
204         select ARM_AMBA
205         select HAVE_CLK
206         help
207           This enables support for systems based on the Agilent AAEC-2000
208
209 config ARCH_INTEGRATOR
210         bool "ARM Ltd. Integrator family"
211         select ARM_AMBA
212         select HAVE_CLK
213         select COMMON_CLKDEV
214         select ICST525
215         help
216           Support for ARM's Integrator platform.
217
218 config ARCH_REALVIEW
219         bool "ARM Ltd. RealView family"
220         select ARM_AMBA
221         select HAVE_CLK
222         select COMMON_CLKDEV
223         select ICST307
224         select GENERIC_TIME
225         select GENERIC_CLOCKEVENTS
226         help
227           This enables support for ARM Ltd RealView boards.
228
229 config ARCH_VERSATILE
230         bool "ARM Ltd. Versatile family"
231         select ARM_AMBA
232         select ARM_VIC
233         select HAVE_CLK
234         select COMMON_CLKDEV
235         select ICST307
236         select GENERIC_TIME
237         select GENERIC_CLOCKEVENTS
238         help
239           This enables support for ARM Ltd Versatile board.
240
241 config ARCH_AT91
242         bool "Atmel AT91"
243         select GENERIC_GPIO
244         select ARCH_REQUIRE_GPIOLIB
245         select HAVE_CLK
246         help
247           This enables support for systems based on the Atmel AT91RM9200,
248           AT91SAM9 and AT91CAP9 processors.
249
250 config ARCH_CLPS711X
251         bool "Cirrus Logic CLPS711x/EP721x-based"
252         select CPU_ARM720T
253         help
254           Support for Cirrus Logic 711x/721x based boards.
255
256 config ARCH_GEMINI
257         bool "Cortina Systems Gemini"
258         select CPU_FA526
259         select GENERIC_GPIO
260         select ARCH_REQUIRE_GPIOLIB
261         help
262           Support for the Cortina Systems Gemini family SoCs
263
264 config ARCH_EBSA110
265         bool "EBSA-110"
266         select CPU_SA110
267         select ISA
268         select NO_IOPORT
269         help
270           This is an evaluation board for the StrongARM processor available
271           from Digital. It has limited hardware on-board, including an
272           Ethernet interface, two PCMCIA sockets, two serial ports and a
273           parallel port.
274
275 config ARCH_EP93XX
276         bool "EP93xx-based"
277         select CPU_ARM920T
278         select ARM_AMBA
279         select ARM_VIC
280         select GENERIC_GPIO
281         select HAVE_CLK
282         select COMMON_CLKDEV
283         select ARCH_REQUIRE_GPIOLIB
284         select ARCH_HAS_HOLES_MEMORYMODEL
285         help
286           This enables support for the Cirrus EP93xx series of CPUs.
287
288 config ARCH_FOOTBRIDGE
289         bool "FootBridge"
290         select CPU_SA110
291         select FOOTBRIDGE
292         help
293           Support for systems based on the DC21285 companion chip
294           ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
295
296 config ARCH_MXC
297         bool "Freescale MXC/iMX-based"
298         select GENERIC_TIME
299         select GENERIC_CLOCKEVENTS
300         select ARCH_MTD_XIP
301         select GENERIC_GPIO
302         select ARCH_REQUIRE_GPIOLIB
303         select HAVE_CLK
304         help
305           Support for Freescale MXC/iMX-based family of processors
306
307 config ARCH_NETX
308         bool "Hilscher NetX based"
309         select CPU_ARM926T
310         select ARM_VIC
311         select GENERIC_CLOCKEVENTS
312         select GENERIC_TIME
313         help
314           This enables support for systems based on the Hilscher NetX Soc
315
316 config ARCH_H720X
317         bool "Hynix HMS720x-based"
318         select CPU_ARM720T
319         select ISA_DMA_API
320         help
321           This enables support for systems based on the Hynix HMS720x
322
323 config ARCH_IOP13XX
324         bool "IOP13xx-based"
325         depends on MMU
326         select CPU_XSC3
327         select PLAT_IOP
328         select PCI
329         select ARCH_SUPPORTS_MSI
330         select VMSPLIT_1G
331         help
332           Support for Intel's IOP13XX (XScale) family of processors.
333
334 config ARCH_IOP32X
335         bool "IOP32x-based"
336         depends on MMU
337         select CPU_XSCALE
338         select PLAT_IOP
339         select PCI
340         select GENERIC_GPIO
341         select ARCH_REQUIRE_GPIOLIB
342         help
343           Support for Intel's 80219 and IOP32X (XScale) family of
344           processors.
345
346 config ARCH_IOP33X
347         bool "IOP33x-based"
348         depends on MMU
349         select CPU_XSCALE
350         select PLAT_IOP
351         select PCI
352         select GENERIC_GPIO
353         select ARCH_REQUIRE_GPIOLIB
354         help
355           Support for Intel's IOP33X (XScale) family of processors.
356
357 config ARCH_IXP23XX
358         bool "IXP23XX-based"
359         depends on MMU
360         select CPU_XSC3
361         select PCI
362         help
363           Support for Intel's IXP23xx (XScale) family of processors.
364
365 config ARCH_IXP2000
366         bool "IXP2400/2800-based"
367         depends on MMU
368         select CPU_XSCALE
369         select PCI
370         help
371           Support for Intel's IXP2400/2800 (XScale) family of processors.
372
373 config ARCH_IXP4XX
374         bool "IXP4xx-based"
375         depends on MMU
376         select CPU_XSCALE
377         select GENERIC_GPIO
378         select GENERIC_TIME
379         select GENERIC_CLOCKEVENTS
380         select DMABOUNCE if PCI
381         help
382           Support for Intel's IXP4XX (XScale) family of processors.
383
384 config ARCH_L7200
385         bool "LinkUp-L7200"
386         select CPU_ARM720T
387         select FIQ
388         help
389           Say Y here if you intend to run this kernel on a LinkUp Systems
390           L7200 Software Development Board which uses an ARM720T processor.
391           Information on this board can be obtained at:
392
393           <http://www.linkupsys.com/>
394
395           If you have any questions or comments about the Linux kernel port
396           to this board, send e-mail to <sjhill@cotw.com>.
397
398 config ARCH_KIRKWOOD
399         bool "Marvell Kirkwood"
400         select CPU_FEROCEON
401         select PCI
402         select GENERIC_GPIO
403         select GENERIC_TIME
404         select GENERIC_CLOCKEVENTS
405         select PLAT_ORION
406         help
407           Support for the following Marvell Kirkwood series SoCs:
408           88F6180, 88F6192 and 88F6281.
409
410 config ARCH_LOKI
411         bool "Marvell Loki (88RC8480)"
412         select CPU_FEROCEON
413         select GENERIC_TIME
414         select GENERIC_CLOCKEVENTS
415         select PLAT_ORION
416         help
417           Support for the Marvell Loki (88RC8480) SoC.
418
419 config ARCH_MV78XX0
420         bool "Marvell MV78xx0"
421         select CPU_FEROCEON
422         select PCI
423         select GENERIC_GPIO
424         select GENERIC_TIME
425         select GENERIC_CLOCKEVENTS
426         select PLAT_ORION
427         help
428           Support for the following Marvell MV78xx0 series SoCs:
429           MV781x0, MV782x0.
430
431 config ARCH_ORION5X
432         bool "Marvell Orion"
433         depends on MMU
434         select CPU_FEROCEON
435         select PCI
436         select GENERIC_GPIO
437         select GENERIC_TIME
438         select GENERIC_CLOCKEVENTS
439         select PLAT_ORION
440         help
441           Support for the following Marvell Orion 5x series SoCs:
442           Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
443           Orion-2 (5281), Orion-1-90 (6183).
444
445 config ARCH_MMP
446         bool "Marvell PXA168/910"
447         depends on MMU
448         select GENERIC_GPIO
449         select ARCH_REQUIRE_GPIOLIB
450         select HAVE_CLK
451         select COMMON_CLKDEV
452         select GENERIC_TIME
453         select GENERIC_CLOCKEVENTS
454         select TICK_ONESHOT
455         select PLAT_PXA
456         help
457           Support for Marvell's PXA168/910 processor line.
458
459 config ARCH_KS8695
460         bool "Micrel/Kendin KS8695"
461         select CPU_ARM922T
462         select GENERIC_GPIO
463         select ARCH_REQUIRE_GPIOLIB
464         help
465           Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
466           System-on-Chip devices.
467
468 config ARCH_NS9XXX
469         bool "NetSilicon NS9xxx"
470         select CPU_ARM926T
471         select GENERIC_GPIO
472         select GENERIC_TIME
473         select GENERIC_CLOCKEVENTS
474         select HAVE_CLK
475         help
476           Say Y here if you intend to run this kernel on a NetSilicon NS9xxx
477           System.
478
479           <http://www.digi.com/products/microprocessors/index.jsp>
480
481 config ARCH_W90X900
482         bool "Nuvoton W90X900 CPU"
483         select CPU_ARM926T
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)
853         select USE_GENERIC_SMP_HELPERS
854         help
855           This enables support for systems with more than one CPU. If you have
856           a system with only one CPU, like most personal computers, say N. If
857           you have a system with more than one CPU, say Y.
858
859           If you say N here, the kernel will run on single and multiprocessor
860           machines, but will use only one CPU of a multiprocessor machine. If
861           you say Y here, the kernel will run on many, but not all, single
862           processor machines. On a single processor machine, the kernel will
863           run faster if you say N here.
864
865           See also <file:Documentation/i386/IO-APIC.txt>,
866           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
867           <http://www.linuxdoc.org/docs.html#howto>.
868
869           If you don't know what to do here, say N.
870
871 choice
872         prompt "Memory split"
873         default VMSPLIT_3G
874         help
875           Select the desired split between kernel and user memory.
876
877           If you are not absolutely sure what you are doing, leave this
878           option alone!
879
880         config VMSPLIT_3G
881                 bool "3G/1G user/kernel split"
882         config VMSPLIT_2G
883                 bool "2G/2G user/kernel split"
884         config VMSPLIT_1G
885                 bool "1G/3G user/kernel split"
886 endchoice
887
888 config PAGE_OFFSET
889         hex
890         default 0x40000000 if VMSPLIT_1G
891         default 0x80000000 if VMSPLIT_2G
892         default 0xC0000000
893
894 config NR_CPUS
895         int "Maximum number of CPUs (2-32)"
896         range 2 32
897         depends on SMP
898         default "4"
899
900 config HOTPLUG_CPU
901         bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
902         depends on SMP && HOTPLUG && EXPERIMENTAL
903         help
904           Say Y here to experiment with turning CPUs off and on.  CPUs
905           can be controlled through /sys/devices/system/cpu.
906
907 config LOCAL_TIMERS
908         bool "Use local timer interrupts"
909         depends on SMP && (REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || REALVIEW_EB_A9MP)
910         default y
911         help
912           Enable support for local timers on SMP platforms, rather then the
913           legacy IPI broadcast method.  Local timers allows the system
914           accounting to be spread across the timer interval, preventing a
915           "thundering herd" at every timer tick.
916
917 config PREEMPT
918         bool "Preemptible Kernel (EXPERIMENTAL)"
919         depends on EXPERIMENTAL
920         help
921           This option reduces the latency of the kernel when reacting to
922           real-time or interactive events by allowing a low priority process to
923           be preempted even if it is in kernel mode executing a system call.
924           This allows applications to run more reliably even when the system is
925           under load.
926
927           Say Y here if you are building a kernel for a desktop, embedded
928           or real-time system.  Say N if you are unsure.
929
930 config HZ
931         int
932         default 128 if ARCH_L7200
933         default 200 if ARCH_EBSA110 || ARCH_S3C2410
934         default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
935         default AT91_TIMER_HZ if ARCH_AT91
936         default 100
937
938 config AEABI
939         bool "Use the ARM EABI to compile the kernel"
940         help
941           This option allows for the kernel to be compiled using the latest
942           ARM ABI (aka EABI).  This is only useful if you are using a user
943           space environment that is also compiled with EABI.
944
945           Since there are major incompatibilities between the legacy ABI and
946           EABI, especially with regard to structure member alignment, this
947           option also changes the kernel syscall calling convention to
948           disambiguate both ABIs and allow for backward compatibility support
949           (selected with CONFIG_OABI_COMPAT).
950
951           To use this you need GCC version 4.0.0 or later.
952
953 config OABI_COMPAT
954         bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
955         depends on AEABI && EXPERIMENTAL
956         default y
957         help
958           This option preserves the old syscall interface along with the
959           new (ARM EABI) one. It also provides a compatibility layer to
960           intercept syscalls that have structure arguments which layout
961           in memory differs between the legacy ABI and the new ARM EABI
962           (only for non "thumb" binaries). This option adds a tiny
963           overhead to all syscalls and produces a slightly larger kernel.
964           If you know you'll be using only pure EABI user space then you
965           can say N here. If this option is not selected and you attempt
966           to execute a legacy ABI binary then the result will be
967           UNPREDICTABLE (in fact it can be predicted that it won't work
968           at all). If in doubt say Y.
969
970 config ARCH_HAS_HOLES_MEMORYMODEL
971         bool
972         default n
973
974 # Discontigmem is deprecated
975 config ARCH_DISCONTIGMEM_ENABLE
976         bool
977
978 config ARCH_SPARSEMEM_ENABLE
979         bool
980
981 config ARCH_SPARSEMEM_DEFAULT
982         def_bool ARCH_SPARSEMEM_ENABLE
983
984 config ARCH_SELECT_MEMORY_MODEL
985         def_bool ARCH_DISCONTIGMEM_ENABLE && ARCH_SPARSEMEM_ENABLE
986
987 config NODES_SHIFT
988         int
989         default "4" if ARCH_LH7A40X
990         default "2"
991         depends on NEED_MULTIPLE_NODES
992
993 config HIGHMEM
994         bool "High Memory Support (EXPERIMENTAL)"
995         depends on MMU && EXPERIMENTAL
996         help
997           The address space of ARM processors is only 4 Gigabytes large
998           and it has to accommodate user address space, kernel address
999           space as well as some memory mapped IO. That means that, if you
1000           have a large amount of physical memory and/or IO, not all of the
1001           memory can be "permanently mapped" by the kernel. The physical
1002           memory that is not permanently mapped is called "high memory".
1003
1004           Depending on the selected kernel/user memory split, minimum
1005           vmalloc space and actual amount of RAM, you may not need this
1006           option which should result in a slightly faster kernel.
1007
1008           If unsure, say n.
1009
1010 source "mm/Kconfig"
1011
1012 config LEDS
1013         bool "Timer and CPU usage LEDs"
1014         depends on ARCH_CDB89712 || ARCH_EBSA110 || \
1015                    ARCH_EBSA285 || ARCH_INTEGRATOR || \
1016                    ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
1017                    ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
1018                    ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
1019                    ARCH_AT91 || ARCH_DAVINCI || \
1020                    ARCH_KS8695 || MACH_RD88F5182
1021         help
1022           If you say Y here, the LEDs on your machine will be used
1023           to provide useful information about your current system status.
1024
1025           If you are compiling a kernel for a NetWinder or EBSA-285, you will
1026           be able to select which LEDs are active using the options below. If
1027           you are compiling a kernel for the EBSA-110 or the LART however, the
1028           red LED will simply flash regularly to indicate that the system is
1029           still functional. It is safe to say Y here if you have a CATS
1030           system, but the driver will do nothing.
1031
1032 config LEDS_TIMER
1033         bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
1034                             OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1035                             || MACH_OMAP_PERSEUS2
1036         depends on LEDS
1037         depends on !GENERIC_CLOCKEVENTS
1038         default y if ARCH_EBSA110
1039         help
1040           If you say Y here, one of the system LEDs (the green one on the
1041           NetWinder, the amber one on the EBSA285, or the red one on the LART)
1042           will flash regularly to indicate that the system is still
1043           operational. This is mainly useful to kernel hackers who are
1044           debugging unstable kernels.
1045
1046           The LART uses the same LED for both Timer LED and CPU usage LED
1047           functions. You may choose to use both, but the Timer LED function
1048           will overrule the CPU usage LED.
1049
1050 config LEDS_CPU
1051         bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
1052                         !ARCH_OMAP) \
1053                         || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1054                         || MACH_OMAP_PERSEUS2
1055         depends on LEDS
1056         help
1057           If you say Y here, the red LED will be used to give a good real
1058           time indication of CPU usage, by lighting whenever the idle task
1059           is not currently executing.
1060
1061           The LART uses the same LED for both Timer LED and CPU usage LED
1062           functions. You may choose to use both, but the Timer LED function
1063           will overrule the CPU usage LED.
1064
1065 config ALIGNMENT_TRAP
1066         bool
1067         depends on CPU_CP15_MMU
1068         default y if !ARCH_EBSA110
1069         help
1070           ARM processors cannot fetch/store information which is not
1071           naturally aligned on the bus, i.e., a 4 byte fetch must start at an
1072           address divisible by 4. On 32-bit ARM processors, these non-aligned
1073           fetch/store instructions will be emulated in software if you say
1074           here, which has a severe performance impact. This is necessary for
1075           correct operation of some network protocols. With an IP-only
1076           configuration it is safe to say N, otherwise say Y.
1077
1078 endmenu
1079
1080 menu "Boot options"
1081
1082 # Compressed boot loader in ROM.  Yes, we really want to ask about
1083 # TEXT and BSS so we preserve their values in the config files.
1084 config ZBOOT_ROM_TEXT
1085         hex "Compressed ROM boot loader base address"
1086         default "0"
1087         help
1088           The physical address at which the ROM-able zImage is to be
1089           placed in the target.  Platforms which normally make use of
1090           ROM-able zImage formats normally set this to a suitable
1091           value in their defconfig file.
1092
1093           If ZBOOT_ROM is not enabled, this has no effect.
1094
1095 config ZBOOT_ROM_BSS
1096         hex "Compressed ROM boot loader BSS address"
1097         default "0"
1098         help
1099           The base address of an area of read/write memory in the target
1100           for the ROM-able zImage which must be available while the
1101           decompressor is running. It must be large enough to hold the
1102           entire decompressed kernel plus an additional 128 KiB.
1103           Platforms which normally make use of ROM-able zImage formats
1104           normally set this to a suitable value in their defconfig file.
1105
1106           If ZBOOT_ROM is not enabled, this has no effect.
1107
1108 config ZBOOT_ROM
1109         bool "Compressed boot loader in ROM/flash"
1110         depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
1111         help
1112           Say Y here if you intend to execute your compressed kernel image
1113           (zImage) directly from ROM or flash.  If unsure, say N.
1114
1115 config CMDLINE
1116         string "Default kernel command string"
1117         default ""
1118         help
1119           On some architectures (EBSA110 and CATS), there is currently no way
1120           for the boot loader to pass arguments to the kernel. For these
1121           architectures, you should supply some command-line options at build
1122           time by entering them here. As a minimum, you should specify the
1123           memory size and the root device (e.g., mem=64M root=/dev/nfs).
1124
1125 config XIP_KERNEL
1126         bool "Kernel Execute-In-Place from ROM"
1127         depends on !ZBOOT_ROM
1128         help
1129           Execute-In-Place allows the kernel to run from non-volatile storage
1130           directly addressable by the CPU, such as NOR flash. This saves RAM
1131           space since the text section of the kernel is not loaded from flash
1132           to RAM.  Read-write sections, such as the data section and stack,
1133           are still copied to RAM.  The XIP kernel is not compressed since
1134           it has to run directly from flash, so it will take more space to
1135           store it.  The flash address used to link the kernel object files,
1136           and for storing it, is configuration dependent. Therefore, if you
1137           say Y here, you must know the proper physical address where to
1138           store the kernel image depending on your own flash memory usage.
1139
1140           Also note that the make target becomes "make xipImage" rather than
1141           "make zImage" or "make Image".  The final kernel binary to put in
1142           ROM memory will be arch/arm/boot/xipImage.
1143
1144           If unsure, say N.
1145
1146 config XIP_PHYS_ADDR
1147         hex "XIP Kernel Physical Location"
1148         depends on XIP_KERNEL
1149         default "0x00080000"
1150         help
1151           This is the physical address in your flash memory the kernel will
1152           be linked for and stored to.  This address is dependent on your
1153           own flash usage.
1154
1155 config KEXEC
1156         bool "Kexec system call (EXPERIMENTAL)"
1157         depends on EXPERIMENTAL
1158         help
1159           kexec is a system call that implements the ability to shutdown your
1160           current kernel, and to start another kernel.  It is like a reboot
1161           but it is independent of the system firmware.   And like a reboot
1162           you can start any kernel with it, not just Linux.
1163
1164           It is an ongoing process to be certain the hardware in a machine
1165           is properly shutdown, so do not be surprised if this code does not
1166           initially work for you.  It may help to enable device hotplugging
1167           support.
1168
1169 config ATAGS_PROC
1170         bool "Export atags in procfs"
1171         depends on KEXEC
1172         default y
1173         help
1174           Should the atags used to boot the kernel be exported in an "atags"
1175           file in procfs. Useful with kexec.
1176
1177 endmenu
1178
1179 menu "CPU Power Management"
1180
1181 if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_PXA)
1182
1183 source "drivers/cpufreq/Kconfig"
1184
1185 config CPU_FREQ_SA1100
1186         bool
1187         depends on CPU_FREQ && (SA1100_H3100 || SA1100_H3600 || SA1100_LART || SA1100_PLEB || SA1100_BADGE4 || SA1100_HACKKIT)
1188         default y
1189
1190 config CPU_FREQ_SA1110
1191         bool
1192         depends on CPU_FREQ && (SA1100_ASSABET || SA1100_CERF || SA1100_PT_SYSTEM3)
1193         default y
1194
1195 config CPU_FREQ_INTEGRATOR
1196         tristate "CPUfreq driver for ARM Integrator CPUs"
1197         depends on ARCH_INTEGRATOR && CPU_FREQ
1198         default y
1199         help
1200           This enables the CPUfreq driver for ARM Integrator CPUs.
1201
1202           For details, take a look at <file:Documentation/cpu-freq>.
1203
1204           If in doubt, say Y.
1205
1206 config CPU_FREQ_PXA
1207         bool
1208         depends on CPU_FREQ && ARCH_PXA && PXA25x
1209         default y
1210         select CPU_FREQ_DEFAULT_GOV_USERSPACE
1211
1212 endif
1213
1214 source "drivers/cpuidle/Kconfig"
1215
1216 endmenu
1217
1218 menu "Floating point emulation"
1219
1220 comment "At least one emulation must be selected"
1221
1222 config FPE_NWFPE
1223         bool "NWFPE math emulation"
1224         depends on !AEABI || OABI_COMPAT
1225         ---help---
1226           Say Y to include the NWFPE floating point emulator in the kernel.
1227           This is necessary to run most binaries. Linux does not currently
1228           support floating point hardware so you need to say Y here even if
1229           your machine has an FPA or floating point co-processor podule.
1230
1231           You may say N here if you are going to load the Acorn FPEmulator
1232           early in the bootup.
1233
1234 config FPE_NWFPE_XP
1235         bool "Support extended precision"
1236         depends on FPE_NWFPE
1237         help
1238           Say Y to include 80-bit support in the kernel floating-point
1239           emulator.  Otherwise, only 32 and 64-bit support is compiled in.
1240           Note that gcc does not generate 80-bit operations by default,
1241           so in most cases this option only enlarges the size of the
1242           floating point emulator without any good reason.
1243
1244           You almost surely want to say N here.
1245
1246 config FPE_FASTFPE
1247         bool "FastFPE math emulation (EXPERIMENTAL)"
1248         depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1249         ---help---
1250           Say Y here to include the FAST floating point emulator in the kernel.
1251           This is an experimental much faster emulator which now also has full
1252           precision for the mantissa.  It does not support any exceptions.
1253           It is very simple, and approximately 3-6 times faster than NWFPE.
1254
1255           It should be sufficient for most programs.  It may be not suitable
1256           for scientific calculations, but you have to check this for yourself.
1257           If you do not feel you need a faster FP emulation you should better
1258           choose NWFPE.
1259
1260 config VFP
1261         bool "VFP-format floating point maths"
1262         depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1263         help
1264           Say Y to include VFP support code in the kernel. This is needed
1265           if your hardware includes a VFP unit.
1266
1267           Please see <file:Documentation/arm/VFP/release-notes.txt> for
1268           release notes and additional status information.
1269
1270           Say N if your target does not have VFP hardware.
1271
1272 config VFPv3
1273         bool
1274         depends on VFP
1275         default y if CPU_V7
1276
1277 config NEON
1278         bool "Advanced SIMD (NEON) Extension support"
1279         depends on VFPv3 && CPU_V7
1280         help
1281           Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1282           Extension.
1283
1284 endmenu
1285
1286 menu "Userspace binary formats"
1287
1288 source "fs/Kconfig.binfmt"
1289
1290 config ARTHUR
1291         tristate "RISC OS personality"
1292         depends on !AEABI
1293         help
1294           Say Y here to include the kernel code necessary if you want to run
1295           Acorn RISC OS/Arthur binaries under Linux. This code is still very
1296           experimental; if this sounds frightening, say N and sleep in peace.
1297           You can also say M here to compile this support as a module (which
1298           will be called arthur).
1299
1300 endmenu
1301
1302 menu "Power management options"
1303
1304 source "kernel/power/Kconfig"
1305
1306 config ARCH_SUSPEND_POSSIBLE
1307         def_bool y
1308
1309 endmenu
1310
1311 source "net/Kconfig"
1312
1313 menu "Device Drivers"
1314
1315 source "drivers/base/Kconfig"
1316
1317 source "drivers/connector/Kconfig"
1318
1319 if ALIGNMENT_TRAP || !CPU_CP15_MMU
1320 source "drivers/mtd/Kconfig"
1321 endif
1322
1323 source "drivers/parport/Kconfig"
1324
1325 source "drivers/pnp/Kconfig"
1326
1327 source "drivers/block/Kconfig"
1328
1329 # misc before ide - BLK_DEV_SGIIOC4 depends on SGI_IOC4
1330
1331 source "drivers/misc/Kconfig"
1332
1333 source "drivers/ide/Kconfig"
1334
1335 source "drivers/scsi/Kconfig"
1336
1337 source "drivers/ata/Kconfig"
1338
1339 source "drivers/md/Kconfig"
1340
1341 source "drivers/message/fusion/Kconfig"
1342
1343 source "drivers/ieee1394/Kconfig"
1344
1345 source "drivers/message/i2o/Kconfig"
1346
1347 source "drivers/net/Kconfig"
1348
1349 source "drivers/isdn/Kconfig"
1350
1351 # input before char - char/joystick depends on it. As does USB.
1352
1353 source "drivers/input/Kconfig"
1354
1355 source "drivers/char/Kconfig"
1356
1357 source "drivers/i2c/Kconfig"
1358
1359 source "drivers/spi/Kconfig"
1360
1361 source "drivers/gpio/Kconfig"
1362
1363 source "drivers/w1/Kconfig"
1364
1365 source "drivers/power/Kconfig"
1366
1367 source "drivers/hwmon/Kconfig"
1368
1369 source "drivers/thermal/Kconfig"
1370
1371 source "drivers/watchdog/Kconfig"
1372
1373 source "drivers/ssb/Kconfig"
1374
1375 #source "drivers/l3/Kconfig"
1376
1377 source "drivers/mfd/Kconfig"
1378
1379 source "drivers/media/Kconfig"
1380
1381 source "drivers/video/Kconfig"
1382
1383 source "sound/Kconfig"
1384
1385 source "drivers/hid/Kconfig"
1386
1387 source "drivers/usb/Kconfig"
1388
1389 source "drivers/uwb/Kconfig"
1390
1391 source "drivers/mmc/Kconfig"
1392
1393 source "drivers/memstick/Kconfig"
1394
1395 source "drivers/accessibility/Kconfig"
1396
1397 source "drivers/leds/Kconfig"
1398
1399 source "drivers/rtc/Kconfig"
1400
1401 source "drivers/dma/Kconfig"
1402
1403 source "drivers/dca/Kconfig"
1404
1405 source "drivers/auxdisplay/Kconfig"
1406
1407 source "drivers/regulator/Kconfig"
1408
1409 source "drivers/uio/Kconfig"
1410
1411 source "drivers/staging/Kconfig"
1412
1413 endmenu
1414
1415 source "fs/Kconfig"
1416
1417 source "arch/arm/Kconfig.debug"
1418
1419 source "security/Kconfig"
1420
1421 source "crypto/Kconfig"
1422
1423 source "lib/Kconfig"