i2c: I2C bus multiplexer driver pca954x
[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 HAVE_MEMBLOCK
14         select RTC_LIB
15         select SYS_SUPPORTS_APM_EMULATION
16         select GENERIC_ATOMIC64 if (!CPU_32v6K)
17         select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
18         select HAVE_ARCH_KGDB
19         select HAVE_KPROBES if (!XIP_KERNEL)
20         select HAVE_KRETPROBES if (HAVE_KPROBES)
21         select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
22         select HAVE_GENERIC_DMA_COHERENT
23         select HAVE_KERNEL_GZIP
24         select HAVE_KERNEL_LZO
25         select HAVE_KERNEL_LZMA
26         select HAVE_PERF_EVENTS
27         select PERF_USE_VMALLOC
28         select HAVE_REGS_AND_STACK_ACCESS_API
29         help
30           The ARM series is a line of low-power-consumption RISC chip designs
31           licensed by ARM Ltd and targeted at embedded applications and
32           handhelds such as the Compaq IPAQ.  ARM-based PCs are no longer
33           manufactured, but legacy ARM-based PC hardware remains popular in
34           Europe.  There is an ARM Linux project with a web page at
35           <http://www.arm.linux.org.uk/>.
36
37 config HAVE_PWM
38         bool
39
40 config SYS_SUPPORTS_APM_EMULATION
41         bool
42
43 config GENERIC_GPIO
44         bool
45
46 config ARCH_USES_GETTIMEOFFSET
47         bool
48         default n
49
50 config GENERIC_CLOCKEVENTS
51         bool
52
53 config GENERIC_CLOCKEVENTS_BROADCAST
54         bool
55         depends on GENERIC_CLOCKEVENTS
56         default y if SMP
57
58 config HAVE_TCM
59         bool
60         select GENERIC_ALLOCATOR
61
62 config HAVE_PROC_CPU
63         bool
64
65 config NO_IOPORT
66         bool
67
68 config EISA
69         bool
70         ---help---
71           The Extended Industry Standard Architecture (EISA) bus was
72           developed as an open alternative to the IBM MicroChannel bus.
73
74           The EISA bus provided some of the features of the IBM MicroChannel
75           bus while maintaining backward compatibility with cards made for
76           the older ISA bus.  The EISA bus saw limited use between 1988 and
77           1995 when it was made obsolete by the PCI bus.
78
79           Say Y here if you are building a kernel for an EISA-based machine.
80
81           Otherwise, say N.
82
83 config SBUS
84         bool
85
86 config MCA
87         bool
88         help
89           MicroChannel Architecture is found in some IBM PS/2 machines and
90           laptops.  It is a bus system similar to PCI or ISA. See
91           <file:Documentation/mca.txt> (and especially the web page given
92           there) before attempting to build an MCA bus kernel.
93
94 config GENERIC_HARDIRQS
95         bool
96         default y
97
98 config STACKTRACE_SUPPORT
99         bool
100         default y
101
102 config HAVE_LATENCYTOP_SUPPORT
103         bool
104         depends on !SMP
105         default y
106
107 config LOCKDEP_SUPPORT
108         bool
109         default y
110
111 config TRACE_IRQFLAGS_SUPPORT
112         bool
113         default y
114
115 config HARDIRQS_SW_RESEND
116         bool
117         default y
118
119 config GENERIC_IRQ_PROBE
120         bool
121         default y
122
123 config GENERIC_LOCKBREAK
124         bool
125         default y
126         depends on SMP && PREEMPT
127
128 config RWSEM_GENERIC_SPINLOCK
129         bool
130         default y
131
132 config RWSEM_XCHGADD_ALGORITHM
133         bool
134
135 config ARCH_HAS_ILOG2_U32
136         bool
137
138 config ARCH_HAS_ILOG2_U64
139         bool
140
141 config ARCH_HAS_CPUFREQ
142         bool
143         help
144           Internal node to signify that the ARCH has CPUFREQ support
145           and that the relevant menu configurations are displayed for
146           it.
147
148 config GENERIC_HWEIGHT
149         bool
150         default y
151
152 config GENERIC_CALIBRATE_DELAY
153         bool
154         default y
155
156 config ARCH_MAY_HAVE_PC_FDC
157         bool
158
159 config ZONE_DMA
160         bool
161
162 config NEED_DMA_MAP_STATE
163        def_bool y
164
165 config GENERIC_ISA_DMA
166         bool
167
168 config FIQ
169         bool
170
171 config ARCH_MTD_XIP
172         bool
173
174 config GENERIC_HARDIRQS_NO__DO_IRQ
175         def_bool y
176
177 config ARM_L1_CACHE_SHIFT_6
178         bool
179         help
180           Setting ARM L1 cache line size to 64 Bytes.
181
182 config VECTORS_BASE
183         hex
184         default 0xffff0000 if MMU || CPU_HIGH_VECTOR
185         default DRAM_BASE if REMAP_VECTORS_TO_RAM
186         default 0x00000000
187         help
188           The base address of exception vectors.
189
190 source "init/Kconfig"
191
192 source "kernel/Kconfig.freezer"
193
194 menu "System Type"
195
196 config MMU
197         bool "MMU-based Paged Memory Management Support"
198         default y
199         help
200           Select if you want MMU-based virtualised addressing space
201           support by paged memory management. If unsure, say 'Y'.
202
203 #
204 # The "ARM system type" choice list is ordered alphabetically by option
205 # text.  Please add new entries in the option alphabetic order.
206 #
207 choice
208         prompt "ARM system type"
209         default ARCH_VERSATILE
210
211 config ARCH_AAEC2000
212         bool "Agilent AAEC-2000 based"
213         select CPU_ARM920T
214         select ARM_AMBA
215         select HAVE_CLK
216         select ARCH_USES_GETTIMEOFFSET
217         help
218           This enables support for systems based on the Agilent AAEC-2000
219
220 config ARCH_INTEGRATOR
221         bool "ARM Ltd. Integrator family"
222         select ARM_AMBA
223         select ARCH_HAS_CPUFREQ
224         select COMMON_CLKDEV
225         select ICST
226         select GENERIC_CLOCKEVENTS
227         select PLAT_VERSATILE
228         help
229           Support for ARM's Integrator platform.
230
231 config ARCH_REALVIEW
232         bool "ARM Ltd. RealView family"
233         select ARM_AMBA
234         select COMMON_CLKDEV
235         select ICST
236         select GENERIC_CLOCKEVENTS
237         select ARCH_WANT_OPTIONAL_GPIOLIB
238         select PLAT_VERSATILE
239         select ARM_TIMER_SP804
240         select GPIO_PL061 if GPIOLIB
241         help
242           This enables support for ARM Ltd RealView boards.
243
244 config ARCH_VERSATILE
245         bool "ARM Ltd. Versatile family"
246         select ARM_AMBA
247         select ARM_VIC
248         select COMMON_CLKDEV
249         select ICST
250         select GENERIC_CLOCKEVENTS
251         select ARCH_WANT_OPTIONAL_GPIOLIB
252         select PLAT_VERSATILE
253         select ARM_TIMER_SP804
254         help
255           This enables support for ARM Ltd Versatile board.
256
257 config ARCH_VEXPRESS
258         bool "ARM Ltd. Versatile Express family"
259         select ARCH_WANT_OPTIONAL_GPIOLIB
260         select ARM_AMBA
261         select ARM_TIMER_SP804
262         select COMMON_CLKDEV
263         select GENERIC_CLOCKEVENTS
264         select HAVE_CLK
265         select ICST
266         select PLAT_VERSATILE
267         help
268           This enables support for the ARM Ltd Versatile Express boards.
269
270 config ARCH_AT91
271         bool "Atmel AT91"
272         select ARCH_REQUIRE_GPIOLIB
273         select HAVE_CLK
274         select ARCH_USES_GETTIMEOFFSET
275         help
276           This enables support for systems based on the Atmel AT91RM9200,
277           AT91SAM9 and AT91CAP9 processors.
278
279 config ARCH_BCMRING
280         bool "Broadcom BCMRING"
281         depends on MMU
282         select CPU_V6
283         select ARM_AMBA
284         select COMMON_CLKDEV
285         select GENERIC_CLOCKEVENTS
286         select ARCH_WANT_OPTIONAL_GPIOLIB
287         help
288           Support for Broadcom's BCMRing platform.
289
290 config ARCH_CLPS711X
291         bool "Cirrus Logic CLPS711x/EP721x-based"
292         select CPU_ARM720T
293         select ARCH_USES_GETTIMEOFFSET
294         help
295           Support for Cirrus Logic 711x/721x based boards.
296
297 config ARCH_CNS3XXX
298         bool "Cavium Networks CNS3XXX family"
299         select CPU_V6
300         select GENERIC_CLOCKEVENTS
301         select ARM_GIC
302         select PCI_DOMAINS if PCI
303         help
304           Support for Cavium Networks CNS3XXX platform.
305
306 config ARCH_GEMINI
307         bool "Cortina Systems Gemini"
308         select CPU_FA526
309         select ARCH_REQUIRE_GPIOLIB
310         select ARCH_USES_GETTIMEOFFSET
311         help
312           Support for the Cortina Systems Gemini family SoCs
313
314 config ARCH_EBSA110
315         bool "EBSA-110"
316         select CPU_SA110
317         select ISA
318         select NO_IOPORT
319         select ARCH_USES_GETTIMEOFFSET
320         help
321           This is an evaluation board for the StrongARM processor available
322           from Digital. It has limited hardware on-board, including an
323           Ethernet interface, two PCMCIA sockets, two serial ports and a
324           parallel port.
325
326 config ARCH_EP93XX
327         bool "EP93xx-based"
328         select CPU_ARM920T
329         select ARM_AMBA
330         select ARM_VIC
331         select COMMON_CLKDEV
332         select ARCH_REQUIRE_GPIOLIB
333         select ARCH_HAS_HOLES_MEMORYMODEL
334         select ARCH_USES_GETTIMEOFFSET
335         help
336           This enables support for the Cirrus EP93xx series of CPUs.
337
338 config ARCH_FOOTBRIDGE
339         bool "FootBridge"
340         select CPU_SA110
341         select FOOTBRIDGE
342         select ARCH_USES_GETTIMEOFFSET
343         help
344           Support for systems based on the DC21285 companion chip
345           ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
346
347 config ARCH_MXC
348         bool "Freescale MXC/iMX-based"
349         select GENERIC_CLOCKEVENTS
350         select ARCH_REQUIRE_GPIOLIB
351         select COMMON_CLKDEV
352         help
353           Support for Freescale MXC/iMX-based family of processors
354
355 config ARCH_STMP3XXX
356         bool "Freescale STMP3xxx"
357         select CPU_ARM926T
358         select COMMON_CLKDEV
359         select ARCH_REQUIRE_GPIOLIB
360         select GENERIC_CLOCKEVENTS
361         select USB_ARCH_HAS_EHCI
362         help
363           Support for systems based on the Freescale 3xxx CPUs.
364
365 config ARCH_NETX
366         bool "Hilscher NetX based"
367         select CPU_ARM926T
368         select ARM_VIC
369         select GENERIC_CLOCKEVENTS
370         help
371           This enables support for systems based on the Hilscher NetX Soc
372
373 config ARCH_H720X
374         bool "Hynix HMS720x-based"
375         select CPU_ARM720T
376         select ISA_DMA_API
377         select ARCH_USES_GETTIMEOFFSET
378         help
379           This enables support for systems based on the Hynix HMS720x
380
381 config ARCH_IOP13XX
382         bool "IOP13xx-based"
383         depends on MMU
384         select CPU_XSC3
385         select PLAT_IOP
386         select PCI
387         select ARCH_SUPPORTS_MSI
388         select VMSPLIT_1G
389         help
390           Support for Intel's IOP13XX (XScale) family of processors.
391
392 config ARCH_IOP32X
393         bool "IOP32x-based"
394         depends on MMU
395         select CPU_XSCALE
396         select PLAT_IOP
397         select PCI
398         select ARCH_REQUIRE_GPIOLIB
399         help
400           Support for Intel's 80219 and IOP32X (XScale) family of
401           processors.
402
403 config ARCH_IOP33X
404         bool "IOP33x-based"
405         depends on MMU
406         select CPU_XSCALE
407         select PLAT_IOP
408         select PCI
409         select ARCH_REQUIRE_GPIOLIB
410         help
411           Support for Intel's IOP33X (XScale) family of processors.
412
413 config ARCH_IXP23XX
414         bool "IXP23XX-based"
415         depends on MMU
416         select CPU_XSC3
417         select PCI
418         select ARCH_USES_GETTIMEOFFSET
419         help
420           Support for Intel's IXP23xx (XScale) family of processors.
421
422 config ARCH_IXP2000
423         bool "IXP2400/2800-based"
424         depends on MMU
425         select CPU_XSCALE
426         select PCI
427         select ARCH_USES_GETTIMEOFFSET
428         help
429           Support for Intel's IXP2400/2800 (XScale) family of processors.
430
431 config ARCH_IXP4XX
432         bool "IXP4xx-based"
433         depends on MMU
434         select CPU_XSCALE
435         select GENERIC_GPIO
436         select GENERIC_CLOCKEVENTS
437         select DMABOUNCE if PCI
438         help
439           Support for Intel's IXP4XX (XScale) family of processors.
440
441 config ARCH_DOVE
442         bool "Marvell Dove"
443         select PCI
444         select ARCH_REQUIRE_GPIOLIB
445         select GENERIC_CLOCKEVENTS
446         select PLAT_ORION
447         help
448           Support for the Marvell Dove SoC 88AP510
449
450 config ARCH_KIRKWOOD
451         bool "Marvell Kirkwood"
452         select CPU_FEROCEON
453         select PCI
454         select ARCH_REQUIRE_GPIOLIB
455         select GENERIC_CLOCKEVENTS
456         select PLAT_ORION
457         help
458           Support for the following Marvell Kirkwood series SoCs:
459           88F6180, 88F6192 and 88F6281.
460
461 config ARCH_LOKI
462         bool "Marvell Loki (88RC8480)"
463         select CPU_FEROCEON
464         select GENERIC_CLOCKEVENTS
465         select PLAT_ORION
466         help
467           Support for the Marvell Loki (88RC8480) SoC.
468
469 config ARCH_LPC32XX
470         bool "NXP LPC32XX"
471         select CPU_ARM926T
472         select ARCH_REQUIRE_GPIOLIB
473         select HAVE_IDE
474         select ARM_AMBA
475         select USB_ARCH_HAS_OHCI
476         select COMMON_CLKDEV
477         select GENERIC_TIME
478         select GENERIC_CLOCKEVENTS
479         help
480           Support for the NXP LPC32XX family of processors
481
482 config ARCH_MV78XX0
483         bool "Marvell MV78xx0"
484         select CPU_FEROCEON
485         select PCI
486         select ARCH_REQUIRE_GPIOLIB
487         select GENERIC_CLOCKEVENTS
488         select PLAT_ORION
489         help
490           Support for the following Marvell MV78xx0 series SoCs:
491           MV781x0, MV782x0.
492
493 config ARCH_ORION5X
494         bool "Marvell Orion"
495         depends on MMU
496         select CPU_FEROCEON
497         select PCI
498         select ARCH_REQUIRE_GPIOLIB
499         select GENERIC_CLOCKEVENTS
500         select PLAT_ORION
501         help
502           Support for the following Marvell Orion 5x series SoCs:
503           Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
504           Orion-2 (5281), Orion-1-90 (6183).
505
506 config ARCH_MMP
507         bool "Marvell PXA168/910/MMP2"
508         depends on MMU
509         select ARCH_REQUIRE_GPIOLIB
510         select COMMON_CLKDEV
511         select GENERIC_CLOCKEVENTS
512         select TICK_ONESHOT
513         select PLAT_PXA
514         help
515           Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
516
517 config ARCH_KS8695
518         bool "Micrel/Kendin KS8695"
519         select CPU_ARM922T
520         select ARCH_REQUIRE_GPIOLIB
521         select ARCH_USES_GETTIMEOFFSET
522         help
523           Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
524           System-on-Chip devices.
525
526 config ARCH_NS9XXX
527         bool "NetSilicon NS9xxx"
528         select CPU_ARM926T
529         select GENERIC_GPIO
530         select GENERIC_CLOCKEVENTS
531         select HAVE_CLK
532         help
533           Say Y here if you intend to run this kernel on a NetSilicon NS9xxx
534           System.
535
536           <http://www.digi.com/products/microprocessors/index.jsp>
537
538 config ARCH_W90X900
539         bool "Nuvoton W90X900 CPU"
540         select CPU_ARM926T
541         select ARCH_REQUIRE_GPIOLIB
542         select COMMON_CLKDEV
543         select GENERIC_CLOCKEVENTS
544         help
545           Support for Nuvoton (Winbond logic dept.) ARM9 processor,
546           At present, the w90x900 has been renamed nuc900, regarding
547           the ARM series product line, you can login the following
548           link address to know more.
549
550           <http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/
551                 ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller>
552
553 config ARCH_NUC93X
554         bool "Nuvoton NUC93X CPU"
555         select CPU_ARM926T
556         select COMMON_CLKDEV
557         help
558           Support for Nuvoton (Winbond logic dept.) NUC93X MCU,The NUC93X is a
559           low-power and high performance MPEG-4/JPEG multimedia controller chip.
560
561 config ARCH_TEGRA
562         bool "NVIDIA Tegra"
563         select GENERIC_TIME
564         select GENERIC_CLOCKEVENTS
565         select GENERIC_GPIO
566         select HAVE_CLK
567         select COMMON_CLKDEV
568         select ARCH_HAS_BARRIERS if CACHE_L2X0
569         help
570           This enables support for NVIDIA Tegra based systems (Tegra APX,
571           Tegra 6xx and Tegra 2 series).
572
573 config ARCH_PNX4008
574         bool "Philips Nexperia PNX4008 Mobile"
575         select CPU_ARM926T
576         select COMMON_CLKDEV
577         select ARCH_USES_GETTIMEOFFSET
578         help
579           This enables support for Philips PNX4008 mobile platform.
580
581 config ARCH_PXA
582         bool "PXA2xx/PXA3xx-based"
583         depends on MMU
584         select ARCH_MTD_XIP
585         select ARCH_HAS_CPUFREQ
586         select COMMON_CLKDEV
587         select ARCH_REQUIRE_GPIOLIB
588         select GENERIC_CLOCKEVENTS
589         select TICK_ONESHOT
590         select PLAT_PXA
591         help
592           Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
593
594 config ARCH_MSM
595         bool "Qualcomm MSM"
596         select HAVE_CLK
597         select GENERIC_CLOCKEVENTS
598         select ARCH_REQUIRE_GPIOLIB
599         help
600           Support for Qualcomm MSM/QSD based systems.  This runs on the
601           apps processor of the MSM/QSD and depends on a shared memory
602           interface to the modem processor which runs the baseband
603           stack and controls some vital subsystems
604           (clock and power control, etc).
605
606 config ARCH_SHMOBILE
607         bool "Renesas SH-Mobile"
608         help
609           Support for Renesas's SH-Mobile ARM platforms
610
611 config ARCH_RPC
612         bool "RiscPC"
613         select ARCH_ACORN
614         select FIQ
615         select TIMER_ACORN
616         select ARCH_MAY_HAVE_PC_FDC
617         select HAVE_PATA_PLATFORM
618         select ISA_DMA_API
619         select NO_IOPORT
620         select ARCH_SPARSEMEM_ENABLE
621         select ARCH_USES_GETTIMEOFFSET
622         help
623           On the Acorn Risc-PC, Linux can support the internal IDE disk and
624           CD-ROM interface, serial and parallel port, and the floppy drive.
625
626 config ARCH_SA1100
627         bool "SA1100-based"
628         select CPU_SA1100
629         select ISA
630         select ARCH_SPARSEMEM_ENABLE
631         select ARCH_MTD_XIP
632         select ARCH_HAS_CPUFREQ
633         select CPU_FREQ
634         select GENERIC_CLOCKEVENTS
635         select HAVE_CLK
636         select TICK_ONESHOT
637         select ARCH_REQUIRE_GPIOLIB
638         help
639           Support for StrongARM 11x0 based boards.
640
641 config ARCH_S3C2410
642         bool "Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, S3C2450"
643         select GENERIC_GPIO
644         select ARCH_HAS_CPUFREQ
645         select HAVE_CLK
646         select ARCH_USES_GETTIMEOFFSET
647         help
648           Samsung S3C2410X CPU based systems, such as the Simtec Electronics
649           BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
650           the Samsung SMDK2410 development board (and derivatives).
651
652           Note, the S3C2416 and the S3C2450 are so close that they even share
653           the same SoC ID code. This means that there is no seperate machine
654           directory (no arch/arm/mach-s3c2450) as the S3C2416 was first.
655
656 config ARCH_S3C64XX
657         bool "Samsung S3C64XX"
658         select PLAT_SAMSUNG
659         select CPU_V6
660         select ARM_VIC
661         select HAVE_CLK
662         select NO_IOPORT
663         select ARCH_USES_GETTIMEOFFSET
664         select ARCH_HAS_CPUFREQ
665         select ARCH_REQUIRE_GPIOLIB
666         select SAMSUNG_CLKSRC
667         select SAMSUNG_IRQ_VIC_TIMER
668         select SAMSUNG_IRQ_UART
669         select S3C_GPIO_TRACK
670         select S3C_GPIO_PULL_UPDOWN
671         select S3C_GPIO_CFG_S3C24XX
672         select S3C_GPIO_CFG_S3C64XX
673         select S3C_DEV_NAND
674         select USB_ARCH_HAS_OHCI
675         select SAMSUNG_GPIOLIB_4BIT
676         help
677           Samsung S3C64XX series based systems
678
679 config ARCH_S5P6440
680         bool "Samsung S5P6440"
681         select CPU_V6
682         select GENERIC_GPIO
683         select HAVE_CLK
684         select ARCH_USES_GETTIMEOFFSET
685         help
686           Samsung S5P6440 CPU based systems
687
688 config ARCH_S5P6442
689         bool "Samsung S5P6442"
690         select CPU_V6
691         select GENERIC_GPIO
692         select HAVE_CLK
693         select ARCH_USES_GETTIMEOFFSET
694         help
695           Samsung S5P6442 CPU based systems
696
697 config ARCH_S5PC100
698         bool "Samsung S5PC100"
699         select GENERIC_GPIO
700         select HAVE_CLK
701         select CPU_V7
702         select ARM_L1_CACHE_SHIFT_6
703         select ARCH_USES_GETTIMEOFFSET
704         help
705           Samsung S5PC100 series based systems
706
707 config ARCH_S5PV210
708         bool "Samsung S5PV210/S5PC110"
709         select CPU_V7
710         select GENERIC_GPIO
711         select HAVE_CLK
712         select ARM_L1_CACHE_SHIFT_6
713         select ARCH_USES_GETTIMEOFFSET
714         help
715           Samsung S5PV210/S5PC110 series based systems
716
717 config ARCH_SHARK
718         bool "Shark"
719         select CPU_SA110
720         select ISA
721         select ISA_DMA
722         select ZONE_DMA
723         select PCI
724         select ARCH_USES_GETTIMEOFFSET
725         help
726           Support for the StrongARM based Digital DNARD machine, also known
727           as "Shark" (<http://www.shark-linux.de/shark.html>).
728
729 config ARCH_LH7A40X
730         bool "Sharp LH7A40X"
731         select CPU_ARM922T
732         select ARCH_SPARSEMEM_ENABLE if !LH7A40X_CONTIGMEM
733         select ARCH_USES_GETTIMEOFFSET
734         help
735           Say Y here for systems based on one of the Sharp LH7A40X
736           System on a Chip processors.  These CPUs include an ARM922T
737           core with a wide array of integrated devices for
738           hand-held and low-power applications.
739
740 config ARCH_U300
741         bool "ST-Ericsson U300 Series"
742         depends on MMU
743         select CPU_ARM926T
744         select HAVE_TCM
745         select ARM_AMBA
746         select ARM_VIC
747         select GENERIC_CLOCKEVENTS
748         select COMMON_CLKDEV
749         select GENERIC_GPIO
750         help
751           Support for ST-Ericsson U300 series mobile platforms.
752
753 config ARCH_U8500
754         bool "ST-Ericsson U8500 Series"
755         select CPU_V7
756         select ARM_AMBA
757         select GENERIC_CLOCKEVENTS
758         select COMMON_CLKDEV
759         select ARCH_REQUIRE_GPIOLIB
760         help
761           Support for ST-Ericsson's Ux500 architecture
762
763 config ARCH_NOMADIK
764         bool "STMicroelectronics Nomadik"
765         select ARM_AMBA
766         select ARM_VIC
767         select CPU_ARM926T
768         select COMMON_CLKDEV
769         select GENERIC_CLOCKEVENTS
770         select ARCH_REQUIRE_GPIOLIB
771         help
772           Support for the Nomadik platform by ST-Ericsson
773
774 config ARCH_DAVINCI
775         bool "TI DaVinci"
776         select GENERIC_CLOCKEVENTS
777         select ARCH_REQUIRE_GPIOLIB
778         select ZONE_DMA
779         select HAVE_IDE
780         select COMMON_CLKDEV
781         select GENERIC_ALLOCATOR
782         select ARCH_HAS_HOLES_MEMORYMODEL
783         help
784           Support for TI's DaVinci platform.
785
786 config ARCH_OMAP
787         bool "TI OMAP"
788         select HAVE_CLK
789         select ARCH_REQUIRE_GPIOLIB
790         select ARCH_HAS_CPUFREQ
791         select GENERIC_CLOCKEVENTS
792         select ARCH_HAS_HOLES_MEMORYMODEL
793         help
794           Support for TI's OMAP platform (OMAP1 and OMAP2).
795
796 config PLAT_SPEAR
797         bool "ST SPEAr"
798         select ARM_AMBA
799         select ARCH_REQUIRE_GPIOLIB
800         select COMMON_CLKDEV
801         select GENERIC_CLOCKEVENTS
802         select HAVE_CLK
803         help
804           Support for ST's SPEAr platform (SPEAr3xx, SPEAr6xx and SPEAr13xx).
805
806 endchoice
807
808 #
809 # This is sorted alphabetically by mach-* pathname.  However, plat-*
810 # Kconfigs may be included either alphabetically (according to the
811 # plat- suffix) or along side the corresponding mach-* source.
812 #
813 source "arch/arm/mach-aaec2000/Kconfig"
814
815 source "arch/arm/mach-at91/Kconfig"
816
817 source "arch/arm/mach-bcmring/Kconfig"
818
819 source "arch/arm/mach-clps711x/Kconfig"
820
821 source "arch/arm/mach-cns3xxx/Kconfig"
822
823 source "arch/arm/mach-davinci/Kconfig"
824
825 source "arch/arm/mach-dove/Kconfig"
826
827 source "arch/arm/mach-ep93xx/Kconfig"
828
829 source "arch/arm/mach-footbridge/Kconfig"
830
831 source "arch/arm/mach-gemini/Kconfig"
832
833 source "arch/arm/mach-h720x/Kconfig"
834
835 source "arch/arm/mach-integrator/Kconfig"
836
837 source "arch/arm/mach-iop32x/Kconfig"
838
839 source "arch/arm/mach-iop33x/Kconfig"
840
841 source "arch/arm/mach-iop13xx/Kconfig"
842
843 source "arch/arm/mach-ixp4xx/Kconfig"
844
845 source "arch/arm/mach-ixp2000/Kconfig"
846
847 source "arch/arm/mach-ixp23xx/Kconfig"
848
849 source "arch/arm/mach-kirkwood/Kconfig"
850
851 source "arch/arm/mach-ks8695/Kconfig"
852
853 source "arch/arm/mach-lh7a40x/Kconfig"
854
855 source "arch/arm/mach-loki/Kconfig"
856
857 source "arch/arm/mach-lpc32xx/Kconfig"
858
859 source "arch/arm/mach-msm/Kconfig"
860
861 source "arch/arm/mach-mv78xx0/Kconfig"
862
863 source "arch/arm/plat-mxc/Kconfig"
864
865 source "arch/arm/mach-netx/Kconfig"
866
867 source "arch/arm/mach-nomadik/Kconfig"
868 source "arch/arm/plat-nomadik/Kconfig"
869
870 source "arch/arm/mach-ns9xxx/Kconfig"
871
872 source "arch/arm/mach-nuc93x/Kconfig"
873
874 source "arch/arm/plat-omap/Kconfig"
875
876 source "arch/arm/mach-omap1/Kconfig"
877
878 source "arch/arm/mach-omap2/Kconfig"
879
880 source "arch/arm/mach-orion5x/Kconfig"
881
882 source "arch/arm/mach-pxa/Kconfig"
883 source "arch/arm/plat-pxa/Kconfig"
884
885 source "arch/arm/mach-mmp/Kconfig"
886
887 source "arch/arm/mach-realview/Kconfig"
888
889 source "arch/arm/mach-sa1100/Kconfig"
890
891 source "arch/arm/plat-samsung/Kconfig"
892 source "arch/arm/plat-s3c24xx/Kconfig"
893 source "arch/arm/plat-s5p/Kconfig"
894
895 source "arch/arm/plat-spear/Kconfig"
896
897 if ARCH_S3C2410
898 source "arch/arm/mach-s3c2400/Kconfig"
899 source "arch/arm/mach-s3c2410/Kconfig"
900 source "arch/arm/mach-s3c2412/Kconfig"
901 source "arch/arm/mach-s3c2416/Kconfig"
902 source "arch/arm/mach-s3c2440/Kconfig"
903 source "arch/arm/mach-s3c2443/Kconfig"
904 endif
905
906 if ARCH_S3C64XX
907 source "arch/arm/mach-s3c64xx/Kconfig"
908 endif
909
910 source "arch/arm/mach-s5p6440/Kconfig"
911
912 source "arch/arm/mach-s5p6442/Kconfig"
913
914 source "arch/arm/mach-s5pc100/Kconfig"
915
916 source "arch/arm/mach-s5pv210/Kconfig"
917
918 source "arch/arm/mach-shmobile/Kconfig"
919
920 source "arch/arm/plat-stmp3xxx/Kconfig"
921
922 source "arch/arm/mach-tegra/Kconfig"
923
924 source "arch/arm/mach-u300/Kconfig"
925
926 source "arch/arm/mach-ux500/Kconfig"
927
928 source "arch/arm/mach-versatile/Kconfig"
929
930 source "arch/arm/mach-vexpress/Kconfig"
931
932 source "arch/arm/mach-w90x900/Kconfig"
933
934 # Definitions to make life easier
935 config ARCH_ACORN
936         bool
937
938 config PLAT_IOP
939         bool
940         select GENERIC_CLOCKEVENTS
941
942 config PLAT_ORION
943         bool
944
945 config PLAT_PXA
946         bool
947
948 config PLAT_VERSATILE
949         bool
950
951 config ARM_TIMER_SP804
952         bool
953
954 source arch/arm/mm/Kconfig
955
956 config IWMMXT
957         bool "Enable iWMMXt support"
958         depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK
959         default y if PXA27x || PXA3xx || ARCH_MMP
960         help
961           Enable support for iWMMXt context switching at run time if
962           running on a CPU that supports it.
963
964 #  bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
965 config XSCALE_PMU
966         bool
967         depends on CPU_XSCALE && !XSCALE_PMU_TIMER
968         default y
969
970 config CPU_HAS_PMU
971         depends on (CPU_V6 || CPU_V7 || XSCALE_PMU) && \
972                    (!ARCH_OMAP3 || OMAP3_EMU)
973         default y
974         bool
975
976 if !MMU
977 source "arch/arm/Kconfig-nommu"
978 endif
979
980 config ARM_ERRATA_411920
981         bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
982         depends on CPU_V6 && !SMP
983         help
984           Invalidation of the Instruction Cache operation can
985           fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
986           It does not affect the MPCore. This option enables the ARM Ltd.
987           recommended workaround.
988
989 config ARM_ERRATA_430973
990         bool "ARM errata: Stale prediction on replaced interworking branch"
991         depends on CPU_V7
992         help
993           This option enables the workaround for the 430973 Cortex-A8
994           (r1p0..r1p2) erratum. If a code sequence containing an ARM/Thumb
995           interworking branch is replaced with another code sequence at the
996           same virtual address, whether due to self-modifying code or virtual
997           to physical address re-mapping, Cortex-A8 does not recover from the
998           stale interworking branch prediction. This results in Cortex-A8
999           executing the new code sequence in the incorrect ARM or Thumb state.
1000           The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
1001           and also flushes the branch target cache at every context switch.
1002           Note that setting specific bits in the ACTLR register may not be
1003           available in non-secure mode.
1004
1005 config ARM_ERRATA_458693
1006         bool "ARM errata: Processor deadlock when a false hazard is created"
1007         depends on CPU_V7
1008         help
1009           This option enables the workaround for the 458693 Cortex-A8 (r2p0)
1010           erratum. For very specific sequences of memory operations, it is
1011           possible for a hazard condition intended for a cache line to instead
1012           be incorrectly associated with a different cache line. This false
1013           hazard might then cause a processor deadlock. The workaround enables
1014           the L1 caching of the NEON accesses and disables the PLD instruction
1015           in the ACTLR register. Note that setting specific bits in the ACTLR
1016           register may not be available in non-secure mode.
1017
1018 config ARM_ERRATA_460075
1019         bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
1020         depends on CPU_V7
1021         help
1022           This option enables the workaround for the 460075 Cortex-A8 (r2p0)
1023           erratum. Any asynchronous access to the L2 cache may encounter a
1024           situation in which recent store transactions to the L2 cache are lost
1025           and overwritten with stale memory contents from external memory. The
1026           workaround disables the write-allocate mode for the L2 cache via the
1027           ACTLR register. Note that setting specific bits in the ACTLR register
1028           may not be available in non-secure mode.
1029
1030 config PL310_ERRATA_588369
1031         bool "Clean & Invalidate maintenance operations do not invalidate clean lines"
1032         depends on CACHE_L2X0 && ARCH_OMAP4
1033         help
1034            The PL310 L2 cache controller implements three types of Clean &
1035            Invalidate maintenance operations: by Physical Address
1036            (offset 0x7F0), by Index/Way (0x7F8) and by Way (0x7FC).
1037            They are architecturally defined to behave as the execution of a
1038            clean operation followed immediately by an invalidate operation,
1039            both performing to the same memory location. This functionality
1040            is not correctly implemented in PL310 as clean lines are not
1041            invalidated as a result of these operations. Note that this errata
1042            uses Texas Instrument's secure monitor api.
1043 endmenu
1044
1045 source "arch/arm/common/Kconfig"
1046
1047 menu "Bus support"
1048
1049 config ARM_AMBA
1050         bool
1051
1052 config ISA
1053         bool
1054         help
1055           Find out whether you have ISA slots on your motherboard.  ISA is the
1056           name of a bus system, i.e. the way the CPU talks to the other stuff
1057           inside your box.  Other bus systems are PCI, EISA, MicroChannel
1058           (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
1059           newer boards don't support it.  If you have ISA, say Y, otherwise N.
1060
1061 # Select ISA DMA controller support
1062 config ISA_DMA
1063         bool
1064         select ISA_DMA_API
1065
1066 # Select ISA DMA interface
1067 config ISA_DMA_API
1068         bool
1069
1070 config PCI
1071         bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX || ARCH_KS8695 || MACH_ARMCORE || ARCH_CNS3XXX
1072         help
1073           Find out whether you have a PCI motherboard. PCI is the name of a
1074           bus system, i.e. the way the CPU talks to the other stuff inside
1075           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
1076           VESA. If you have PCI, say Y, otherwise N.
1077
1078 config PCI_DOMAINS
1079         bool
1080         depends on PCI
1081
1082 config PCI_SYSCALL
1083         def_bool PCI
1084
1085 # Select the host bridge type
1086 config PCI_HOST_VIA82C505
1087         bool
1088         depends on PCI && ARCH_SHARK
1089         default y
1090
1091 config PCI_HOST_ITE8152
1092         bool
1093         depends on PCI && MACH_ARMCORE
1094         default y
1095         select DMABOUNCE
1096
1097 source "drivers/pci/Kconfig"
1098
1099 source "drivers/pcmcia/Kconfig"
1100
1101 endmenu
1102
1103 menu "Kernel Features"
1104
1105 source "kernel/time/Kconfig"
1106
1107 config SMP
1108         bool "Symmetric Multi-Processing (EXPERIMENTAL)"
1109         depends on EXPERIMENTAL && (REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP ||\
1110                  MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 ||\
1111                  ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || ARCH_TEGRA)
1112         depends on GENERIC_CLOCKEVENTS
1113         select USE_GENERIC_SMP_HELPERS
1114         select HAVE_ARM_SCU if (ARCH_REALVIEW || ARCH_OMAP4 || ARCH_U8500 || \
1115                  ARCH_VEXPRESS_CA9X4 || ARCH_TEGRA)
1116         help
1117           This enables support for systems with more than one CPU. If you have
1118           a system with only one CPU, like most personal computers, say N. If
1119           you have a system with more than one CPU, say Y.
1120
1121           If you say N here, the kernel will run on single and multiprocessor
1122           machines, but will use only one CPU of a multiprocessor machine. If
1123           you say Y here, the kernel will run on many, but not all, single
1124           processor machines. On a single processor machine, the kernel will
1125           run faster if you say N here.
1126
1127           See also <file:Documentation/i386/IO-APIC.txt>,
1128           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
1129           <http://www.linuxdoc.org/docs.html#howto>.
1130
1131           If you don't know what to do here, say N.
1132
1133 config HAVE_ARM_SCU
1134         bool
1135         depends on SMP
1136         help
1137           This option enables support for the ARM system coherency unit
1138
1139 config HAVE_ARM_TWD
1140         bool
1141         depends on SMP
1142         help
1143           This options enables support for the ARM timer and watchdog unit
1144
1145 choice
1146         prompt "Memory split"
1147         default VMSPLIT_3G
1148         help
1149           Select the desired split between kernel and user memory.
1150
1151           If you are not absolutely sure what you are doing, leave this
1152           option alone!
1153
1154         config VMSPLIT_3G
1155                 bool "3G/1G user/kernel split"
1156         config VMSPLIT_2G
1157                 bool "2G/2G user/kernel split"
1158         config VMSPLIT_1G
1159                 bool "1G/3G user/kernel split"
1160 endchoice
1161
1162 config PAGE_OFFSET
1163         hex
1164         default 0x40000000 if VMSPLIT_1G
1165         default 0x80000000 if VMSPLIT_2G
1166         default 0xC0000000
1167
1168 config NR_CPUS
1169         int "Maximum number of CPUs (2-32)"
1170         range 2 32
1171         depends on SMP
1172         default "4"
1173
1174 config HOTPLUG_CPU
1175         bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
1176         depends on SMP && HOTPLUG && EXPERIMENTAL
1177         help
1178           Say Y here to experiment with turning CPUs off and on.  CPUs
1179           can be controlled through /sys/devices/system/cpu.
1180
1181 config LOCAL_TIMERS
1182         bool "Use local timer interrupts"
1183         depends on SMP && (REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || \
1184                 REALVIEW_EB_A9MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || \
1185                 ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || ARCH_TEGRA)
1186         default y
1187         select HAVE_ARM_TWD if (ARCH_REALVIEW || ARCH_VEXPRESS || ARCH_OMAP4 || \\
1188                 ARCH_U8500 || ARCH_TEGRA
1189         help
1190           Enable support for local timers on SMP platforms, rather then the
1191           legacy IPI broadcast method.  Local timers allows the system
1192           accounting to be spread across the timer interval, preventing a
1193           "thundering herd" at every timer tick.
1194
1195 source kernel/Kconfig.preempt
1196
1197 config HZ
1198         int
1199         default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P6440 || ARCH_S5P6442 || ARCH_S5PV210
1200         default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
1201         default AT91_TIMER_HZ if ARCH_AT91
1202         default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
1203         default 100
1204
1205 config THUMB2_KERNEL
1206         bool "Compile the kernel in Thumb-2 mode"
1207         depends on CPU_V7 && EXPERIMENTAL
1208         select AEABI
1209         select ARM_ASM_UNIFIED
1210         help
1211           By enabling this option, the kernel will be compiled in
1212           Thumb-2 mode. A compiler/assembler that understand the unified
1213           ARM-Thumb syntax is needed.
1214
1215           If unsure, say N.
1216
1217 config ARM_ASM_UNIFIED
1218         bool
1219
1220 config AEABI
1221         bool "Use the ARM EABI to compile the kernel"
1222         help
1223           This option allows for the kernel to be compiled using the latest
1224           ARM ABI (aka EABI).  This is only useful if you are using a user
1225           space environment that is also compiled with EABI.
1226
1227           Since there are major incompatibilities between the legacy ABI and
1228           EABI, especially with regard to structure member alignment, this
1229           option also changes the kernel syscall calling convention to
1230           disambiguate both ABIs and allow for backward compatibility support
1231           (selected with CONFIG_OABI_COMPAT).
1232
1233           To use this you need GCC version 4.0.0 or later.
1234
1235 config OABI_COMPAT
1236         bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
1237         depends on AEABI && EXPERIMENTAL
1238         default y
1239         help
1240           This option preserves the old syscall interface along with the
1241           new (ARM EABI) one. It also provides a compatibility layer to
1242           intercept syscalls that have structure arguments which layout
1243           in memory differs between the legacy ABI and the new ARM EABI
1244           (only for non "thumb" binaries). This option adds a tiny
1245           overhead to all syscalls and produces a slightly larger kernel.
1246           If you know you'll be using only pure EABI user space then you
1247           can say N here. If this option is not selected and you attempt
1248           to execute a legacy ABI binary then the result will be
1249           UNPREDICTABLE (in fact it can be predicted that it won't work
1250           at all). If in doubt say Y.
1251
1252 config ARCH_HAS_HOLES_MEMORYMODEL
1253         bool
1254
1255 config ARCH_SPARSEMEM_ENABLE
1256         bool
1257
1258 config ARCH_SPARSEMEM_DEFAULT
1259         def_bool ARCH_SPARSEMEM_ENABLE
1260
1261 config ARCH_SELECT_MEMORY_MODEL
1262         def_bool ARCH_SPARSEMEM_ENABLE
1263
1264 config HIGHMEM
1265         bool "High Memory Support (EXPERIMENTAL)"
1266         depends on MMU && EXPERIMENTAL
1267         help
1268           The address space of ARM processors is only 4 Gigabytes large
1269           and it has to accommodate user address space, kernel address
1270           space as well as some memory mapped IO. That means that, if you
1271           have a large amount of physical memory and/or IO, not all of the
1272           memory can be "permanently mapped" by the kernel. The physical
1273           memory that is not permanently mapped is called "high memory".
1274
1275           Depending on the selected kernel/user memory split, minimum
1276           vmalloc space and actual amount of RAM, you may not need this
1277           option which should result in a slightly faster kernel.
1278
1279           If unsure, say n.
1280
1281 config HIGHPTE
1282         bool "Allocate 2nd-level pagetables from highmem"
1283         depends on HIGHMEM
1284         depends on !OUTER_CACHE
1285
1286 config HW_PERF_EVENTS
1287         bool "Enable hardware performance counter support for perf events"
1288         depends on PERF_EVENTS && CPU_HAS_PMU
1289         default y
1290         help
1291           Enable hardware performance counter support for perf events. If
1292           disabled, perf events will use software events only.
1293
1294 config SPARSE_IRQ
1295         def_bool n
1296         help
1297           This enables support for sparse irqs. This is useful in general
1298           as most CPUs have a fairly sparse array of IRQ vectors, which
1299           the irq_desc then maps directly on to. Systems with a high
1300           number of off-chip IRQs will want to treat this as
1301           experimental until they have been independently verified.
1302
1303 source "mm/Kconfig"
1304
1305 config FORCE_MAX_ZONEORDER
1306         int "Maximum zone order" if ARCH_SHMOBILE
1307         range 11 64 if ARCH_SHMOBILE
1308         default "9" if SA1111
1309         default "11"
1310         help
1311           The kernel memory allocator divides physically contiguous memory
1312           blocks into "zones", where each zone is a power of two number of
1313           pages.  This option selects the largest power of two that the kernel
1314           keeps in the memory allocator.  If you need to allocate very large
1315           blocks of physically contiguous memory, then you may need to
1316           increase this value.
1317
1318           This config option is actually maximum order plus one. For example,
1319           a value of 11 means that the largest free memory block is 2^10 pages.
1320
1321 config LEDS
1322         bool "Timer and CPU usage LEDs"
1323         depends on ARCH_CDB89712 || ARCH_EBSA110 || \
1324                    ARCH_EBSA285 || ARCH_INTEGRATOR || \
1325                    ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
1326                    ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
1327                    ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
1328                    ARCH_AT91 || ARCH_DAVINCI || \
1329                    ARCH_KS8695 || MACH_RD88F5182 || ARCH_REALVIEW
1330         help
1331           If you say Y here, the LEDs on your machine will be used
1332           to provide useful information about your current system status.
1333
1334           If you are compiling a kernel for a NetWinder or EBSA-285, you will
1335           be able to select which LEDs are active using the options below. If
1336           you are compiling a kernel for the EBSA-110 or the LART however, the
1337           red LED will simply flash regularly to indicate that the system is
1338           still functional. It is safe to say Y here if you have a CATS
1339           system, but the driver will do nothing.
1340
1341 config LEDS_TIMER
1342         bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
1343                             OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1344                             || MACH_OMAP_PERSEUS2
1345         depends on LEDS
1346         depends on !GENERIC_CLOCKEVENTS
1347         default y if ARCH_EBSA110
1348         help
1349           If you say Y here, one of the system LEDs (the green one on the
1350           NetWinder, the amber one on the EBSA285, or the red one on the LART)
1351           will flash regularly to indicate that the system is still
1352           operational. This is mainly useful to kernel hackers who are
1353           debugging unstable kernels.
1354
1355           The LART uses the same LED for both Timer LED and CPU usage LED
1356           functions. You may choose to use both, but the Timer LED function
1357           will overrule the CPU usage LED.
1358
1359 config LEDS_CPU
1360         bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
1361                         !ARCH_OMAP) \
1362                         || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1363                         || MACH_OMAP_PERSEUS2
1364         depends on LEDS
1365         help
1366           If you say Y here, the red LED will be used to give a good real
1367           time indication of CPU usage, by lighting whenever the idle task
1368           is not currently executing.
1369
1370           The LART uses the same LED for both Timer LED and CPU usage LED
1371           functions. You may choose to use both, but the Timer LED function
1372           will overrule the CPU usage LED.
1373
1374 config ALIGNMENT_TRAP
1375         bool
1376         depends on CPU_CP15_MMU
1377         default y if !ARCH_EBSA110
1378         select HAVE_PROC_CPU if PROC_FS
1379         help
1380           ARM processors cannot fetch/store information which is not
1381           naturally aligned on the bus, i.e., a 4 byte fetch must start at an
1382           address divisible by 4. On 32-bit ARM processors, these non-aligned
1383           fetch/store instructions will be emulated in software if you say
1384           here, which has a severe performance impact. This is necessary for
1385           correct operation of some network protocols. With an IP-only
1386           configuration it is safe to say N, otherwise say Y.
1387
1388 config UACCESS_WITH_MEMCPY
1389         bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)"
1390         depends on MMU && EXPERIMENTAL
1391         default y if CPU_FEROCEON
1392         help
1393           Implement faster copy_to_user and clear_user methods for CPU
1394           cores where a 8-word STM instruction give significantly higher
1395           memory write throughput than a sequence of individual 32bit stores.
1396
1397           A possible side effect is a slight increase in scheduling latency
1398           between threads sharing the same address space if they invoke
1399           such copy operations with large buffers.
1400
1401           However, if the CPU data cache is using a write-allocate mode,
1402           this option is unlikely to provide any performance gain.
1403
1404 config CC_STACKPROTECTOR
1405         bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
1406         help
1407           This option turns on the -fstack-protector GCC feature. This
1408           feature puts, at the beginning of functions, a canary value on
1409           the stack just before the return address, and validates
1410           the value just before actually returning.  Stack based buffer
1411           overflows (that need to overwrite this return address) now also
1412           overwrite the canary, which gets detected and the attack is then
1413           neutralized via a kernel panic.
1414           This feature requires gcc version 4.2 or above.
1415
1416 config DEPRECATED_PARAM_STRUCT
1417         bool "Provide old way to pass kernel parameters"
1418         help
1419           This was deprecated in 2001 and announced to live on for 5 years.
1420           Some old boot loaders still use this way.
1421
1422 endmenu
1423
1424 menu "Boot options"
1425
1426 # Compressed boot loader in ROM.  Yes, we really want to ask about
1427 # TEXT and BSS so we preserve their values in the config files.
1428 config ZBOOT_ROM_TEXT
1429         hex "Compressed ROM boot loader base address"
1430         default "0"
1431         help
1432           The physical address at which the ROM-able zImage is to be
1433           placed in the target.  Platforms which normally make use of
1434           ROM-able zImage formats normally set this to a suitable
1435           value in their defconfig file.
1436
1437           If ZBOOT_ROM is not enabled, this has no effect.
1438
1439 config ZBOOT_ROM_BSS
1440         hex "Compressed ROM boot loader BSS address"
1441         default "0"
1442         help
1443           The base address of an area of read/write memory in the target
1444           for the ROM-able zImage which must be available while the
1445           decompressor is running. It must be large enough to hold the
1446           entire decompressed kernel plus an additional 128 KiB.
1447           Platforms which normally make use of ROM-able zImage formats
1448           normally set this to a suitable value in their defconfig file.
1449
1450           If ZBOOT_ROM is not enabled, this has no effect.
1451
1452 config ZBOOT_ROM
1453         bool "Compressed boot loader in ROM/flash"
1454         depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
1455         help
1456           Say Y here if you intend to execute your compressed kernel image
1457           (zImage) directly from ROM or flash.  If unsure, say N.
1458
1459 config CMDLINE
1460         string "Default kernel command string"
1461         default ""
1462         help
1463           On some architectures (EBSA110 and CATS), there is currently no way
1464           for the boot loader to pass arguments to the kernel. For these
1465           architectures, you should supply some command-line options at build
1466           time by entering them here. As a minimum, you should specify the
1467           memory size and the root device (e.g., mem=64M root=/dev/nfs).
1468
1469 config CMDLINE_FORCE
1470         bool "Always use the default kernel command string"
1471         depends on CMDLINE != ""
1472         help
1473           Always use the default kernel command string, even if the boot
1474           loader passes other arguments to the kernel.
1475           This is useful if you cannot or don't want to change the
1476           command-line options your boot loader passes to the kernel.
1477
1478           If unsure, say N.
1479
1480 config XIP_KERNEL
1481         bool "Kernel Execute-In-Place from ROM"
1482         depends on !ZBOOT_ROM
1483         help
1484           Execute-In-Place allows the kernel to run from non-volatile storage
1485           directly addressable by the CPU, such as NOR flash. This saves RAM
1486           space since the text section of the kernel is not loaded from flash
1487           to RAM.  Read-write sections, such as the data section and stack,
1488           are still copied to RAM.  The XIP kernel is not compressed since
1489           it has to run directly from flash, so it will take more space to
1490           store it.  The flash address used to link the kernel object files,
1491           and for storing it, is configuration dependent. Therefore, if you
1492           say Y here, you must know the proper physical address where to
1493           store the kernel image depending on your own flash memory usage.
1494
1495           Also note that the make target becomes "make xipImage" rather than
1496           "make zImage" or "make Image".  The final kernel binary to put in
1497           ROM memory will be arch/arm/boot/xipImage.
1498
1499           If unsure, say N.
1500
1501 config XIP_PHYS_ADDR
1502         hex "XIP Kernel Physical Location"
1503         depends on XIP_KERNEL
1504         default "0x00080000"
1505         help
1506           This is the physical address in your flash memory the kernel will
1507           be linked for and stored to.  This address is dependent on your
1508           own flash usage.
1509
1510 config KEXEC
1511         bool "Kexec system call (EXPERIMENTAL)"
1512         depends on EXPERIMENTAL
1513         help
1514           kexec is a system call that implements the ability to shutdown your
1515           current kernel, and to start another kernel.  It is like a reboot
1516           but it is independent of the system firmware.   And like a reboot
1517           you can start any kernel with it, not just Linux.
1518
1519           It is an ongoing process to be certain the hardware in a machine
1520           is properly shutdown, so do not be surprised if this code does not
1521           initially work for you.  It may help to enable device hotplugging
1522           support.
1523
1524 config ATAGS_PROC
1525         bool "Export atags in procfs"
1526         depends on KEXEC
1527         default y
1528         help
1529           Should the atags used to boot the kernel be exported in an "atags"
1530           file in procfs. Useful with kexec.
1531
1532 config AUTO_ZRELADDR
1533         bool "Auto calculation of the decompressed kernel image address"
1534         depends on !ZBOOT_ROM && !ARCH_U300
1535         help
1536           ZRELADDR is the physical address where the decompressed kernel
1537           image will be placed. If AUTO_ZRELADDR is selected, the address
1538           will be determined at run-time by masking the current IP with
1539           0xf8000000. This assumes the zImage being placed in the first 128MB
1540           from start of memory.
1541
1542 config ZRELADDR
1543         hex "Physical address of the decompressed kernel image"
1544         depends on !AUTO_ZRELADDR
1545         default 0x00008000 if ARCH_BCMRING ||\
1546                 ARCH_CNS3XXX ||\
1547                 ARCH_DOVE ||\
1548                 ARCH_EBSA110 ||\
1549                 ARCH_FOOTBRIDGE ||\
1550                 ARCH_INTEGRATOR ||\
1551                 ARCH_IOP13XX ||\
1552                 ARCH_IOP33X ||\
1553                 ARCH_IXP2000 ||\
1554                 ARCH_IXP23XX ||\
1555                 ARCH_IXP4XX ||\
1556                 ARCH_KIRKWOOD ||\
1557                 ARCH_KS8695 ||\
1558                 ARCH_LOKI ||\
1559                 ARCH_MMP ||\
1560                 ARCH_MV78XX0 ||\
1561                 ARCH_NOMADIK ||\
1562                 ARCH_NUC93X ||\
1563                 ARCH_NS9XXX ||\
1564                 ARCH_ORION5X ||\
1565                 ARCH_SPEAR3XX ||\
1566                 ARCH_SPEAR6XX ||\
1567                 ARCH_U8500 ||\
1568                 ARCH_VERSATILE ||\
1569                 ARCH_W90X900
1570         default 0x08008000 if ARCH_MX1 ||\
1571                 ARCH_SHARK
1572         default 0x10008000 if ARCH_MSM ||\
1573                 ARCH_OMAP1 ||\
1574                 ARCH_RPC
1575         default 0x20008000 if ARCH_S5P6440 ||\
1576                 ARCH_S5P6442 ||\
1577                 ARCH_S5PC100 ||\
1578                 ARCH_S5PV210
1579         default 0x30008000 if ARCH_S3C2410 ||\
1580                 ARCH_S3C2400 ||\
1581                 ARCH_S3C2412 ||\
1582                 ARCH_S3C2416 ||\
1583                 ARCH_S3C2440 ||\
1584                 ARCH_S3C2443
1585         default 0x40008000 if ARCH_STMP378X ||\
1586                 ARCH_STMP37XX ||\
1587                 ARCH_SH7372 ||\
1588                 ARCH_SH7377
1589         default 0x50008000 if ARCH_S3C64XX ||\
1590                 ARCH_SH7367
1591         default 0x60008000 if ARCH_VEXPRESS
1592         default 0x80008000 if ARCH_MX25 ||\
1593                 ARCH_MX3 ||\
1594                 ARCH_NETX ||\
1595                 ARCH_OMAP2PLUS ||\
1596                 ARCH_PNX4008
1597         default 0x90008000 if ARCH_MX5 ||\
1598                 ARCH_MX91231
1599         default 0xa0008000 if ARCH_IOP32X ||\
1600                 ARCH_PXA ||\
1601                 MACH_MX27
1602         default 0xc0008000 if ARCH_LH7A40X ||\
1603                 MACH_MX21
1604         default 0xf0008000 if ARCH_AAEC2000 ||\
1605                 ARCH_L7200
1606         default 0xc0028000 if ARCH_CLPS711X
1607         default 0x70008000 if ARCH_AT91 && (ARCH_AT91CAP9 || ARCH_AT91SAM9G45)
1608         default 0x20008000 if ARCH_AT91 && !(ARCH_AT91CAP9 || ARCH_AT91SAM9G45)
1609         default 0xc0008000 if ARCH_DAVINCI && ARCH_DAVINCI_DA8XX
1610         default 0x80008000 if ARCH_DAVINCI && !ARCH_DAVINCI_DA8XX
1611         default 0x00008000 if ARCH_EP93XX && EP93XX_SDCE3_SYNC_PHYS_OFFSET
1612         default 0xc0008000 if ARCH_EP93XX && EP93XX_SDCE0_PHYS_OFFSET
1613         default 0xd0008000 if ARCH_EP93XX && EP93XX_SDCE1_PHYS_OFFSET
1614         default 0xe0008000 if ARCH_EP93XX && EP93XX_SDCE2_PHYS_OFFSET
1615         default 0xf0008000 if ARCH_EP93XX && EP93XX_SDCE3_ASYNC_PHYS_OFFSET
1616         default 0x00008000 if ARCH_GEMINI && GEMINI_MEM_SWAP
1617         default 0x10008000 if ARCH_GEMINI && !GEMINI_MEM_SWAP
1618         default 0x70008000 if ARCH_REALVIEW && REALVIEW_HIGH_PHYS_OFFSET
1619         default 0x00008000 if ARCH_REALVIEW && !REALVIEW_HIGH_PHYS_OFFSET
1620         default 0xc0208000 if ARCH_SA1100 && SA1111
1621         default 0xc0008000 if ARCH_SA1100 && !SA1111
1622         default 0x30108000 if ARCH_S3C2410 && PM_H1940
1623         default 0x28E08000 if ARCH_U300 && MACH_U300_SINGLE_RAM
1624         default 0x48008000 if ARCH_U300 && !MACH_U300_SINGLE_RAM
1625         help
1626           ZRELADDR is the physical address where the decompressed kernel
1627           image will be placed. ZRELADDR has to be specified when the
1628           assumption of AUTO_ZRELADDR is not valid, or when ZBOOT_ROM is
1629           selected.
1630
1631 endmenu
1632
1633 menu "CPU Power Management"
1634
1635 if ARCH_HAS_CPUFREQ
1636
1637 source "drivers/cpufreq/Kconfig"
1638
1639 config CPU_FREQ_SA1100
1640         bool
1641
1642 config CPU_FREQ_SA1110
1643         bool
1644
1645 config CPU_FREQ_INTEGRATOR
1646         tristate "CPUfreq driver for ARM Integrator CPUs"
1647         depends on ARCH_INTEGRATOR && CPU_FREQ
1648         default y
1649         help
1650           This enables the CPUfreq driver for ARM Integrator CPUs.
1651
1652           For details, take a look at <file:Documentation/cpu-freq>.
1653
1654           If in doubt, say Y.
1655
1656 config CPU_FREQ_PXA
1657         bool
1658         depends on CPU_FREQ && ARCH_PXA && PXA25x
1659         default y
1660         select CPU_FREQ_DEFAULT_GOV_USERSPACE
1661
1662 config CPU_FREQ_S3C64XX
1663         bool "CPUfreq support for Samsung S3C64XX CPUs"
1664         depends on CPU_FREQ && CPU_S3C6410
1665
1666 config CPU_FREQ_S3C
1667         bool
1668         help
1669           Internal configuration node for common cpufreq on Samsung SoC
1670
1671 config CPU_FREQ_S3C24XX
1672         bool "CPUfreq driver for Samsung S3C24XX series CPUs"
1673         depends on ARCH_S3C2410 && CPU_FREQ && EXPERIMENTAL
1674         select CPU_FREQ_S3C
1675         help
1676           This enables the CPUfreq driver for the Samsung S3C24XX family
1677           of CPUs.
1678
1679           For details, take a look at <file:Documentation/cpu-freq>.
1680
1681           If in doubt, say N.
1682
1683 config CPU_FREQ_S3C24XX_PLL
1684         bool "Support CPUfreq changing of PLL frequency"
1685         depends on CPU_FREQ_S3C24XX && EXPERIMENTAL
1686         help
1687           Compile in support for changing the PLL frequency from the
1688           S3C24XX series CPUfreq driver. The PLL takes time to settle
1689           after a frequency change, so by default it is not enabled.
1690
1691           This also means that the PLL tables for the selected CPU(s) will
1692           be built which may increase the size of the kernel image.
1693
1694 config CPU_FREQ_S3C24XX_DEBUG
1695         bool "Debug CPUfreq Samsung driver core"
1696         depends on CPU_FREQ_S3C24XX
1697         help
1698           Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
1699
1700 config CPU_FREQ_S3C24XX_IODEBUG
1701         bool "Debug CPUfreq Samsung driver IO timing"
1702         depends on CPU_FREQ_S3C24XX
1703         help
1704           Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
1705
1706 config CPU_FREQ_S3C24XX_DEBUGFS
1707         bool "Export debugfs for CPUFreq"
1708         depends on CPU_FREQ_S3C24XX && DEBUG_FS
1709         help
1710           Export status information via debugfs.
1711
1712 endif
1713
1714 source "drivers/cpuidle/Kconfig"
1715
1716 endmenu
1717
1718 menu "Floating point emulation"
1719
1720 comment "At least one emulation must be selected"
1721
1722 config FPE_NWFPE
1723         bool "NWFPE math emulation"
1724         depends on !AEABI || OABI_COMPAT
1725         ---help---
1726           Say Y to include the NWFPE floating point emulator in the kernel.
1727           This is necessary to run most binaries. Linux does not currently
1728           support floating point hardware so you need to say Y here even if
1729           your machine has an FPA or floating point co-processor podule.
1730
1731           You may say N here if you are going to load the Acorn FPEmulator
1732           early in the bootup.
1733
1734 config FPE_NWFPE_XP
1735         bool "Support extended precision"
1736         depends on FPE_NWFPE
1737         help
1738           Say Y to include 80-bit support in the kernel floating-point
1739           emulator.  Otherwise, only 32 and 64-bit support is compiled in.
1740           Note that gcc does not generate 80-bit operations by default,
1741           so in most cases this option only enlarges the size of the
1742           floating point emulator without any good reason.
1743
1744           You almost surely want to say N here.
1745
1746 config FPE_FASTFPE
1747         bool "FastFPE math emulation (EXPERIMENTAL)"
1748         depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1749         ---help---
1750           Say Y here to include the FAST floating point emulator in the kernel.
1751           This is an experimental much faster emulator which now also has full
1752           precision for the mantissa.  It does not support any exceptions.
1753           It is very simple, and approximately 3-6 times faster than NWFPE.
1754
1755           It should be sufficient for most programs.  It may be not suitable
1756           for scientific calculations, but you have to check this for yourself.
1757           If you do not feel you need a faster FP emulation you should better
1758           choose NWFPE.
1759
1760 config VFP
1761         bool "VFP-format floating point maths"
1762         depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1763         help
1764           Say Y to include VFP support code in the kernel. This is needed
1765           if your hardware includes a VFP unit.
1766
1767           Please see <file:Documentation/arm/VFP/release-notes.txt> for
1768           release notes and additional status information.
1769
1770           Say N if your target does not have VFP hardware.
1771
1772 config VFPv3
1773         bool
1774         depends on VFP
1775         default y if CPU_V7
1776
1777 config NEON
1778         bool "Advanced SIMD (NEON) Extension support"
1779         depends on VFPv3 && CPU_V7
1780         help
1781           Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1782           Extension.
1783
1784 endmenu
1785
1786 menu "Userspace binary formats"
1787
1788 source "fs/Kconfig.binfmt"
1789
1790 config ARTHUR
1791         tristate "RISC OS personality"
1792         depends on !AEABI
1793         help
1794           Say Y here to include the kernel code necessary if you want to run
1795           Acorn RISC OS/Arthur binaries under Linux. This code is still very
1796           experimental; if this sounds frightening, say N and sleep in peace.
1797           You can also say M here to compile this support as a module (which
1798           will be called arthur).
1799
1800 endmenu
1801
1802 menu "Power management options"
1803
1804 source "kernel/power/Kconfig"
1805
1806 config ARCH_SUSPEND_POSSIBLE
1807         def_bool y
1808
1809 endmenu
1810
1811 source "net/Kconfig"
1812
1813 source "drivers/Kconfig"
1814
1815 source "fs/Kconfig"
1816
1817 source "arch/arm/Kconfig.debug"
1818
1819 source "security/Kconfig"
1820
1821 source "crypto/Kconfig"
1822
1823 source "lib/Kconfig"