OSDN Git Service

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