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