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