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