arm: Use generic idle loop
[deliverable/linux.git] / arch / arm / Kconfig
CommitLineData
1da177e4
LT
1config ARM
2 bool
3 default y
b1b3f49c
RK
4 select ARCH_BINFMT_ELF_RANDOMIZE_PIE
5 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
7563bbf8 6 select ARCH_HAVE_CUSTOM_GPIO_H
3d06770e 7 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
b1b3f49c 8 select ARCH_WANT_IPC_PARSE_VERSION
ee951c63 9 select BUILDTIME_EXTABLE_SORT if MMU
b1b3f49c 10 select CPU_PM if (SUSPEND || CPU_IDLE)
39b175a0 11 select DCACHE_WORD_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && !CPU_BIG_ENDIAN && MMU
a41297a0 12 select GENERIC_ATOMIC64 if (CPU_V6 || !CPU_32v6K || !AEABI)
b1b3f49c
RK
13 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
14 select GENERIC_IRQ_PROBE
15 select GENERIC_IRQ_SHOW
b1b3f49c
RK
16 select GENERIC_PCI_IOMAP
17 select GENERIC_SMP_IDLE_THREAD
f7b861b7
TG
18 select GENERIC_IDLE_LOOP
19 select GENERIC_IDLE_POLL_SETUP
b1b3f49c
RK
20 select GENERIC_STRNCPY_FROM_USER
21 select GENERIC_STRNLEN_USER
22 select HARDIRQS_SW_RESEND
23 select HAVE_AOUT
09f05d85 24 select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL
5cbad0eb 25 select HAVE_ARCH_KGDB
4095ccc3 26 select HAVE_ARCH_SECCOMP_FILTER
0693bf68 27 select HAVE_ARCH_TRACEHOOK
b1b3f49c
RK
28 select HAVE_BPF_JIT
29 select HAVE_C_RECORDMCOUNT
30 select HAVE_DEBUG_KMEMLEAK
31 select HAVE_DMA_API_DEBUG
32 select HAVE_DMA_ATTRS
33 select HAVE_DMA_CONTIGUOUS if MMU
80be7a7f 34 select HAVE_DYNAMIC_FTRACE if (!XIP_KERNEL)
b1b3f49c 35 select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL)
0e341af8 36 select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL)
b1b3f49c 37 select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
1fe53268 38 select HAVE_GENERIC_DMA_COHERENT
b1b3f49c
RK
39 select HAVE_GENERIC_HARDIRQS
40 select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7))
41 select HAVE_IDE if PCI || ISA || PCMCIA
e7db7b42 42 select HAVE_KERNEL_GZIP
6e8699f7 43 select HAVE_KERNEL_LZMA
b1b3f49c 44 select HAVE_KERNEL_LZO
a7f464f3 45 select HAVE_KERNEL_XZ
b1b3f49c
RK
46 select HAVE_KPROBES if !XIP_KERNEL
47 select HAVE_KRETPROBES if (HAVE_KPROBES)
48 select HAVE_MEMBLOCK
49 select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
7ada189f 50 select HAVE_PERF_EVENTS
e513f8bf 51 select HAVE_REGS_AND_STACK_ACCESS_API
b1b3f49c 52 select HAVE_SYSCALL_TRACEPOINTS
af1839eb 53 select HAVE_UID16
3d92a71a 54 select KTIME_SCALAR
b1b3f49c
RK
55 select PERF_USE_VMALLOC
56 select RTC_LIB
57 select SYS_SUPPORTS_APM_EMULATION
786d35d4
DH
58 select HAVE_MOD_ARCH_SPECIFIC if ARM_UNWIND
59 select MODULES_USE_ELF_REL
38a61b6b 60 select CLONE_BACKWARDS
b68fec24 61 select OLD_SIGSUSPEND3
50bcb7e4 62 select OLD_SIGACTION
1da177e4
LT
63 help
64 The ARM series is a line of low-power-consumption RISC chip designs
f6c8965a 65 licensed by ARM Ltd and targeted at embedded applications and
1da177e4 66 handhelds such as the Compaq IPAQ. ARM-based PCs are no longer
f6c8965a 67 manufactured, but legacy ARM-based PC hardware remains popular in
1da177e4
LT
68 Europe. There is an ARM Linux project with a web page at
69 <http://www.arm.linux.org.uk/>.
70
74facffe
RK
71config ARM_HAS_SG_CHAIN
72 bool
73
4ce63fcd
MS
74config NEED_SG_DMA_LENGTH
75 bool
76
77config ARM_DMA_USE_IOMMU
4ce63fcd 78 bool
b1b3f49c
RK
79 select ARM_HAS_SG_CHAIN
80 select NEED_SG_DMA_LENGTH
4ce63fcd 81
60460abf
SWK
82if ARM_DMA_USE_IOMMU
83
84config ARM_DMA_IOMMU_ALIGNMENT
85 int "Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers"
86 range 4 9
87 default 8
88 help
89 DMA mapping framework by default aligns all buffers to the smallest
90 PAGE_SIZE order which is greater than or equal to the requested buffer
91 size. This works well for buffers up to a few hundreds kilobytes, but
92 for larger buffers it just a waste of address space. Drivers which has
93 relatively small addressing window (like 64Mib) might run out of
94 virtual space with just a few allocations.
95
96 With this parameter you can specify the maximum PAGE_SIZE order for
97 DMA IOMMU buffers. Larger buffers will be aligned only to this
98 specified order. The order is expressed as a power of two multiplied
99 by the PAGE_SIZE.
100
101endif
102
1a189b97
RK
103config HAVE_PWM
104 bool
105
0b05da72
HUK
106config MIGHT_HAVE_PCI
107 bool
108
75e7153a
RB
109config SYS_SUPPORTS_APM_EMULATION
110 bool
111
0a938b97
DB
112config GENERIC_GPIO
113 bool
0a938b97 114
bc581770
LW
115config HAVE_TCM
116 bool
117 select GENERIC_ALLOCATOR
118
e119bfff
RK
119config HAVE_PROC_CPU
120 bool
121
5ea81769
AV
122config NO_IOPORT
123 bool
5ea81769 124
1da177e4
LT
125config EISA
126 bool
127 ---help---
128 The Extended Industry Standard Architecture (EISA) bus was
129 developed as an open alternative to the IBM MicroChannel bus.
130
131 The EISA bus provided some of the features of the IBM MicroChannel
132 bus while maintaining backward compatibility with cards made for
133 the older ISA bus. The EISA bus saw limited use between 1988 and
134 1995 when it was made obsolete by the PCI bus.
135
136 Say Y here if you are building a kernel for an EISA-based machine.
137
138 Otherwise, say N.
139
140config SBUS
141 bool
142
f16fb1ec
RK
143config STACKTRACE_SUPPORT
144 bool
145 default y
146
f76e9154
NP
147config HAVE_LATENCYTOP_SUPPORT
148 bool
149 depends on !SMP
150 default y
151
f16fb1ec
RK
152config LOCKDEP_SUPPORT
153 bool
154 default y
155
7ad1bcb2
RK
156config TRACE_IRQFLAGS_SUPPORT
157 bool
158 default y
159
1da177e4
LT
160config RWSEM_GENERIC_SPINLOCK
161 bool
162 default y
163
164config RWSEM_XCHGADD_ALGORITHM
165 bool
166
f0d1b0b3
DH
167config ARCH_HAS_ILOG2_U32
168 bool
f0d1b0b3
DH
169
170config ARCH_HAS_ILOG2_U64
171 bool
f0d1b0b3 172
89c52ed4
BD
173config ARCH_HAS_CPUFREQ
174 bool
175 help
176 Internal node to signify that the ARCH has CPUFREQ support
177 and that the relevant menu configurations are displayed for
178 it.
179
b89c3b16
AM
180config GENERIC_HWEIGHT
181 bool
182 default y
183
1da177e4
LT
184config GENERIC_CALIBRATE_DELAY
185 bool
186 default y
187
a08b6b79
Z
188config ARCH_MAY_HAVE_PC_FDC
189 bool
190
5ac6da66
CL
191config ZONE_DMA
192 bool
5ac6da66 193
ccd7ab7f
FT
194config NEED_DMA_MAP_STATE
195 def_bool y
196
58af4a24
RH
197config ARCH_HAS_DMA_SET_COHERENT_MASK
198 bool
199
1da177e4
LT
200config GENERIC_ISA_DMA
201 bool
202
1da177e4
LT
203config FIQ
204 bool
205
13a5045d
RH
206config NEED_RET_TO_USER
207 bool
208
034d2f5a
AV
209config ARCH_MTD_XIP
210 bool
211
c760fc19
HC
212config VECTORS_BASE
213 hex
6afd6fae 214 default 0xffff0000 if MMU || CPU_HIGH_VECTOR
c760fc19
HC
215 default DRAM_BASE if REMAP_VECTORS_TO_RAM
216 default 0x00000000
217 help
218 The base address of exception vectors.
219
dc21af99 220config ARM_PATCH_PHYS_VIRT
c1becedc
RK
221 bool "Patch physical to virtual translations at runtime" if EMBEDDED
222 default y
b511d75d 223 depends on !XIP_KERNEL && MMU
dc21af99
RK
224 depends on !ARCH_REALVIEW || !SPARSEMEM
225 help
111e9a5c
RK
226 Patch phys-to-virt and virt-to-phys translation functions at
227 boot and module load time according to the position of the
228 kernel in system memory.
dc21af99 229
111e9a5c 230 This can only be used with non-XIP MMU kernels where the base
daece596 231 of physical memory is at a 16MB boundary.
dc21af99 232
c1becedc
RK
233 Only disable this option if you know that you do not require
234 this feature (eg, building a kernel for a single machine) and
235 you need to shrink the kernel to the minimal size.
dc21af99 236
01464226
RH
237config NEED_MACH_GPIO_H
238 bool
239 help
240 Select this when mach/gpio.h is required to provide special
241 definitions for this platform. The need for mach/gpio.h should
242 be avoided when possible.
243
c334bc15
RH
244config NEED_MACH_IO_H
245 bool
246 help
247 Select this when mach/io.h is required to provide special
248 definitions for this platform. The need for mach/io.h should
249 be avoided when possible.
250
0cdc8b92 251config NEED_MACH_MEMORY_H
1b9f95f8
NP
252 bool
253 help
0cdc8b92
NP
254 Select this when mach/memory.h is required to provide special
255 definitions for this platform. The need for mach/memory.h should
256 be avoided when possible.
dc21af99 257
1b9f95f8 258config PHYS_OFFSET
974c0724 259 hex "Physical address of main memory" if MMU
0cdc8b92 260 depends on !ARM_PATCH_PHYS_VIRT && !NEED_MACH_MEMORY_H
974c0724 261 default DRAM_BASE if !MMU
111e9a5c 262 help
1b9f95f8
NP
263 Please provide the physical address corresponding to the
264 location of main memory in your system.
cada3c08 265
87e040b6
SG
266config GENERIC_BUG
267 def_bool y
268 depends on BUG
269
1da177e4
LT
270source "init/Kconfig"
271
dc52ddc0
MH
272source "kernel/Kconfig.freezer"
273
1da177e4
LT
274menu "System Type"
275
3c427975
HC
276config MMU
277 bool "MMU-based Paged Memory Management Support"
278 default y
279 help
280 Select if you want MMU-based virtualised addressing space
281 support by paged memory management. If unsure, say 'Y'.
282
ccf50e23
RK
283#
284# The "ARM system type" choice list is ordered alphabetically by option
285# text. Please add new entries in the option alphabetic order.
286#
1da177e4
LT
287choice
288 prompt "ARM system type"
1420b22b
AB
289 default ARCH_VERSATILE if !MMU
290 default ARCH_MULTIPLATFORM if MMU
1da177e4 291
387798b3
RH
292config ARCH_MULTIPLATFORM
293 bool "Allow multiple platforms to be selected"
b1b3f49c 294 depends on MMU
387798b3
RH
295 select ARM_PATCH_PHYS_VIRT
296 select AUTO_ZRELADDR
66314223 297 select COMMON_CLK
387798b3 298 select MULTI_IRQ_HANDLER
66314223
DN
299 select SPARSE_IRQ
300 select USE_OF
66314223 301
4af6fee1
DS
302config ARCH_INTEGRATOR
303 bool "ARM Ltd. Integrator family"
89c52ed4 304 select ARCH_HAS_CPUFREQ
b1b3f49c 305 select ARM_AMBA
a613163d 306 select COMMON_CLK
f9a6aa43 307 select COMMON_CLK_VERSATILE
b1b3f49c 308 select GENERIC_CLOCKEVENTS
9904f793 309 select HAVE_TCM
c5a0adb5 310 select ICST
b1b3f49c
RK
311 select MULTI_IRQ_HANDLER
312 select NEED_MACH_MEMORY_H
f4b8b319 313 select PLAT_VERSATILE
695436e3 314 select SPARSE_IRQ
2389d501 315 select VERSATILE_FPGA_IRQ
4af6fee1
DS
316 help
317 Support for ARM's Integrator platform.
318
319config ARCH_REALVIEW
320 bool "ARM Ltd. RealView family"
b1b3f49c 321 select ARCH_WANT_OPTIONAL_GPIOLIB
4af6fee1 322 select ARM_AMBA
b1b3f49c 323 select ARM_TIMER_SP804
f9a6aa43
LW
324 select COMMON_CLK
325 select COMMON_CLK_VERSATILE
ae30ceac 326 select GENERIC_CLOCKEVENTS
b56ba8aa 327 select GPIO_PL061 if GPIOLIB
b1b3f49c 328 select ICST
0cdc8b92 329 select NEED_MACH_MEMORY_H
b1b3f49c
RK
330 select PLAT_VERSATILE
331 select PLAT_VERSATILE_CLCD
4af6fee1
DS
332 help
333 This enables support for ARM Ltd RealView boards.
334
335config ARCH_VERSATILE
336 bool "ARM Ltd. Versatile family"
b1b3f49c 337 select ARCH_WANT_OPTIONAL_GPIOLIB
4af6fee1 338 select ARM_AMBA
b1b3f49c 339 select ARM_TIMER_SP804
4af6fee1 340 select ARM_VIC
6d803ba7 341 select CLKDEV_LOOKUP
b1b3f49c 342 select GENERIC_CLOCKEVENTS
aa3831cf 343 select HAVE_MACH_CLKDEV
c5a0adb5 344 select ICST
f4b8b319 345 select PLAT_VERSATILE
3414ba8c 346 select PLAT_VERSATILE_CLCD
b1b3f49c 347 select PLAT_VERSATILE_CLOCK
2389d501 348 select VERSATILE_FPGA_IRQ
4af6fee1
DS
349 help
350 This enables support for ARM Ltd Versatile board.
351
8fc5ffa0
AV
352config ARCH_AT91
353 bool "Atmel AT91"
f373e8c0 354 select ARCH_REQUIRE_GPIOLIB
bd602995 355 select CLKDEV_LOOKUP
b1b3f49c 356 select HAVE_CLK
e261501d 357 select IRQ_DOMAIN
01464226 358 select NEED_MACH_GPIO_H
1ac02d79 359 select NEED_MACH_IO_H if PCCARD
6732ae5c
JCPV
360 select PINCTRL
361 select PINCTRL_AT91 if USE_OF
4af6fee1 362 help
929e994f
NF
363 This enables support for systems based on Atmel
364 AT91RM9200 and AT91SAM9* processors.
4af6fee1 365
ec9653b8
SA
366config ARCH_BCM2835
367 bool "Broadcom BCM2835 family"
805504ab 368 select ARCH_REQUIRE_GPIOLIB
ec9653b8
SA
369 select ARM_AMBA
370 select ARM_ERRATA_411920
371 select ARM_TIMER_SP804
372 select CLKDEV_LOOKUP
c1b724f6 373 select CLKSRC_OF
ec9653b8
SA
374 select COMMON_CLK
375 select CPU_V6
376 select GENERIC_CLOCKEVENTS
377 select MULTI_IRQ_HANDLER
805504ab
SW
378 select PINCTRL
379 select PINCTRL_BCM2835
ec9653b8
SA
380 select SPARSE_IRQ
381 select USE_OF
382 help
383 This enables support for the Broadcom BCM2835 SoC. This SoC is
384 use in the Raspberry Pi, and Roku 2 devices.
385
d94f944e
AV
386config ARCH_CNS3XXX
387 bool "Cavium Networks CNS3XXX family"
b1b3f49c 388 select ARM_GIC
00d2711d 389 select CPU_V6K
d94f944e 390 select GENERIC_CLOCKEVENTS
ce5ea9f3 391 select MIGHT_HAVE_CACHE_L2X0
0b05da72 392 select MIGHT_HAVE_PCI
5f32f7a0 393 select PCI_DOMAINS if PCI
d94f944e
AV
394 help
395 Support for Cavium Networks CNS3XXX platform.
396
93e22567
RK
397config ARCH_CLPS711X
398 bool "Cirrus Logic CLPS711x/EP721x/EP731x-based"
a3b8d4a5 399 select ARCH_REQUIRE_GPIOLIB
ea7d1bc9 400 select AUTO_ZRELADDR
93e22567
RK
401 select CLKDEV_LOOKUP
402 select COMMON_CLK
403 select CPU_ARM720T
4a8355c4 404 select GENERIC_CLOCKEVENTS
99f04c8f 405 select MULTI_IRQ_HANDLER
93e22567 406 select NEED_MACH_MEMORY_H
0d8be81c 407 select SPARSE_IRQ
93e22567
RK
408 help
409 Support for Cirrus Logic 711x/721x/731x based boards.
410
788c9700
RK
411config ARCH_GEMINI
412 bool "Cortina Systems Gemini"
788c9700 413 select ARCH_REQUIRE_GPIOLIB
5cfc8ee0 414 select ARCH_USES_GETTIMEOFFSET
b1b3f49c 415 select CPU_FA526
788c9700
RK
416 help
417 Support for the Cortina Systems Gemini family SoCs
418
156a0997
BS
419config ARCH_SIRF
420 bool "CSR SiRF"
f6387092 421 select ARCH_REQUIRE_GPIOLIB
20ddfa93 422 select AUTO_ZRELADDR
198678b0 423 select COMMON_CLK
b1b3f49c 424 select GENERIC_CLOCKEVENTS
3a6cb8ce 425 select GENERIC_IRQ_CHIP
ce5ea9f3 426 select MIGHT_HAVE_CACHE_L2X0
b1b3f49c 427 select NO_IOPORT
cbd8d842
BS
428 select PINCTRL
429 select PINCTRL_SIRF
3a6cb8ce 430 select USE_OF
3a6cb8ce 431 help
156a0997 432 Support for CSR SiRFprimaII/Marco/Polo platforms
3a6cb8ce 433
1da177e4
LT
434config ARCH_EBSA110
435 bool "EBSA-110"
b1b3f49c 436 select ARCH_USES_GETTIMEOFFSET
c750815e 437 select CPU_SA110
f7e68bbf 438 select ISA
c334bc15 439 select NEED_MACH_IO_H
0cdc8b92 440 select NEED_MACH_MEMORY_H
b1b3f49c 441 select NO_IOPORT
1da177e4
LT
442 help
443 This is an evaluation board for the StrongARM processor available
f6c8965a 444 from Digital. It has limited hardware on-board, including an
1da177e4
LT
445 Ethernet interface, two PCMCIA sockets, two serial ports and a
446 parallel port.
447
e7736d47
LB
448config ARCH_EP93XX
449 bool "EP93xx-based"
b1b3f49c
RK
450 select ARCH_HAS_HOLES_MEMORYMODEL
451 select ARCH_REQUIRE_GPIOLIB
452 select ARCH_USES_GETTIMEOFFSET
e7736d47
LB
453 select ARM_AMBA
454 select ARM_VIC
6d803ba7 455 select CLKDEV_LOOKUP
b1b3f49c 456 select CPU_ARM920T
5725aeae 457 select NEED_MACH_MEMORY_H
e7736d47
LB
458 help
459 This enables support for the Cirrus EP93xx series of CPUs.
460
1da177e4
LT
461config ARCH_FOOTBRIDGE
462 bool "FootBridge"
c750815e 463 select CPU_SA110
1da177e4 464 select FOOTBRIDGE
4e8d7637 465 select GENERIC_CLOCKEVENTS
d0ee9f40 466 select HAVE_IDE
8ef6e620 467 select NEED_MACH_IO_H if !MMU
0cdc8b92 468 select NEED_MACH_MEMORY_H
f999b8bd
MM
469 help
470 Support for systems based on the DC21285 companion chip
471 ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
1da177e4 472
1d3f33d5
SG
473config ARCH_MXS
474 bool "Freescale MXS-based"
1d3f33d5 475 select ARCH_REQUIRE_GPIOLIB
b9214b97 476 select CLKDEV_LOOKUP
5c61ddcf 477 select CLKSRC_MMIO
2664681f 478 select COMMON_CLK
b1b3f49c 479 select GENERIC_CLOCKEVENTS
6abda3e1 480 select HAVE_CLK_PREPARE
4e0a1b8c 481 select MULTI_IRQ_HANDLER
a0f5e363 482 select PINCTRL
c2668206 483 select SPARSE_IRQ
6c4d4efb 484 select USE_OF
1d3f33d5
SG
485 help
486 Support for Freescale MXS-based family of processors
487
4af6fee1
DS
488config ARCH_NETX
489 bool "Hilscher NetX based"
b1b3f49c 490 select ARM_VIC
234b6ced 491 select CLKSRC_MMIO
c750815e 492 select CPU_ARM926T
2fcfe6b8 493 select GENERIC_CLOCKEVENTS
f999b8bd 494 help
4af6fee1
DS
495 This enables support for systems based on the Hilscher NetX Soc
496
497config ARCH_H720X
498 bool "Hynix HMS720x-based"
b1b3f49c 499 select ARCH_USES_GETTIMEOFFSET
c750815e 500 select CPU_ARM720T
4af6fee1
DS
501 select ISA_DMA_API
502 help
503 This enables support for systems based on the Hynix HMS720x
504
3b938be6
RK
505config ARCH_IOP13XX
506 bool "IOP13xx-based"
507 depends on MMU
3b938be6 508 select ARCH_SUPPORTS_MSI
b1b3f49c 509 select CPU_XSC3
0cdc8b92 510 select NEED_MACH_MEMORY_H
13a5045d 511 select NEED_RET_TO_USER
b1b3f49c
RK
512 select PCI
513 select PLAT_IOP
514 select VMSPLIT_1G
3b938be6
RK
515 help
516 Support for Intel's IOP13XX (XScale) family of processors.
517
3f7e5815
LB
518config ARCH_IOP32X
519 bool "IOP32x-based"
a4f7e763 520 depends on MMU
b1b3f49c 521 select ARCH_REQUIRE_GPIOLIB
c750815e 522 select CPU_XSCALE
01464226 523 select NEED_MACH_GPIO_H
13a5045d 524 select NEED_RET_TO_USER
f7e68bbf 525 select PCI
b1b3f49c 526 select PLAT_IOP
f999b8bd 527 help
3f7e5815
LB
528 Support for Intel's 80219 and IOP32X (XScale) family of
529 processors.
530
531config ARCH_IOP33X
532 bool "IOP33x-based"
533 depends on MMU
b1b3f49c 534 select ARCH_REQUIRE_GPIOLIB
c750815e 535 select CPU_XSCALE
01464226 536 select NEED_MACH_GPIO_H
13a5045d 537 select NEED_RET_TO_USER
3f7e5815 538 select PCI
b1b3f49c 539 select PLAT_IOP
3f7e5815
LB
540 help
541 Support for Intel's IOP33X (XScale) family of processors.
1da177e4 542
3b938be6
RK
543config ARCH_IXP4XX
544 bool "IXP4xx-based"
a4f7e763 545 depends on MMU
58af4a24 546 select ARCH_HAS_DMA_SET_COHERENT_MASK
b1b3f49c 547 select ARCH_REQUIRE_GPIOLIB
234b6ced 548 select CLKSRC_MMIO
c750815e 549 select CPU_XSCALE
b1b3f49c 550 select DMABOUNCE if PCI
3b938be6 551 select GENERIC_CLOCKEVENTS
0b05da72 552 select MIGHT_HAVE_PCI
c334bc15 553 select NEED_MACH_IO_H
c4713074 554 help
3b938be6 555 Support for Intel's IXP4XX (XScale) family of processors.
c4713074 556
edabd38e
SB
557config ARCH_DOVE
558 bool "Marvell Dove"
edabd38e 559 select ARCH_REQUIRE_GPIOLIB
b1b3f49c 560 select CPU_V7
edabd38e 561 select GENERIC_CLOCKEVENTS
0f81bd43 562 select MIGHT_HAVE_PCI
9139acd1
SH
563 select PINCTRL
564 select PINCTRL_DOVE
abcda1dc 565 select PLAT_ORION_LEGACY
0f81bd43 566 select USB_ARCH_HAS_EHCI
edabd38e
SB
567 help
568 Support for the Marvell Dove SoC 88AP510
569
651c74c7
SB
570config ARCH_KIRKWOOD
571 bool "Marvell Kirkwood"
a8865655 572 select ARCH_REQUIRE_GPIOLIB
b1b3f49c 573 select CPU_FEROCEON
651c74c7 574 select GENERIC_CLOCKEVENTS
b1b3f49c 575 select PCI
1dc831bf 576 select PCI_QUIRKS
f9e75922
AL
577 select PINCTRL
578 select PINCTRL_KIRKWOOD
abcda1dc 579 select PLAT_ORION_LEGACY
651c74c7
SB
580 help
581 Support for the following Marvell Kirkwood series SoCs:
582 88F6180, 88F6192 and 88F6281.
583
794d15b2
SS
584config ARCH_MV78XX0
585 bool "Marvell MV78xx0"
a8865655 586 select ARCH_REQUIRE_GPIOLIB
b1b3f49c 587 select CPU_FEROCEON
794d15b2 588 select GENERIC_CLOCKEVENTS
b1b3f49c 589 select PCI
abcda1dc 590 select PLAT_ORION_LEGACY
794d15b2
SS
591 help
592 Support for the following Marvell MV78xx0 series SoCs:
593 MV781x0, MV782x0.
594
9dd0b194 595config ARCH_ORION5X
585cf175
TP
596 bool "Marvell Orion"
597 depends on MMU
a8865655 598 select ARCH_REQUIRE_GPIOLIB
b1b3f49c 599 select CPU_FEROCEON
51cbff1d 600 select GENERIC_CLOCKEVENTS
b1b3f49c 601 select PCI
abcda1dc 602 select PLAT_ORION_LEGACY
585cf175 603 help
9dd0b194 604 Support for the following Marvell Orion 5x series SoCs:
d2b2a6bb 605 Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
d323ade1 606 Orion-2 (5281), Orion-1-90 (6183).
585cf175 607
788c9700 608config ARCH_MMP
2f7e8fae 609 bool "Marvell PXA168/910/MMP2"
788c9700 610 depends on MMU
788c9700 611 select ARCH_REQUIRE_GPIOLIB
6d803ba7 612 select CLKDEV_LOOKUP
b1b3f49c 613 select GENERIC_ALLOCATOR
788c9700 614 select GENERIC_CLOCKEVENTS
157d2644 615 select GPIO_PXA
c24b3114 616 select IRQ_DOMAIN
b1b3f49c 617 select NEED_MACH_GPIO_H
7c8f86a4 618 select PINCTRL
788c9700 619 select PLAT_PXA
0bd86961 620 select SPARSE_IRQ
788c9700 621 help
2f7e8fae 622 Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
788c9700
RK
623
624config ARCH_KS8695
625 bool "Micrel/Kendin KS8695"
98830bc9 626 select ARCH_REQUIRE_GPIOLIB
c7e783d6 627 select CLKSRC_MMIO
b1b3f49c 628 select CPU_ARM922T
c7e783d6 629 select GENERIC_CLOCKEVENTS
b1b3f49c 630 select NEED_MACH_MEMORY_H
788c9700
RK
631 help
632 Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
633 System-on-Chip devices.
634
788c9700
RK
635config ARCH_W90X900
636 bool "Nuvoton W90X900 CPU"
c52d3d68 637 select ARCH_REQUIRE_GPIOLIB
6d803ba7 638 select CLKDEV_LOOKUP
6fa5d5f7 639 select CLKSRC_MMIO
b1b3f49c 640 select CPU_ARM926T
58b5369e 641 select GENERIC_CLOCKEVENTS
788c9700 642 help
a8bc4ead 643 Support for Nuvoton (Winbond logic dept.) ARM9 processor,
644 At present, the w90x900 has been renamed nuc900, regarding
645 the ARM series product line, you can login the following
646 link address to know more.
647
648 <http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/
649 ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller>
788c9700 650
93e22567
RK
651config ARCH_LPC32XX
652 bool "NXP LPC32XX"
653 select ARCH_REQUIRE_GPIOLIB
654 select ARM_AMBA
655 select CLKDEV_LOOKUP
656 select CLKSRC_MMIO
657 select CPU_ARM926T
658 select GENERIC_CLOCKEVENTS
659 select HAVE_IDE
660 select HAVE_PWM
661 select USB_ARCH_HAS_OHCI
662 select USE_OF
663 help
664 Support for the NXP LPC32XX family of processors
665
c5f80065
EG
666config ARCH_TEGRA
667 bool "NVIDIA Tegra"
b1b3f49c 668 select ARCH_HAS_CPUFREQ
23c8c4b4 669 select ARCH_REQUIRE_GPIOLIB
4073723a 670 select CLKDEV_LOOKUP
234b6ced 671 select CLKSRC_MMIO
1711b1e1 672 select CLKSRC_OF
b1b3f49c 673 select COMMON_CLK
c5f80065 674 select GENERIC_CLOCKEVENTS
c5f80065 675 select HAVE_CLK
3b55658a 676 select HAVE_SMP
ce5ea9f3 677 select MIGHT_HAVE_CACHE_L2X0
c5a4d6b0 678 select SPARSE_IRQ
2c95b7e0 679 select USE_OF
c5f80065
EG
680 help
681 This enables support for NVIDIA Tegra based systems (Tegra APX,
682 Tegra 6xx and Tegra 2 series).
683
1da177e4 684config ARCH_PXA
2c8086a5 685 bool "PXA2xx/PXA3xx-based"
a4f7e763 686 depends on MMU
89c52ed4 687 select ARCH_HAS_CPUFREQ
b1b3f49c
RK
688 select ARCH_MTD_XIP
689 select ARCH_REQUIRE_GPIOLIB
690 select ARM_CPU_SUSPEND if PM
691 select AUTO_ZRELADDR
6d803ba7 692 select CLKDEV_LOOKUP
234b6ced 693 select CLKSRC_MMIO
981d0f39 694 select GENERIC_CLOCKEVENTS
157d2644 695 select GPIO_PXA
d0ee9f40 696 select HAVE_IDE
b1b3f49c 697 select MULTI_IRQ_HANDLER
01464226 698 select NEED_MACH_GPIO_H
b1b3f49c
RK
699 select PLAT_PXA
700 select SPARSE_IRQ
f999b8bd 701 help
2c8086a5 702 Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
1da177e4 703
788c9700
RK
704config ARCH_MSM
705 bool "Qualcomm MSM"
923a081c 706 select ARCH_REQUIRE_GPIOLIB
bd32344a 707 select CLKDEV_LOOKUP
b1b3f49c
RK
708 select GENERIC_CLOCKEVENTS
709 select HAVE_CLK
49cbe786 710 help
4b53eb4f
DW
711 Support for Qualcomm MSM/QSD based systems. This runs on the
712 apps processor of the MSM/QSD and depends on a shared memory
713 interface to the modem processor which runs the baseband
714 stack and controls some vital subsystems
715 (clock and power control, etc).
49cbe786 716
c793c1b0 717config ARCH_SHMOBILE
6d72ad35 718 bool "Renesas SH-Mobile / R-Mobile"
5e93c6b4 719 select CLKDEV_LOOKUP
b1b3f49c
RK
720 select GENERIC_CLOCKEVENTS
721 select HAVE_CLK
aa3831cf 722 select HAVE_MACH_CLKDEV
3b55658a 723 select HAVE_SMP
ce5ea9f3 724 select MIGHT_HAVE_CACHE_L2X0
60f1435c 725 select MULTI_IRQ_HANDLER
0cdc8b92 726 select NEED_MACH_MEMORY_H
b1b3f49c 727 select NO_IOPORT
a47029c1 728 select PINCTRL
b1b3f49c
RK
729 select PM_GENERIC_DOMAINS if PM
730 select SPARSE_IRQ
c793c1b0 731 help
6d72ad35 732 Support for Renesas's SH-Mobile and R-Mobile ARM platforms.
c793c1b0 733
1da177e4
LT
734config ARCH_RPC
735 bool "RiscPC"
736 select ARCH_ACORN
a08b6b79 737 select ARCH_MAY_HAVE_PC_FDC
07f841b7 738 select ARCH_SPARSEMEM_ENABLE
5cfc8ee0 739 select ARCH_USES_GETTIMEOFFSET
b1b3f49c 740 select FIQ
d0ee9f40 741 select HAVE_IDE
b1b3f49c
RK
742 select HAVE_PATA_PLATFORM
743 select ISA_DMA_API
c334bc15 744 select NEED_MACH_IO_H
0cdc8b92 745 select NEED_MACH_MEMORY_H
b1b3f49c 746 select NO_IOPORT
b4811bac 747 select VIRT_TO_BUS
1da177e4
LT
748 help
749 On the Acorn Risc-PC, Linux can support the internal IDE disk and
750 CD-ROM interface, serial and parallel port, and the floppy drive.
751
752config ARCH_SA1100
753 bool "SA1100-based"
89c52ed4 754 select ARCH_HAS_CPUFREQ
b1b3f49c
RK
755 select ARCH_MTD_XIP
756 select ARCH_REQUIRE_GPIOLIB
757 select ARCH_SPARSEMEM_ENABLE
758 select CLKDEV_LOOKUP
759 select CLKSRC_MMIO
1937f5b9 760 select CPU_FREQ
b1b3f49c 761 select CPU_SA1100
3e238be2 762 select GENERIC_CLOCKEVENTS
d0ee9f40 763 select HAVE_IDE
b1b3f49c 764 select ISA
01464226 765 select NEED_MACH_GPIO_H
0cdc8b92 766 select NEED_MACH_MEMORY_H
375dec92 767 select SPARSE_IRQ
f999b8bd
MM
768 help
769 Support for StrongARM 11x0 based boards.
1da177e4 770
b130d5c2
KK
771config ARCH_S3C24XX
772 bool "Samsung S3C24XX SoCs"
9d56c02a 773 select ARCH_HAS_CPUFREQ
5cfc8ee0 774 select ARCH_USES_GETTIMEOFFSET
b1b3f49c 775 select CLKDEV_LOOKUP
b1b3f49c 776 select HAVE_CLK
20676c15 777 select HAVE_S3C2410_I2C if I2C
b130d5c2 778 select HAVE_S3C2410_WATCHDOG if WATCHDOG
b1b3f49c 779 select HAVE_S3C_RTC if RTC_CLASS
01464226 780 select NEED_MACH_GPIO_H
c334bc15 781 select NEED_MACH_IO_H
1da177e4 782 help
b130d5c2
KK
783 Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443
784 and S3C2450 SoCs based systems, such as the Simtec Electronics BAST
785 (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the
786 Samsung SMDK2410 development board (and derivatives).
63b1f51b 787
a08ab637
BD
788config ARCH_S3C64XX
789 bool "Samsung S3C64XX"
b1b3f49c
RK
790 select ARCH_HAS_CPUFREQ
791 select ARCH_REQUIRE_GPIOLIB
792 select ARCH_USES_GETTIMEOFFSET
89f0ce72 793 select ARM_VIC
b1b3f49c
RK
794 select CLKDEV_LOOKUP
795 select CPU_V6
a08ab637 796 select HAVE_CLK
b1b3f49c
RK
797 select HAVE_S3C2410_I2C if I2C
798 select HAVE_S3C2410_WATCHDOG if WATCHDOG
6700397a 799 select HAVE_TCM
b1b3f49c 800 select NEED_MACH_GPIO_H
89f0ce72 801 select NO_IOPORT
b1b3f49c
RK
802 select PLAT_SAMSUNG
803 select S3C_DEV_NAND
804 select S3C_GPIO_TRACK
89f0ce72 805 select SAMSUNG_CLKSRC
b1b3f49c 806 select SAMSUNG_GPIOLIB_4BIT
89f0ce72 807 select SAMSUNG_IRQ_VIC_TIMER
89f0ce72 808 select USB_ARCH_HAS_OHCI
a08ab637
BD
809 help
810 Samsung S3C64XX series based systems
811
49b7a491
KK
812config ARCH_S5P64X0
813 bool "Samsung S5P6440 S5P6450"
d8b22d25 814 select CLKDEV_LOOKUP
0665ccc4 815 select CLKSRC_MMIO
b1b3f49c 816 select CPU_V6
9e65bbf2 817 select GENERIC_CLOCKEVENTS
b1b3f49c 818 select HAVE_CLK
20676c15 819 select HAVE_S3C2410_I2C if I2C
b1b3f49c 820 select HAVE_S3C2410_WATCHDOG if WATCHDOG
754961a8 821 select HAVE_S3C_RTC if RTC_CLASS
01464226 822 select NEED_MACH_GPIO_H
c4ffccdd 823 help
49b7a491
KK
824 Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
825 SMDK6450.
c4ffccdd 826
acc84707
MS
827config ARCH_S5PC100
828 bool "Samsung S5PC100"
b1b3f49c 829 select ARCH_USES_GETTIMEOFFSET
29e8eb0f 830 select CLKDEV_LOOKUP
5a7652f2 831 select CPU_V7
b1b3f49c 832 select HAVE_CLK
20676c15 833 select HAVE_S3C2410_I2C if I2C
c39d8d55 834 select HAVE_S3C2410_WATCHDOG if WATCHDOG
b1b3f49c 835 select HAVE_S3C_RTC if RTC_CLASS
01464226 836 select NEED_MACH_GPIO_H
5a7652f2 837 help
acc84707 838 Samsung S5PC100 series based systems
5a7652f2 839
170f4e42
KK
840config ARCH_S5PV210
841 bool "Samsung S5PV210/S5PC110"
b1b3f49c 842 select ARCH_HAS_CPUFREQ
0f75a96b 843 select ARCH_HAS_HOLES_MEMORYMODEL
b1b3f49c 844 select ARCH_SPARSEMEM_ENABLE
b2a9dd46 845 select CLKDEV_LOOKUP
0665ccc4 846 select CLKSRC_MMIO
b1b3f49c 847 select CPU_V7
9e65bbf2 848 select GENERIC_CLOCKEVENTS
b1b3f49c 849 select HAVE_CLK
20676c15 850 select HAVE_S3C2410_I2C if I2C
c39d8d55 851 select HAVE_S3C2410_WATCHDOG if WATCHDOG
b1b3f49c 852 select HAVE_S3C_RTC if RTC_CLASS
01464226 853 select NEED_MACH_GPIO_H
0cdc8b92 854 select NEED_MACH_MEMORY_H
170f4e42
KK
855 help
856 Samsung S5PV210/S5PC110 series based systems
857
83014579 858config ARCH_EXYNOS
93e22567 859 bool "Samsung EXYNOS"
b1b3f49c 860 select ARCH_HAS_CPUFREQ
0f75a96b 861 select ARCH_HAS_HOLES_MEMORYMODEL
b1b3f49c 862 select ARCH_SPARSEMEM_ENABLE
badc4f2d 863 select CLKDEV_LOOKUP
b1b3f49c 864 select CPU_V7
cc0e72b8 865 select GENERIC_CLOCKEVENTS
b1b3f49c 866 select HAVE_CLK
20676c15 867 select HAVE_S3C2410_I2C if I2C
c39d8d55 868 select HAVE_S3C2410_WATCHDOG if WATCHDOG
b1b3f49c 869 select HAVE_S3C_RTC if RTC_CLASS
01464226 870 select NEED_MACH_GPIO_H
0cdc8b92 871 select NEED_MACH_MEMORY_H
cc0e72b8 872 help
83014579 873 Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5)
cc0e72b8 874
1da177e4
LT
875config ARCH_SHARK
876 bool "Shark"
b1b3f49c 877 select ARCH_USES_GETTIMEOFFSET
c750815e 878 select CPU_SA110
f7e68bbf
RK
879 select ISA
880 select ISA_DMA
0cdc8b92 881 select NEED_MACH_MEMORY_H
b1b3f49c 882 select PCI
b4811bac 883 select VIRT_TO_BUS
b1b3f49c 884 select ZONE_DMA
f999b8bd
MM
885 help
886 Support for the StrongARM based Digital DNARD machine, also known
887 as "Shark" (<http://www.shark-linux.de/shark.html>).
1da177e4 888
d98aac75
LW
889config ARCH_U300
890 bool "ST-Ericsson U300 Series"
891 depends on MMU
b1b3f49c 892 select ARCH_REQUIRE_GPIOLIB
d98aac75 893 select ARM_AMBA
5485c1e0 894 select ARM_PATCH_PHYS_VIRT
d98aac75 895 select ARM_VIC
6d803ba7 896 select CLKDEV_LOOKUP
b1b3f49c 897 select CLKSRC_MMIO
50667d63 898 select COMMON_CLK
b1b3f49c
RK
899 select CPU_ARM926T
900 select GENERIC_CLOCKEVENTS
b1b3f49c 901 select HAVE_TCM
a4fe292f 902 select SPARSE_IRQ
d98aac75
LW
903 help
904 Support for ST-Ericsson U300 series mobile platforms.
905
ccf50e23
RK
906config ARCH_U8500
907 bool "ST-Ericsson U8500 Series"
67ae14fc 908 depends on MMU
b1b3f49c
RK
909 select ARCH_HAS_CPUFREQ
910 select ARCH_REQUIRE_GPIOLIB
ccf50e23 911 select ARM_AMBA
6d803ba7 912 select CLKDEV_LOOKUP
b1b3f49c
RK
913 select CPU_V7
914 select GENERIC_CLOCKEVENTS
3b55658a 915 select HAVE_SMP
ce5ea9f3 916 select MIGHT_HAVE_CACHE_L2X0
c3b9d1db 917 select SPARSE_IRQ
ccf50e23
RK
918 help
919 Support for ST-Ericsson's Ux500 architecture
920
921config ARCH_NOMADIK
922 bool "STMicroelectronics Nomadik"
b1b3f49c 923 select ARCH_REQUIRE_GPIOLIB
ccf50e23
RK
924 select ARM_AMBA
925 select ARM_VIC
5f66d482 926 select CLKSRC_NOMADIK_MTU
4a31bd28 927 select COMMON_CLK
b1b3f49c 928 select CPU_ARM926T
ccf50e23 929 select GENERIC_CLOCKEVENTS
b1b3f49c 930 select MIGHT_HAVE_CACHE_L2X0
f015941f 931 select USE_OF
0fa7be40 932 select PINCTRL
2601ccfe 933 select PINCTRL_STN8815
c3b9d1db 934 select SPARSE_IRQ
ccf50e23
RK
935 help
936 Support for the Nomadik platform by ST-Ericsson
937
93e22567
RK
938config PLAT_SPEAR
939 bool "ST SPEAr"
42099322 940 select ARCH_HAS_CPUFREQ
93e22567
RK
941 select ARCH_REQUIRE_GPIOLIB
942 select ARM_AMBA
943 select CLKDEV_LOOKUP
944 select CLKSRC_MMIO
945 select COMMON_CLK
946 select GENERIC_CLOCKEVENTS
947 select HAVE_CLK
948 help
949 Support for ST's SPEAr platform (SPEAr3xx, SPEAr6xx and SPEAr13xx).
950
7c6337e2
KH
951config ARCH_DAVINCI
952 bool "TI DaVinci"
b1b3f49c 953 select ARCH_HAS_HOLES_MEMORYMODEL
dce1115b 954 select ARCH_REQUIRE_GPIOLIB
6d803ba7 955 select CLKDEV_LOOKUP
20e9969b 956 select GENERIC_ALLOCATOR
b1b3f49c 957 select GENERIC_CLOCKEVENTS
dc7ad3b3 958 select GENERIC_IRQ_CHIP
b1b3f49c 959 select HAVE_IDE
01464226 960 select NEED_MACH_GPIO_H
689e331f 961 select USE_OF
b1b3f49c 962 select ZONE_DMA
7c6337e2
KH
963 help
964 Support for TI's DaVinci platform.
965
a0694861
TL
966config ARCH_OMAP1
967 bool "TI OMAP1"
00a36698 968 depends on MMU
89c52ed4 969 select ARCH_HAS_CPUFREQ
9af915da 970 select ARCH_HAS_HOLES_MEMORYMODEL
a0694861 971 select ARCH_OMAP
21f47fbc 972 select ARCH_REQUIRE_GPIOLIB
b1b3f49c 973 select CLKDEV_LOOKUP
d6e15d78 974 select CLKSRC_MMIO
b1b3f49c 975 select GENERIC_CLOCKEVENTS
a0694861 976 select GENERIC_IRQ_CHIP
e9a91de7 977 select HAVE_CLK
a0694861
TL
978 select HAVE_IDE
979 select IRQ_DOMAIN
980 select NEED_MACH_IO_H if PCCARD
981 select NEED_MACH_MEMORY_H
21f47fbc 982 help
a0694861 983 Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
02c981c0 984
1da177e4
LT
985endchoice
986
387798b3
RH
987menu "Multiple platform selection"
988 depends on ARCH_MULTIPLATFORM
989
990comment "CPU Core family selection"
991
992config ARCH_MULTI_V4
993 bool "ARMv4 based platforms (FA526, StrongARM)"
387798b3 994 depends on !ARCH_MULTI_V6_V7
b1b3f49c 995 select ARCH_MULTI_V4_V5
387798b3
RH
996
997config ARCH_MULTI_V4T
998 bool "ARMv4T based platforms (ARM720T, ARM920T, ...)"
387798b3 999 depends on !ARCH_MULTI_V6_V7
b1b3f49c 1000 select ARCH_MULTI_V4_V5
387798b3
RH
1001
1002config ARCH_MULTI_V5
1003 bool "ARMv5 based platforms (ARM926T, XSCALE, PJ1, ...)"
387798b3 1004 depends on !ARCH_MULTI_V6_V7
b1b3f49c 1005 select ARCH_MULTI_V4_V5
387798b3
RH
1006
1007config ARCH_MULTI_V4_V5
1008 bool
1009
1010config ARCH_MULTI_V6
8dda05cc 1011 bool "ARMv6 based platforms (ARM11)"
387798b3 1012 select ARCH_MULTI_V6_V7
b1b3f49c 1013 select CPU_V6
387798b3
RH
1014
1015config ARCH_MULTI_V7
8dda05cc 1016 bool "ARMv7 based platforms (Cortex-A, PJ4, Scorpion, Krait)"
387798b3
RH
1017 default y
1018 select ARCH_MULTI_V6_V7
b1b3f49c
RK
1019 select ARCH_VEXPRESS
1020 select CPU_V7
387798b3
RH
1021
1022config ARCH_MULTI_V6_V7
1023 bool
1024
1025config ARCH_MULTI_CPU_AUTO
1026 def_bool !(ARCH_MULTI_V4 || ARCH_MULTI_V4T || ARCH_MULTI_V6_V7)
1027 select ARCH_MULTI_V5
1028
1029endmenu
1030
ccf50e23
RK
1031#
1032# This is sorted alphabetically by mach-* pathname. However, plat-*
1033# Kconfigs may be included either alphabetically (according to the
1034# plat- suffix) or along side the corresponding mach-* source.
1035#
3e93a22b
GC
1036source "arch/arm/mach-mvebu/Kconfig"
1037
95b8f20f
RK
1038source "arch/arm/mach-at91/Kconfig"
1039
8ac49e04
CD
1040source "arch/arm/mach-bcm/Kconfig"
1041
1da177e4
LT
1042source "arch/arm/mach-clps711x/Kconfig"
1043
d94f944e
AV
1044source "arch/arm/mach-cns3xxx/Kconfig"
1045
95b8f20f
RK
1046source "arch/arm/mach-davinci/Kconfig"
1047
1048source "arch/arm/mach-dove/Kconfig"
1049
e7736d47
LB
1050source "arch/arm/mach-ep93xx/Kconfig"
1051
1da177e4
LT
1052source "arch/arm/mach-footbridge/Kconfig"
1053
59d3a193
PZ
1054source "arch/arm/mach-gemini/Kconfig"
1055
95b8f20f
RK
1056source "arch/arm/mach-h720x/Kconfig"
1057
387798b3
RH
1058source "arch/arm/mach-highbank/Kconfig"
1059
1da177e4
LT
1060source "arch/arm/mach-integrator/Kconfig"
1061
3f7e5815
LB
1062source "arch/arm/mach-iop32x/Kconfig"
1063
1064source "arch/arm/mach-iop33x/Kconfig"
1da177e4 1065
285f5fa7
DW
1066source "arch/arm/mach-iop13xx/Kconfig"
1067
1da177e4
LT
1068source "arch/arm/mach-ixp4xx/Kconfig"
1069
95b8f20f
RK
1070source "arch/arm/mach-kirkwood/Kconfig"
1071
1072source "arch/arm/mach-ks8695/Kconfig"
1073
95b8f20f
RK
1074source "arch/arm/mach-msm/Kconfig"
1075
794d15b2
SS
1076source "arch/arm/mach-mv78xx0/Kconfig"
1077
3995eb82 1078source "arch/arm/mach-imx/Kconfig"
1da177e4 1079
1d3f33d5
SG
1080source "arch/arm/mach-mxs/Kconfig"
1081
95b8f20f 1082source "arch/arm/mach-netx/Kconfig"
49cbe786 1083
95b8f20f 1084source "arch/arm/mach-nomadik/Kconfig"
95b8f20f 1085
d48af15e
TL
1086source "arch/arm/plat-omap/Kconfig"
1087
1088source "arch/arm/mach-omap1/Kconfig"
1da177e4 1089
1dbae815
TL
1090source "arch/arm/mach-omap2/Kconfig"
1091
9dd0b194 1092source "arch/arm/mach-orion5x/Kconfig"
585cf175 1093
387798b3
RH
1094source "arch/arm/mach-picoxcell/Kconfig"
1095
95b8f20f
RK
1096source "arch/arm/mach-pxa/Kconfig"
1097source "arch/arm/plat-pxa/Kconfig"
585cf175 1098
95b8f20f
RK
1099source "arch/arm/mach-mmp/Kconfig"
1100
1101source "arch/arm/mach-realview/Kconfig"
1102
1103source "arch/arm/mach-sa1100/Kconfig"
edabd38e 1104
cf383678 1105source "arch/arm/plat-samsung/Kconfig"
a21765a7 1106
387798b3
RH
1107source "arch/arm/mach-socfpga/Kconfig"
1108
cee37e50 1109source "arch/arm/plat-spear/Kconfig"
a21765a7 1110
85fd6d63 1111source "arch/arm/mach-s3c24xx/Kconfig"
1da177e4 1112
a08ab637 1113if ARCH_S3C64XX
431107ea 1114source "arch/arm/mach-s3c64xx/Kconfig"
a08ab637
BD
1115endif
1116
49b7a491 1117source "arch/arm/mach-s5p64x0/Kconfig"
c4ffccdd 1118
5a7652f2 1119source "arch/arm/mach-s5pc100/Kconfig"
5a7652f2 1120
170f4e42
KK
1121source "arch/arm/mach-s5pv210/Kconfig"
1122
83014579 1123source "arch/arm/mach-exynos/Kconfig"
cc0e72b8 1124
882d01f9 1125source "arch/arm/mach-shmobile/Kconfig"
52c543f9 1126
3b52634f
MR
1127source "arch/arm/mach-sunxi/Kconfig"
1128
156a0997
BS
1129source "arch/arm/mach-prima2/Kconfig"
1130
c5f80065
EG
1131source "arch/arm/mach-tegra/Kconfig"
1132
95b8f20f 1133source "arch/arm/mach-u300/Kconfig"
1da177e4 1134
95b8f20f 1135source "arch/arm/mach-ux500/Kconfig"
1da177e4
LT
1136
1137source "arch/arm/mach-versatile/Kconfig"
1138
ceade897 1139source "arch/arm/mach-vexpress/Kconfig"
420c34e4 1140source "arch/arm/plat-versatile/Kconfig"
ceade897 1141
2a0ba738
MZ
1142source "arch/arm/mach-virt/Kconfig"
1143
6f35f9a9
TP
1144source "arch/arm/mach-vt8500/Kconfig"
1145
7ec80ddf 1146source "arch/arm/mach-w90x900/Kconfig"
1147
9a45eb69
JC
1148source "arch/arm/mach-zynq/Kconfig"
1149
1da177e4
LT
1150# Definitions to make life easier
1151config ARCH_ACORN
1152 bool
1153
7ae1f7ec
LB
1154config PLAT_IOP
1155 bool
469d3044 1156 select GENERIC_CLOCKEVENTS
7ae1f7ec 1157
69b02f6a
LB
1158config PLAT_ORION
1159 bool
bfe45e0b 1160 select CLKSRC_MMIO
b1b3f49c 1161 select COMMON_CLK
dc7ad3b3 1162 select GENERIC_IRQ_CHIP
278b45b0 1163 select IRQ_DOMAIN
69b02f6a 1164
abcda1dc
TP
1165config PLAT_ORION_LEGACY
1166 bool
1167 select PLAT_ORION
1168
bd5ce433
EM
1169config PLAT_PXA
1170 bool
1171
f4b8b319
RK
1172config PLAT_VERSATILE
1173 bool
1174
e3887714
RK
1175config ARM_TIMER_SP804
1176 bool
bfe45e0b 1177 select CLKSRC_MMIO
a7bf6162 1178 select HAVE_SCHED_CLOCK
e3887714 1179
1da177e4
LT
1180source arch/arm/mm/Kconfig
1181
958cab0f
RK
1182config ARM_NR_BANKS
1183 int
1184 default 16 if ARCH_EP93XX
1185 default 8
1186
afe4b25e 1187config IWMMXT
698613b6 1188 bool "Enable iWMMXt support" if !CPU_PJ4
ef6c8445 1189 depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4
698613b6 1190 default y if PXA27x || PXA3xx || ARCH_MMP || CPU_PJ4
afe4b25e
LB
1191 help
1192 Enable support for iWMMXt context switching at run time if
1193 running on a CPU that supports it.
1194
1da177e4
LT
1195config XSCALE_PMU
1196 bool
bfc994b5 1197 depends on CPU_XSCALE
1da177e4
LT
1198 default y
1199
52108641 1200config MULTI_IRQ_HANDLER
1201 bool
1202 help
1203 Allow each machine to specify it's own IRQ handler at run time.
1204
3b93e7b0
HC
1205if !MMU
1206source "arch/arm/Kconfig-nommu"
1207endif
1208
f0c4b8d6
WD
1209config ARM_ERRATA_326103
1210 bool "ARM errata: FSR write bit incorrect on a SWP to read-only memory"
1211 depends on CPU_V6
1212 help
1213 Executing a SWP instruction to read-only memory does not set bit 11
1214 of the FSR on the ARM 1136 prior to r1p0. This causes the kernel to
1215 treat the access as a read, preventing a COW from occurring and
1216 causing the faulting task to livelock.
1217
9cba3ccc
CM
1218config ARM_ERRATA_411920
1219 bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
e399b1a4 1220 depends on CPU_V6 || CPU_V6K
9cba3ccc
CM
1221 help
1222 Invalidation of the Instruction Cache operation can
1223 fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
1224 It does not affect the MPCore. This option enables the ARM Ltd.
1225 recommended workaround.
1226
7ce236fc
CM
1227config ARM_ERRATA_430973
1228 bool "ARM errata: Stale prediction on replaced interworking branch"
1229 depends on CPU_V7
1230 help
1231 This option enables the workaround for the 430973 Cortex-A8
1232 (r1p0..r1p2) erratum. If a code sequence containing an ARM/Thumb
1233 interworking branch is replaced with another code sequence at the
1234 same virtual address, whether due to self-modifying code or virtual
1235 to physical address re-mapping, Cortex-A8 does not recover from the
1236 stale interworking branch prediction. This results in Cortex-A8
1237 executing the new code sequence in the incorrect ARM or Thumb state.
1238 The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
1239 and also flushes the branch target cache at every context switch.
1240 Note that setting specific bits in the ACTLR register may not be
1241 available in non-secure mode.
1242
855c551f
CM
1243config ARM_ERRATA_458693
1244 bool "ARM errata: Processor deadlock when a false hazard is created"
1245 depends on CPU_V7
62e4d357 1246 depends on !ARCH_MULTIPLATFORM
855c551f
CM
1247 help
1248 This option enables the workaround for the 458693 Cortex-A8 (r2p0)
1249 erratum. For very specific sequences of memory operations, it is
1250 possible for a hazard condition intended for a cache line to instead
1251 be incorrectly associated with a different cache line. This false
1252 hazard might then cause a processor deadlock. The workaround enables
1253 the L1 caching of the NEON accesses and disables the PLD instruction
1254 in the ACTLR register. Note that setting specific bits in the ACTLR
1255 register may not be available in non-secure mode.
1256
0516e464
CM
1257config ARM_ERRATA_460075
1258 bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
1259 depends on CPU_V7
62e4d357 1260 depends on !ARCH_MULTIPLATFORM
0516e464
CM
1261 help
1262 This option enables the workaround for the 460075 Cortex-A8 (r2p0)
1263 erratum. Any asynchronous access to the L2 cache may encounter a
1264 situation in which recent store transactions to the L2 cache are lost
1265 and overwritten with stale memory contents from external memory. The
1266 workaround disables the write-allocate mode for the L2 cache via the
1267 ACTLR register. Note that setting specific bits in the ACTLR register
1268 may not be available in non-secure mode.
1269
9f05027c
WD
1270config ARM_ERRATA_742230
1271 bool "ARM errata: DMB operation may be faulty"
1272 depends on CPU_V7 && SMP
62e4d357 1273 depends on !ARCH_MULTIPLATFORM
9f05027c
WD
1274 help
1275 This option enables the workaround for the 742230 Cortex-A9
1276 (r1p0..r2p2) erratum. Under rare circumstances, a DMB instruction
1277 between two write operations may not ensure the correct visibility
1278 ordering of the two writes. This workaround sets a specific bit in
1279 the diagnostic register of the Cortex-A9 which causes the DMB
1280 instruction to behave as a DSB, ensuring the correct behaviour of
1281 the two writes.
1282
a672e99b
WD
1283config ARM_ERRATA_742231
1284 bool "ARM errata: Incorrect hazard handling in the SCU may lead to data corruption"
1285 depends on CPU_V7 && SMP
62e4d357 1286 depends on !ARCH_MULTIPLATFORM
a672e99b
WD
1287 help
1288 This option enables the workaround for the 742231 Cortex-A9
1289 (r2p0..r2p2) erratum. Under certain conditions, specific to the
1290 Cortex-A9 MPCore micro-architecture, two CPUs working in SMP mode,
1291 accessing some data located in the same cache line, may get corrupted
1292 data due to bad handling of the address hazard when the line gets
1293 replaced from one of the CPUs at the same time as another CPU is
1294 accessing it. This workaround sets specific bits in the diagnostic
1295 register of the Cortex-A9 which reduces the linefill issuing
1296 capabilities of the processor.
1297
9e65582a 1298config PL310_ERRATA_588369
fa0ce403 1299 bool "PL310 errata: Clean & Invalidate maintenance operations do not invalidate clean lines"
2839e06c 1300 depends on CACHE_L2X0
9e65582a
SS
1301 help
1302 The PL310 L2 cache controller implements three types of Clean &
1303 Invalidate maintenance operations: by Physical Address
1304 (offset 0x7F0), by Index/Way (0x7F8) and by Way (0x7FC).
1305 They are architecturally defined to behave as the execution of a
1306 clean operation followed immediately by an invalidate operation,
1307 both performing to the same memory location. This functionality
1308 is not correctly implemented in PL310 as clean lines are not
2839e06c 1309 invalidated as a result of these operations.
cdf357f1
WD
1310
1311config ARM_ERRATA_720789
1312 bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID"
e66dc745 1313 depends on CPU_V7
cdf357f1
WD
1314 help
1315 This option enables the workaround for the 720789 Cortex-A9 (prior to
1316 r2p0) erratum. A faulty ASID can be sent to the other CPUs for the
1317 broadcasted CP15 TLB maintenance operations TLBIASIDIS and TLBIMVAIS.
1318 As a consequence of this erratum, some TLB entries which should be
1319 invalidated are not, resulting in an incoherency in the system page
1320 tables. The workaround changes the TLB flushing routines to invalidate
1321 entries regardless of the ASID.
475d92fc 1322
1f0090a1 1323config PL310_ERRATA_727915
fa0ce403 1324 bool "PL310 errata: Background Clean & Invalidate by Way operation can cause data corruption"
1f0090a1
RK
1325 depends on CACHE_L2X0
1326 help
1327 PL310 implements the Clean & Invalidate by Way L2 cache maintenance
1328 operation (offset 0x7FC). This operation runs in background so that
1329 PL310 can handle normal accesses while it is in progress. Under very
1330 rare circumstances, due to this erratum, write data can be lost when
1331 PL310 treats a cacheable write transaction during a Clean &
1332 Invalidate by Way operation.
1333
475d92fc
WD
1334config ARM_ERRATA_743622
1335 bool "ARM errata: Faulty hazard checking in the Store Buffer may lead to data corruption"
1336 depends on CPU_V7
62e4d357 1337 depends on !ARCH_MULTIPLATFORM
475d92fc
WD
1338 help
1339 This option enables the workaround for the 743622 Cortex-A9
efbc74ac 1340 (r2p*) erratum. Under very rare conditions, a faulty
475d92fc
WD
1341 optimisation in the Cortex-A9 Store Buffer may lead to data
1342 corruption. This workaround sets a specific bit in the diagnostic
1343 register of the Cortex-A9 which disables the Store Buffer
1344 optimisation, preventing the defect from occurring. This has no
1345 visible impact on the overall performance or power consumption of the
1346 processor.
1347
9a27c27c
WD
1348config ARM_ERRATA_751472
1349 bool "ARM errata: Interrupted ICIALLUIS may prevent completion of broadcasted operation"
ba90c516 1350 depends on CPU_V7
62e4d357 1351 depends on !ARCH_MULTIPLATFORM
9a27c27c
WD
1352 help
1353 This option enables the workaround for the 751472 Cortex-A9 (prior
1354 to r3p0) erratum. An interrupted ICIALLUIS operation may prevent the
1355 completion of a following broadcasted operation if the second
1356 operation is received by a CPU before the ICIALLUIS has completed,
1357 potentially leading to corrupted entries in the cache or TLB.
1358
fa0ce403
WD
1359config PL310_ERRATA_753970
1360 bool "PL310 errata: cache sync operation may be faulty"
885028e4
SK
1361 depends on CACHE_PL310
1362 help
1363 This option enables the workaround for the 753970 PL310 (r3p0) erratum.
1364
1365 Under some condition the effect of cache sync operation on
1366 the store buffer still remains when the operation completes.
1367 This means that the store buffer is always asked to drain and
1368 this prevents it from merging any further writes. The workaround
1369 is to replace the normal offset of cache sync operation (0x730)
1370 by another offset targeting an unmapped PL310 register 0x740.
1371 This has the same effect as the cache sync operation: store buffer
1372 drain and waiting for all buffers empty.
1373
fcbdc5fe
WD
1374config ARM_ERRATA_754322
1375 bool "ARM errata: possible faulty MMU translations following an ASID switch"
1376 depends on CPU_V7
1377 help
1378 This option enables the workaround for the 754322 Cortex-A9 (r2p*,
1379 r3p*) erratum. A speculative memory access may cause a page table walk
1380 which starts prior to an ASID switch but completes afterwards. This
1381 can populate the micro-TLB with a stale entry which may be hit with
1382 the new ASID. This workaround places two dsb instructions in the mm
1383 switching code so that no page table walks can cross the ASID switch.
1384
5dab26af
WD
1385config ARM_ERRATA_754327
1386 bool "ARM errata: no automatic Store Buffer drain"
1387 depends on CPU_V7 && SMP
1388 help
1389 This option enables the workaround for the 754327 Cortex-A9 (prior to
1390 r2p0) erratum. The Store Buffer does not have any automatic draining
1391 mechanism and therefore a livelock may occur if an external agent
1392 continuously polls a memory location waiting to observe an update.
1393 This workaround defines cpu_relax() as smp_mb(), preventing correctly
1394 written polling loops from denying visibility of updates to memory.
1395
145e10e1
CM
1396config ARM_ERRATA_364296
1397 bool "ARM errata: Possible cache data corruption with hit-under-miss enabled"
1398 depends on CPU_V6 && !SMP
1399 help
1400 This options enables the workaround for the 364296 ARM1136
1401 r0p2 erratum (possible cache data corruption with
1402 hit-under-miss enabled). It sets the undocumented bit 31 in
1403 the auxiliary control register and the FI bit in the control
1404 register, thus disabling hit-under-miss without putting the
1405 processor into full low interrupt latency mode. ARM11MPCore
1406 is not affected.
1407
f630c1bd
WD
1408config ARM_ERRATA_764369
1409 bool "ARM errata: Data cache line maintenance operation by MVA may not succeed"
1410 depends on CPU_V7 && SMP
1411 help
1412 This option enables the workaround for erratum 764369
1413 affecting Cortex-A9 MPCore with two or more processors (all
1414 current revisions). Under certain timing circumstances, a data
1415 cache line maintenance operation by MVA targeting an Inner
1416 Shareable memory region may fail to proceed up to either the
1417 Point of Coherency or to the Point of Unification of the
1418 system. This workaround adds a DSB instruction before the
1419 relevant cache maintenance functions and sets a specific bit
1420 in the diagnostic control register of the SCU.
1421
11ed0ba1
WD
1422config PL310_ERRATA_769419
1423 bool "PL310 errata: no automatic Store Buffer drain"
1424 depends on CACHE_L2X0
1425 help
1426 On revisions of the PL310 prior to r3p2, the Store Buffer does
1427 not automatically drain. This can cause normal, non-cacheable
1428 writes to be retained when the memory system is idle, leading
1429 to suboptimal I/O performance for drivers using coherent DMA.
1430 This option adds a write barrier to the cpu_idle loop so that,
1431 on systems with an outer cache, the store buffer is drained
1432 explicitly.
1433
7253b85c
SH
1434config ARM_ERRATA_775420
1435 bool "ARM errata: A data cache maintenance operation which aborts, might lead to deadlock"
1436 depends on CPU_V7
1437 help
1438 This option enables the workaround for the 775420 Cortex-A9 (r2p2,
1439 r2p6,r2p8,r2p10,r3p0) erratum. In case a date cache maintenance
1440 operation aborts with MMU exception, it might cause the processor
1441 to deadlock. This workaround puts DSB before executing ISB if
1442 an abort may occur on cache maintenance.
1443
93dc6887
CM
1444config ARM_ERRATA_798181
1445 bool "ARM errata: TLBI/DSB failure on Cortex-A15"
1446 depends on CPU_V7 && SMP
1447 help
1448 On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not
1449 adequately shooting down all use of the old entries. This
1450 option enables the Linux kernel workaround for this erratum
1451 which sends an IPI to the CPUs that are running the same ASID
1452 as the one being invalidated.
1453
1da177e4
LT
1454endmenu
1455
1456source "arch/arm/common/Kconfig"
1457
1da177e4
LT
1458menu "Bus support"
1459
1460config ARM_AMBA
1461 bool
1462
1463config ISA
1464 bool
1da177e4
LT
1465 help
1466 Find out whether you have ISA slots on your motherboard. ISA is the
1467 name of a bus system, i.e. the way the CPU talks to the other stuff
1468 inside your box. Other bus systems are PCI, EISA, MicroChannel
1469 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
1470 newer boards don't support it. If you have ISA, say Y, otherwise N.
1471
065909b9 1472# Select ISA DMA controller support
1da177e4
LT
1473config ISA_DMA
1474 bool
065909b9 1475 select ISA_DMA_API
1da177e4 1476
065909b9 1477# Select ISA DMA interface
5cae841b
AV
1478config ISA_DMA_API
1479 bool
5cae841b 1480
1da177e4 1481config PCI
0b05da72 1482 bool "PCI support" if MIGHT_HAVE_PCI
1da177e4
LT
1483 help
1484 Find out whether you have a PCI motherboard. PCI is the name of a
1485 bus system, i.e. the way the CPU talks to the other stuff inside
1486 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
1487 VESA. If you have PCI, say Y, otherwise N.
1488
52882173
AV
1489config PCI_DOMAINS
1490 bool
1491 depends on PCI
1492
b080ac8a
MRJ
1493config PCI_NANOENGINE
1494 bool "BSE nanoEngine PCI support"
1495 depends on SA1100_NANOENGINE
1496 help
1497 Enable PCI on the BSE nanoEngine board.
1498
36e23590
MW
1499config PCI_SYSCALL
1500 def_bool PCI
1501
1da177e4
LT
1502# Select the host bridge type
1503config PCI_HOST_VIA82C505
1504 bool
1505 depends on PCI && ARCH_SHARK
1506 default y
1507
a0113a99
MR
1508config PCI_HOST_ITE8152
1509 bool
1510 depends on PCI && MACH_ARMCORE
1511 default y
1512 select DMABOUNCE
1513
1da177e4
LT
1514source "drivers/pci/Kconfig"
1515
1516source "drivers/pcmcia/Kconfig"
1517
1518endmenu
1519
1520menu "Kernel Features"
1521
3b55658a
DM
1522config HAVE_SMP
1523 bool
1524 help
1525 This option should be selected by machines which have an SMP-
1526 capable CPU.
1527
1528 The only effect of this option is to make the SMP-related
1529 options available to the user for configuration.
1530
1da177e4 1531config SMP
bb2d8130 1532 bool "Symmetric Multi-Processing"
fbb4ddac 1533 depends on CPU_V6K || CPU_V7
bc28248e 1534 depends on GENERIC_CLOCKEVENTS
3b55658a 1535 depends on HAVE_SMP
9934ebb8 1536 depends on MMU
89c3dedf 1537 select HAVE_ARM_SCU if !ARCH_MSM_SCORPIONMP
b1b3f49c 1538 select USE_GENERIC_SMP_HELPERS
1da177e4
LT
1539 help
1540 This enables support for systems with more than one CPU. If you have
1541 a system with only one CPU, like most personal computers, say N. If
1542 you have a system with more than one CPU, say Y.
1543
1544 If you say N here, the kernel will run on single and multiprocessor
1545 machines, but will use only one CPU of a multiprocessor machine. If
1546 you say Y here, the kernel will run on many, but not all, single
1547 processor machines. On a single processor machine, the kernel will
1548 run faster if you say N here.
1549
395cf969 1550 See also <file:Documentation/x86/i386/IO-APIC.txt>,
1da177e4 1551 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
50a23e6e 1552 <http://tldp.org/HOWTO/SMP-HOWTO.html>.
1da177e4
LT
1553
1554 If you don't know what to do here, say N.
1555
f00ec48f
RK
1556config SMP_ON_UP
1557 bool "Allow booting SMP kernel on uniprocessor systems (EXPERIMENTAL)"
4d2692a7 1558 depends on SMP && !XIP_KERNEL
f00ec48f
RK
1559 default y
1560 help
1561 SMP kernels contain instructions which fail on non-SMP processors.
1562 Enabling this option allows the kernel to modify itself to make
1563 these instructions safe. Disabling it allows about 1K of space
1564 savings.
1565
1566 If you don't know what to do here, say Y.
1567
c9018aab
VG
1568config ARM_CPU_TOPOLOGY
1569 bool "Support cpu topology definition"
1570 depends on SMP && CPU_V7
1571 default y
1572 help
1573 Support ARM cpu topology definition. The MPIDR register defines
1574 affinity between processors which is then used to describe the cpu
1575 topology of an ARM System.
1576
1577config SCHED_MC
1578 bool "Multi-core scheduler support"
1579 depends on ARM_CPU_TOPOLOGY
1580 help
1581 Multi-core scheduler support improves the CPU scheduler's decision
1582 making when dealing with multi-core CPU chips at a cost of slightly
1583 increased overhead in some places. If unsure say N here.
1584
1585config SCHED_SMT
1586 bool "SMT scheduler support"
1587 depends on ARM_CPU_TOPOLOGY
1588 help
1589 Improves the CPU scheduler's decision making when dealing with
1590 MultiThreading at a cost of slightly increased overhead in some
1591 places. If unsure say N here.
1592
a8cbcd92
RK
1593config HAVE_ARM_SCU
1594 bool
a8cbcd92
RK
1595 help
1596 This option enables support for the ARM system coherency unit
1597
8a4da6e3 1598config HAVE_ARM_ARCH_TIMER
022c03a2
MZ
1599 bool "Architected timer support"
1600 depends on CPU_V7
8a4da6e3 1601 select ARM_ARCH_TIMER
022c03a2
MZ
1602 help
1603 This option enables support for the ARM architected timer
1604
f32f4ce2
RK
1605config HAVE_ARM_TWD
1606 bool
1607 depends on SMP
1608 help
1609 This options enables support for the ARM timer and watchdog unit
1610
8d5796d2
LB
1611choice
1612 prompt "Memory split"
1613 default VMSPLIT_3G
1614 help
1615 Select the desired split between kernel and user memory.
1616
1617 If you are not absolutely sure what you are doing, leave this
1618 option alone!
1619
1620 config VMSPLIT_3G
1621 bool "3G/1G user/kernel split"
1622 config VMSPLIT_2G
1623 bool "2G/2G user/kernel split"
1624 config VMSPLIT_1G
1625 bool "1G/3G user/kernel split"
1626endchoice
1627
1628config PAGE_OFFSET
1629 hex
1630 default 0x40000000 if VMSPLIT_1G
1631 default 0x80000000 if VMSPLIT_2G
1632 default 0xC0000000
1633
1da177e4
LT
1634config NR_CPUS
1635 int "Maximum number of CPUs (2-32)"
1636 range 2 32
1637 depends on SMP
1638 default "4"
1639
a054a811 1640config HOTPLUG_CPU
00b7dede
RK
1641 bool "Support for hot-pluggable CPUs"
1642 depends on SMP && HOTPLUG
a054a811
RK
1643 help
1644 Say Y here to experiment with turning CPUs off and on. CPUs
1645 can be controlled through /sys/devices/system/cpu.
1646
2bdd424f
WD
1647config ARM_PSCI
1648 bool "Support for the ARM Power State Coordination Interface (PSCI)"
1649 depends on CPU_V7
1650 help
1651 Say Y here if you want Linux to communicate with system firmware
1652 implementing the PSCI specification for CPU-centric power
1653 management operations described in ARM document number ARM DEN
1654 0022A ("Power State Coordination Interface System Software on
1655 ARM processors").
1656
37ee16ae
RK
1657config LOCAL_TIMERS
1658 bool "Use local timer interrupts"
971acb9b 1659 depends on SMP
37ee16ae 1660 default y
30d8bead 1661 select HAVE_ARM_TWD if (!ARCH_MSM_SCORPIONMP && !EXYNOS4_MCT)
37ee16ae
RK
1662 help
1663 Enable support for local timers on SMP platforms, rather then the
1664 legacy IPI broadcast method. Local timers allows the system
1665 accounting to be spread across the timer interval, preventing a
1666 "thundering herd" at every timer tick.
1667
2a6ad871
MR
1668# The GPIO number here must be sorted by descending number. In case of
1669# a multiplatform kernel, we just want the highest value required by the
1670# selected platforms.
44986ab0
PDSN
1671config ARCH_NR_GPIO
1672 int
3dea19e8 1673 default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
39f47d9f 1674 default 512 if SOC_OMAP5
2a6ad871 1675 default 355 if ARCH_U8500
e590b91e 1676 default 288 if ARCH_VT8500 || ARCH_SUNXI
2a6ad871 1677 default 264 if MACH_H4700
44986ab0
PDSN
1678 default 0
1679 help
1680 Maximum number of GPIOs in the system.
1681
1682 If unsure, leave the default value.
1683
d45a398f 1684source kernel/Kconfig.preempt
1da177e4 1685
f8065813
RK
1686config HZ
1687 int
b130d5c2 1688 default 200 if ARCH_EBSA110 || ARCH_S3C24XX || ARCH_S5P64X0 || \
a73ddc61 1689 ARCH_S5PV210 || ARCH_EXYNOS4
5248c657 1690 default AT91_TIMER_HZ if ARCH_AT91
5da3e714 1691 default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
f8065813
RK
1692 default 100
1693
b28748fb
RK
1694config SCHED_HRTICK
1695 def_bool HIGH_RES_TIMERS
1696
16c79651 1697config THUMB2_KERNEL
00b7dede
RK
1698 bool "Compile the kernel in Thumb-2 mode"
1699 depends on CPU_V7 && !CPU_V6 && !CPU_V6K
16c79651
CM
1700 select AEABI
1701 select ARM_ASM_UNIFIED
89bace65 1702 select ARM_UNWIND
16c79651
CM
1703 help
1704 By enabling this option, the kernel will be compiled in
1705 Thumb-2 mode. A compiler/assembler that understand the unified
1706 ARM-Thumb syntax is needed.
1707
1708 If unsure, say N.
1709
6f685c5c
DM
1710config THUMB2_AVOID_R_ARM_THM_JUMP11
1711 bool "Work around buggy Thumb-2 short branch relocations in gas"
1712 depends on THUMB2_KERNEL && MODULES
1713 default y
1714 help
1715 Various binutils versions can resolve Thumb-2 branches to
1716 locally-defined, preemptible global symbols as short-range "b.n"
1717 branch instructions.
1718
1719 This is a problem, because there's no guarantee the final
1720 destination of the symbol, or any candidate locations for a
1721 trampoline, are within range of the branch. For this reason, the
1722 kernel does not support fixing up the R_ARM_THM_JUMP11 (102)
1723 relocation in modules at all, and it makes little sense to add
1724 support.
1725
1726 The symptom is that the kernel fails with an "unsupported
1727 relocation" error when loading some modules.
1728
1729 Until fixed tools are available, passing
1730 -fno-optimize-sibling-calls to gcc should prevent gcc generating
1731 code which hits this problem, at the cost of a bit of extra runtime
1732 stack usage in some cases.
1733
1734 The problem is described in more detail at:
1735 https://bugs.launchpad.net/binutils-linaro/+bug/725126
1736
1737 Only Thumb-2 kernels are affected.
1738
1739 Unless you are sure your tools don't have this problem, say Y.
1740
0becb088
CM
1741config ARM_ASM_UNIFIED
1742 bool
1743
704bdda0
NP
1744config AEABI
1745 bool "Use the ARM EABI to compile the kernel"
1746 help
1747 This option allows for the kernel to be compiled using the latest
1748 ARM ABI (aka EABI). This is only useful if you are using a user
1749 space environment that is also compiled with EABI.
1750
1751 Since there are major incompatibilities between the legacy ABI and
1752 EABI, especially with regard to structure member alignment, this
1753 option also changes the kernel syscall calling convention to
1754 disambiguate both ABIs and allow for backward compatibility support
1755 (selected with CONFIG_OABI_COMPAT).
1756
1757 To use this you need GCC version 4.0.0 or later.
1758
6c90c872 1759config OABI_COMPAT
a73a3ff1 1760 bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
d6f94fa0 1761 depends on AEABI && !THUMB2_KERNEL
6c90c872
NP
1762 default y
1763 help
1764 This option preserves the old syscall interface along with the
1765 new (ARM EABI) one. It also provides a compatibility layer to
1766 intercept syscalls that have structure arguments which layout
1767 in memory differs between the legacy ABI and the new ARM EABI
1768 (only for non "thumb" binaries). This option adds a tiny
1769 overhead to all syscalls and produces a slightly larger kernel.
1770 If you know you'll be using only pure EABI user space then you
1771 can say N here. If this option is not selected and you attempt
1772 to execute a legacy ABI binary then the result will be
1773 UNPREDICTABLE (in fact it can be predicted that it won't work
1774 at all). If in doubt say Y.
1775
eb33575c 1776config ARCH_HAS_HOLES_MEMORYMODEL
e80d6a24 1777 bool
e80d6a24 1778
05944d74
RK
1779config ARCH_SPARSEMEM_ENABLE
1780 bool
1781
07a2f737
RK
1782config ARCH_SPARSEMEM_DEFAULT
1783 def_bool ARCH_SPARSEMEM_ENABLE
1784
05944d74 1785config ARCH_SELECT_MEMORY_MODEL
be370302 1786 def_bool ARCH_SPARSEMEM_ENABLE
c80d79d7 1787
7b7bf499
WD
1788config HAVE_ARCH_PFN_VALID
1789 def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
1790
053a96ca 1791config HIGHMEM
e8db89a2
RK
1792 bool "High Memory Support"
1793 depends on MMU
053a96ca
NP
1794 help
1795 The address space of ARM processors is only 4 Gigabytes large
1796 and it has to accommodate user address space, kernel address
1797 space as well as some memory mapped IO. That means that, if you
1798 have a large amount of physical memory and/or IO, not all of the
1799 memory can be "permanently mapped" by the kernel. The physical
1800 memory that is not permanently mapped is called "high memory".
1801
1802 Depending on the selected kernel/user memory split, minimum
1803 vmalloc space and actual amount of RAM, you may not need this
1804 option which should result in a slightly faster kernel.
1805
1806 If unsure, say n.
1807
65cec8e3
RK
1808config HIGHPTE
1809 bool "Allocate 2nd-level pagetables from highmem"
1810 depends on HIGHMEM
65cec8e3 1811
1b8873a0
JI
1812config HW_PERF_EVENTS
1813 bool "Enable hardware performance counter support for perf events"
f0d1bc47 1814 depends on PERF_EVENTS
1b8873a0
JI
1815 default y
1816 help
1817 Enable hardware performance counter support for perf events. If
1818 disabled, perf events will use software events only.
1819
3f22ab27
DH
1820source "mm/Kconfig"
1821
c1b2d970
MD
1822config FORCE_MAX_ZONEORDER
1823 int "Maximum zone order" if ARCH_SHMOBILE
1824 range 11 64 if ARCH_SHMOBILE
898f08e1 1825 default "12" if SOC_AM33XX
c1b2d970
MD
1826 default "9" if SA1111
1827 default "11"
1828 help
1829 The kernel memory allocator divides physically contiguous memory
1830 blocks into "zones", where each zone is a power of two number of
1831 pages. This option selects the largest power of two that the kernel
1832 keeps in the memory allocator. If you need to allocate very large
1833 blocks of physically contiguous memory, then you may need to
1834 increase this value.
1835
1836 This config option is actually maximum order plus one. For example,
1837 a value of 11 means that the largest free memory block is 2^10 pages.
1838
1da177e4
LT
1839config ALIGNMENT_TRAP
1840 bool
f12d0d7c 1841 depends on CPU_CP15_MMU
1da177e4 1842 default y if !ARCH_EBSA110
e119bfff 1843 select HAVE_PROC_CPU if PROC_FS
1da177e4 1844 help
84eb8d06 1845 ARM processors cannot fetch/store information which is not
1da177e4
LT
1846 naturally aligned on the bus, i.e., a 4 byte fetch must start at an
1847 address divisible by 4. On 32-bit ARM processors, these non-aligned
1848 fetch/store instructions will be emulated in software if you say
1849 here, which has a severe performance impact. This is necessary for
1850 correct operation of some network protocols. With an IP-only
1851 configuration it is safe to say N, otherwise say Y.
1852
39ec58f3 1853config UACCESS_WITH_MEMCPY
38ef2ad5
LW
1854 bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user()"
1855 depends on MMU
39ec58f3
LB
1856 default y if CPU_FEROCEON
1857 help
1858 Implement faster copy_to_user and clear_user methods for CPU
1859 cores where a 8-word STM instruction give significantly higher
1860 memory write throughput than a sequence of individual 32bit stores.
1861
1862 A possible side effect is a slight increase in scheduling latency
1863 between threads sharing the same address space if they invoke
1864 such copy operations with large buffers.
1865
1866 However, if the CPU data cache is using a write-allocate mode,
1867 this option is unlikely to provide any performance gain.
1868
70c70d97
NP
1869config SECCOMP
1870 bool
1871 prompt "Enable seccomp to safely compute untrusted bytecode"
1872 ---help---
1873 This kernel feature is useful for number crunching applications
1874 that may need to compute untrusted bytecode during their
1875 execution. By using pipes or other transports made available to
1876 the process as file descriptors supporting the read/write
1877 syscalls, it's possible to isolate those applications in
1878 their own address space using seccomp. Once seccomp is
1879 enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
1880 and the task is only allowed to execute a few safe syscalls
1881 defined by each seccomp mode.
1882
c743f380
NP
1883config CC_STACKPROTECTOR
1884 bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
1885 help
1886 This option turns on the -fstack-protector GCC feature. This
1887 feature puts, at the beginning of functions, a canary value on
1888 the stack just before the return address, and validates
1889 the value just before actually returning. Stack based buffer
1890 overflows (that need to overwrite this return address) now also
1891 overwrite the canary, which gets detected and the attack is then
1892 neutralized via a kernel panic.
1893 This feature requires gcc version 4.2 or above.
1894
eff8d644
SS
1895config XEN_DOM0
1896 def_bool y
1897 depends on XEN
1898
1899config XEN
1900 bool "Xen guest support on ARM (EXPERIMENTAL)"
85323a99 1901 depends on ARM && AEABI && OF
f880b67d 1902 depends on CPU_V7 && !CPU_V6
85323a99 1903 depends on !GENERIC_ATOMIC64
eff8d644
SS
1904 help
1905 Say Y if you want to run Linux in a Virtual Machine on Xen on ARM.
1906
1da177e4
LT
1907endmenu
1908
1909menu "Boot options"
1910
9eb8f674
GL
1911config USE_OF
1912 bool "Flattened Device Tree support"
b1b3f49c 1913 select IRQ_DOMAIN
9eb8f674
GL
1914 select OF
1915 select OF_EARLY_FLATTREE
1916 help
1917 Include support for flattened device tree machine descriptions.
1918
bd51e2f5
NP
1919config ATAGS
1920 bool "Support for the traditional ATAGS boot data passing" if USE_OF
1921 default y
1922 help
1923 This is the traditional way of passing data to the kernel at boot
1924 time. If you are solely relying on the flattened device tree (or
1925 the ARM_ATAG_DTB_COMPAT option) then you may unselect this option
1926 to remove ATAGS support from your kernel binary. If unsure,
1927 leave this to y.
1928
1929config DEPRECATED_PARAM_STRUCT
1930 bool "Provide old way to pass kernel parameters"
1931 depends on ATAGS
1932 help
1933 This was deprecated in 2001 and announced to live on for 5 years.
1934 Some old boot loaders still use this way.
1935
1da177e4
LT
1936# Compressed boot loader in ROM. Yes, we really want to ask about
1937# TEXT and BSS so we preserve their values in the config files.
1938config ZBOOT_ROM_TEXT
1939 hex "Compressed ROM boot loader base address"
1940 default "0"
1941 help
1942 The physical address at which the ROM-able zImage is to be
1943 placed in the target. Platforms which normally make use of
1944 ROM-able zImage formats normally set this to a suitable
1945 value in their defconfig file.
1946
1947 If ZBOOT_ROM is not enabled, this has no effect.
1948
1949config ZBOOT_ROM_BSS
1950 hex "Compressed ROM boot loader BSS address"
1951 default "0"
1952 help
f8c440b2
DF
1953 The base address of an area of read/write memory in the target
1954 for the ROM-able zImage which must be available while the
1955 decompressor is running. It must be large enough to hold the
1956 entire decompressed kernel plus an additional 128 KiB.
1957 Platforms which normally make use of ROM-able zImage formats
1958 normally set this to a suitable value in their defconfig file.
1da177e4
LT
1959
1960 If ZBOOT_ROM is not enabled, this has no effect.
1961
1962config ZBOOT_ROM
1963 bool "Compressed boot loader in ROM/flash"
1964 depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
1965 help
1966 Say Y here if you intend to execute your compressed kernel image
1967 (zImage) directly from ROM or flash. If unsure, say N.
1968
090ab3ff
SH
1969choice
1970 prompt "Include SD/MMC loader in zImage (EXPERIMENTAL)"
d6f94fa0 1971 depends on ZBOOT_ROM && ARCH_SH7372
090ab3ff
SH
1972 default ZBOOT_ROM_NONE
1973 help
1974 Include experimental SD/MMC loading code in the ROM-able zImage.
59bf8964 1975 With this enabled it is possible to write the ROM-able zImage
090ab3ff
SH
1976 kernel image to an MMC or SD card and boot the kernel straight
1977 from the reset vector. At reset the processor Mask ROM will load
59bf8964 1978 the first part of the ROM-able zImage which in turn loads the
090ab3ff
SH
1979 rest the kernel image to RAM.
1980
1981config ZBOOT_ROM_NONE
1982 bool "No SD/MMC loader in zImage (EXPERIMENTAL)"
1983 help
1984 Do not load image from SD or MMC
1985
f45b1149
SH
1986config ZBOOT_ROM_MMCIF
1987 bool "Include MMCIF loader in zImage (EXPERIMENTAL)"
f45b1149 1988 help
090ab3ff
SH
1989 Load image from MMCIF hardware block.
1990
1991config ZBOOT_ROM_SH_MOBILE_SDHI
1992 bool "Include SuperH Mobile SDHI loader in zImage (EXPERIMENTAL)"
1993 help
1994 Load image from SDHI hardware block
1995
1996endchoice
f45b1149 1997
e2a6a3aa
JB
1998config ARM_APPENDED_DTB
1999 bool "Use appended device tree blob to zImage (EXPERIMENTAL)"
d6f94fa0 2000 depends on OF && !ZBOOT_ROM
e2a6a3aa
JB
2001 help
2002 With this option, the boot code will look for a device tree binary
2003 (DTB) appended to zImage
2004 (e.g. cat zImage <filename>.dtb > zImage_w_dtb).
2005
2006 This is meant as a backward compatibility convenience for those
2007 systems with a bootloader that can't be upgraded to accommodate
2008 the documented boot protocol using a device tree.
2009
2010 Beware that there is very little in terms of protection against
2011 this option being confused by leftover garbage in memory that might
2012 look like a DTB header after a reboot if no actual DTB is appended
2013 to zImage. Do not leave this option active in a production kernel
2014 if you don't intend to always append a DTB. Proper passing of the
2015 location into r2 of a bootloader provided DTB is always preferable
2016 to this option.
2017
b90b9a38
NP
2018config ARM_ATAG_DTB_COMPAT
2019 bool "Supplement the appended DTB with traditional ATAG information"
2020 depends on ARM_APPENDED_DTB
2021 help
2022 Some old bootloaders can't be updated to a DTB capable one, yet
2023 they provide ATAGs with memory configuration, the ramdisk address,
2024 the kernel cmdline string, etc. Such information is dynamically
2025 provided by the bootloader and can't always be stored in a static
2026 DTB. To allow a device tree enabled kernel to be used with such
2027 bootloaders, this option allows zImage to extract the information
2028 from the ATAG list and store it at run time into the appended DTB.
2029
d0f34a11
GR
2030choice
2031 prompt "Kernel command line type" if ARM_ATAG_DTB_COMPAT
2032 default ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER
2033
2034config ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER
2035 bool "Use bootloader kernel arguments if available"
2036 help
2037 Uses the command-line options passed by the boot loader instead of
2038 the device tree bootargs property. If the boot loader doesn't provide
2039 any, the device tree bootargs property will be used.
2040
2041config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND
2042 bool "Extend with bootloader kernel arguments"
2043 help
2044 The command-line arguments provided by the boot loader will be
2045 appended to the the device tree bootargs property.
2046
2047endchoice
2048
1da177e4
LT
2049config CMDLINE
2050 string "Default kernel command string"
2051 default ""
2052 help
2053 On some architectures (EBSA110 and CATS), there is currently no way
2054 for the boot loader to pass arguments to the kernel. For these
2055 architectures, you should supply some command-line options at build
2056 time by entering them here. As a minimum, you should specify the
2057 memory size and the root device (e.g., mem=64M root=/dev/nfs).
2058
4394c124
VB
2059choice
2060 prompt "Kernel command line type" if CMDLINE != ""
2061 default CMDLINE_FROM_BOOTLOADER
bd51e2f5 2062 depends on ATAGS
4394c124
VB
2063
2064config CMDLINE_FROM_BOOTLOADER
2065 bool "Use bootloader kernel arguments if available"
2066 help
2067 Uses the command-line options passed by the boot loader. If
2068 the boot loader doesn't provide any, the default kernel command
2069 string provided in CMDLINE will be used.
2070
2071config CMDLINE_EXTEND
2072 bool "Extend bootloader kernel arguments"
2073 help
2074 The command-line arguments provided by the boot loader will be
2075 appended to the default kernel command string.
2076
92d2040d
AH
2077config CMDLINE_FORCE
2078 bool "Always use the default kernel command string"
92d2040d
AH
2079 help
2080 Always use the default kernel command string, even if the boot
2081 loader passes other arguments to the kernel.
2082 This is useful if you cannot or don't want to change the
2083 command-line options your boot loader passes to the kernel.
4394c124 2084endchoice
92d2040d 2085
1da177e4
LT
2086config XIP_KERNEL
2087 bool "Kernel Execute-In-Place from ROM"
387798b3 2088 depends on !ZBOOT_ROM && !ARM_LPAE && !ARCH_MULTIPLATFORM
1da177e4
LT
2089 help
2090 Execute-In-Place allows the kernel to run from non-volatile storage
2091 directly addressable by the CPU, such as NOR flash. This saves RAM
2092 space since the text section of the kernel is not loaded from flash
2093 to RAM. Read-write sections, such as the data section and stack,
2094 are still copied to RAM. The XIP kernel is not compressed since
2095 it has to run directly from flash, so it will take more space to
2096 store it. The flash address used to link the kernel object files,
2097 and for storing it, is configuration dependent. Therefore, if you
2098 say Y here, you must know the proper physical address where to
2099 store the kernel image depending on your own flash memory usage.
2100
2101 Also note that the make target becomes "make xipImage" rather than
2102 "make zImage" or "make Image". The final kernel binary to put in
2103 ROM memory will be arch/arm/boot/xipImage.
2104
2105 If unsure, say N.
2106
2107config XIP_PHYS_ADDR
2108 hex "XIP Kernel Physical Location"
2109 depends on XIP_KERNEL
2110 default "0x00080000"
2111 help
2112 This is the physical address in your flash memory the kernel will
2113 be linked for and stored to. This address is dependent on your
2114 own flash usage.
2115
c587e4a6
RP
2116config KEXEC
2117 bool "Kexec system call (EXPERIMENTAL)"
d6f94fa0 2118 depends on (!SMP || HOTPLUG_CPU)
c587e4a6
RP
2119 help
2120 kexec is a system call that implements the ability to shutdown your
2121 current kernel, and to start another kernel. It is like a reboot
01dd2fbf 2122 but it is independent of the system firmware. And like a reboot
c587e4a6
RP
2123 you can start any kernel with it, not just Linux.
2124
2125 It is an ongoing process to be certain the hardware in a machine
2126 is properly shutdown, so do not be surprised if this code does not
2127 initially work for you. It may help to enable device hotplugging
2128 support.
2129
4cd9d6f7
RP
2130config ATAGS_PROC
2131 bool "Export atags in procfs"
bd51e2f5 2132 depends on ATAGS && KEXEC
b98d7291 2133 default y
4cd9d6f7
RP
2134 help
2135 Should the atags used to boot the kernel be exported in an "atags"
2136 file in procfs. Useful with kexec.
2137
cb5d39b3
MW
2138config CRASH_DUMP
2139 bool "Build kdump crash kernel (EXPERIMENTAL)"
cb5d39b3
MW
2140 help
2141 Generate crash dump after being started by kexec. This should
2142 be normally only set in special crash dump kernels which are
2143 loaded in the main kernel with kexec-tools into a specially
2144 reserved region and then later executed after a crash by
2145 kdump/kexec. The crash dump kernel must be compiled to a
2146 memory address not used by the main kernel
2147
2148 For more details see Documentation/kdump/kdump.txt
2149
e69edc79
EM
2150config AUTO_ZRELADDR
2151 bool "Auto calculation of the decompressed kernel image address"
2152 depends on !ZBOOT_ROM && !ARCH_U300
2153 help
2154 ZRELADDR is the physical address where the decompressed kernel
2155 image will be placed. If AUTO_ZRELADDR is selected, the address
2156 will be determined at run-time by masking the current IP with
2157 0xf8000000. This assumes the zImage being placed in the first 128MB
2158 from start of memory.
2159
1da177e4
LT
2160endmenu
2161
ac9d7efc 2162menu "CPU Power Management"
1da177e4 2163
89c52ed4 2164if ARCH_HAS_CPUFREQ
1da177e4
LT
2165
2166source "drivers/cpufreq/Kconfig"
2167
64f102b6
YS
2168config CPU_FREQ_IMX
2169 tristate "CPUfreq driver for i.MX CPUs"
2170 depends on ARCH_MXC && CPU_FREQ
f637c4c9 2171 select CPU_FREQ_TABLE
64f102b6
YS
2172 help
2173 This enables the CPUfreq driver for i.MX CPUs.
2174
1da177e4
LT
2175config CPU_FREQ_SA1100
2176 bool
1da177e4
LT
2177
2178config CPU_FREQ_SA1110
2179 bool
1da177e4
LT
2180
2181config CPU_FREQ_INTEGRATOR
2182 tristate "CPUfreq driver for ARM Integrator CPUs"
2183 depends on ARCH_INTEGRATOR && CPU_FREQ
2184 default y
2185 help
2186 This enables the CPUfreq driver for ARM Integrator CPUs.
2187
2188 For details, take a look at <file:Documentation/cpu-freq>.
2189
2190 If in doubt, say Y.
2191
9e2697ff
RK
2192config CPU_FREQ_PXA
2193 bool
2194 depends on CPU_FREQ && ARCH_PXA && PXA25x
2195 default y
2196 select CPU_FREQ_DEFAULT_GOV_USERSPACE
b1b3f49c 2197 select CPU_FREQ_TABLE
9e2697ff 2198
9d56c02a
BD
2199config CPU_FREQ_S3C
2200 bool
2201 help
2202 Internal configuration node for common cpufreq on Samsung SoC
2203
2204config CPU_FREQ_S3C24XX
4a50bfe3 2205 bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
d6f94fa0 2206 depends on ARCH_S3C24XX && CPU_FREQ
9d56c02a
BD
2207 select CPU_FREQ_S3C
2208 help
2209 This enables the CPUfreq driver for the Samsung S3C24XX family
2210 of CPUs.
2211
2212 For details, take a look at <file:Documentation/cpu-freq>.
2213
2214 If in doubt, say N.
2215
2216config CPU_FREQ_S3C24XX_PLL
4a50bfe3 2217 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
d6f94fa0 2218 depends on CPU_FREQ_S3C24XX
9d56c02a
BD
2219 help
2220 Compile in support for changing the PLL frequency from the
2221 S3C24XX series CPUfreq driver. The PLL takes time to settle
2222 after a frequency change, so by default it is not enabled.
2223
2224 This also means that the PLL tables for the selected CPU(s) will
2225 be built which may increase the size of the kernel image.
2226
2227config CPU_FREQ_S3C24XX_DEBUG
2228 bool "Debug CPUfreq Samsung driver core"
2229 depends on CPU_FREQ_S3C24XX
2230 help
2231 Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
2232
2233config CPU_FREQ_S3C24XX_IODEBUG
2234 bool "Debug CPUfreq Samsung driver IO timing"
2235 depends on CPU_FREQ_S3C24XX
2236 help
2237 Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
2238
e6d197a6
BD
2239config CPU_FREQ_S3C24XX_DEBUGFS
2240 bool "Export debugfs for CPUFreq"
2241 depends on CPU_FREQ_S3C24XX && DEBUG_FS
2242 help
2243 Export status information via debugfs.
2244
1da177e4
LT
2245endif
2246
ac9d7efc
RK
2247source "drivers/cpuidle/Kconfig"
2248
2249endmenu
2250
1da177e4
LT
2251menu "Floating point emulation"
2252
2253comment "At least one emulation must be selected"
2254
2255config FPE_NWFPE
2256 bool "NWFPE math emulation"
593c252a 2257 depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
1da177e4
LT
2258 ---help---
2259 Say Y to include the NWFPE floating point emulator in the kernel.
2260 This is necessary to run most binaries. Linux does not currently
2261 support floating point hardware so you need to say Y here even if
2262 your machine has an FPA or floating point co-processor podule.
2263
2264 You may say N here if you are going to load the Acorn FPEmulator
2265 early in the bootup.
2266
2267config FPE_NWFPE_XP
2268 bool "Support extended precision"
bedf142b 2269 depends on FPE_NWFPE
1da177e4
LT
2270 help
2271 Say Y to include 80-bit support in the kernel floating-point
2272 emulator. Otherwise, only 32 and 64-bit support is compiled in.
2273 Note that gcc does not generate 80-bit operations by default,
2274 so in most cases this option only enlarges the size of the
2275 floating point emulator without any good reason.
2276
2277 You almost surely want to say N here.
2278
2279config FPE_FASTFPE
2280 bool "FastFPE math emulation (EXPERIMENTAL)"
d6f94fa0 2281 depends on (!AEABI || OABI_COMPAT) && !CPU_32v3
1da177e4
LT
2282 ---help---
2283 Say Y here to include the FAST floating point emulator in the kernel.
2284 This is an experimental much faster emulator which now also has full
2285 precision for the mantissa. It does not support any exceptions.
2286 It is very simple, and approximately 3-6 times faster than NWFPE.
2287
2288 It should be sufficient for most programs. It may be not suitable
2289 for scientific calculations, but you have to check this for yourself.
2290 If you do not feel you need a faster FP emulation you should better
2291 choose NWFPE.
2292
2293config VFP
2294 bool "VFP-format floating point maths"
e399b1a4 2295 depends on CPU_V6 || CPU_V6K || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1da177e4
LT
2296 help
2297 Say Y to include VFP support code in the kernel. This is needed
2298 if your hardware includes a VFP unit.
2299
2300 Please see <file:Documentation/arm/VFP/release-notes.txt> for
2301 release notes and additional status information.
2302
2303 Say N if your target does not have VFP hardware.
2304
25ebee02
CM
2305config VFPv3
2306 bool
2307 depends on VFP
2308 default y if CPU_V7
2309
b5872db4
CM
2310config NEON
2311 bool "Advanced SIMD (NEON) Extension support"
2312 depends on VFPv3 && CPU_V7
2313 help
2314 Say Y to include support code for NEON, the ARMv7 Advanced SIMD
2315 Extension.
2316
1da177e4
LT
2317endmenu
2318
2319menu "Userspace binary formats"
2320
2321source "fs/Kconfig.binfmt"
2322
2323config ARTHUR
2324 tristate "RISC OS personality"
704bdda0 2325 depends on !AEABI
1da177e4
LT
2326 help
2327 Say Y here to include the kernel code necessary if you want to run
2328 Acorn RISC OS/Arthur binaries under Linux. This code is still very
2329 experimental; if this sounds frightening, say N and sleep in peace.
2330 You can also say M here to compile this support as a module (which
2331 will be called arthur).
2332
2333endmenu
2334
2335menu "Power management options"
2336
eceab4ac 2337source "kernel/power/Kconfig"
1da177e4 2338
f4cb5700 2339config ARCH_SUSPEND_POSSIBLE
4b1082ca 2340 depends on !ARCH_S5PC100
6a786182 2341 depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \
3f5d0819 2342 CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE || CPU_MOHAWK
f4cb5700
JB
2343 def_bool y
2344
15e0d9e3
AB
2345config ARM_CPU_SUSPEND
2346 def_bool PM_SLEEP
2347
1da177e4
LT
2348endmenu
2349
d5950b43
SR
2350source "net/Kconfig"
2351
ac25150f 2352source "drivers/Kconfig"
1da177e4
LT
2353
2354source "fs/Kconfig"
2355
1da177e4
LT
2356source "arch/arm/Kconfig.debug"
2357
2358source "security/Kconfig"
2359
2360source "crypto/Kconfig"
2361
2362source "lib/Kconfig"
749cf76c
CD
2363
2364source "arch/arm/kvm/Kconfig"
This page took 1.652986 seconds and 5 git commands to generate.