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