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