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