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