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