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