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