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