]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/arm/Kconfig
[ARM] Move mmu.c out of the way
[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
12b824fb 11 select RTC_LIB
1da177e4
LT
12 help
13 The ARM series is a line of low-power-consumption RISC chip designs
f6c8965a 14 licensed by ARM Ltd and targeted at embedded applications and
1da177e4 15 handhelds such as the Compaq IPAQ. ARM-based PCs are no longer
f6c8965a 16 manufactured, but legacy ARM-based PC hardware remains popular in
1da177e4
LT
17 Europe. There is an ARM Linux project with a web page at
18 <http://www.arm.linux.org.uk/>.
19
20config MMU
21 bool
22 default y
23
24config EISA
25 bool
26 ---help---
27 The Extended Industry Standard Architecture (EISA) bus was
28 developed as an open alternative to the IBM MicroChannel bus.
29
30 The EISA bus provided some of the features of the IBM MicroChannel
31 bus while maintaining backward compatibility with cards made for
32 the older ISA bus. The EISA bus saw limited use between 1988 and
33 1995 when it was made obsolete by the PCI bus.
34
35 Say Y here if you are building a kernel for an EISA-based machine.
36
37 Otherwise, say N.
38
39config SBUS
40 bool
41
42config MCA
43 bool
44 help
45 MicroChannel Architecture is found in some IBM PS/2 machines and
46 laptops. It is a bus system similar to PCI or ISA. See
47 <file:Documentation/mca.txt> (and especially the web page given
48 there) before attempting to build an MCA bus kernel.
49
4a2581a0
TG
50config GENERIC_HARDIRQS
51 bool
52 default y
53
54config HARDIRQS_SW_RESEND
55 bool
56 default y
57
58config GENERIC_IRQ_PROBE
59 bool
60 default y
61
1da177e4
LT
62config RWSEM_GENERIC_SPINLOCK
63 bool
64 default y
65
66config RWSEM_XCHGADD_ALGORITHM
67 bool
68
b89c3b16
AM
69config GENERIC_HWEIGHT
70 bool
71 default y
72
1da177e4
LT
73config GENERIC_CALIBRATE_DELAY
74 bool
75 default y
76
77config GENERIC_BUST_SPINLOCK
78 bool
79
a08b6b79
AV
80config ARCH_MAY_HAVE_PC_FDC
81 bool
82
1da177e4
LT
83config GENERIC_ISA_DMA
84 bool
85
1da177e4
LT
86config FIQ
87 bool
88
034d2f5a
AV
89config ARCH_MTD_XIP
90 bool
91
c760fc19
HC
92config VECTORS_BASE
93 hex
94 default 0xffff0000 if MMU
95 default DRAM_BASE if REMAP_VECTORS_TO_RAM
96 default 0x00000000
97 help
98 The base address of exception vectors.
99
1da177e4
LT
100source "init/Kconfig"
101
102menu "System Type"
103
104choice
105 prompt "ARM system type"
6a0e2430 106 default ARCH_VERSATILE
1da177e4 107
4af6fee1
DS
108config ARCH_AAEC2000
109 bool "Agilent AAEC-2000 based"
110 select ARM_AMBA
111 help
112 This enables support for systems based on the Agilent AAEC-2000
113
114config ARCH_INTEGRATOR
115 bool "ARM Ltd. Integrator family"
116 select ARM_AMBA
117 select ICST525
118 help
119 Support for ARM's Integrator platform.
120
121config ARCH_REALVIEW
122 bool "ARM Ltd. RealView family"
123 select ARM_AMBA
124 select ICST307
125 help
126 This enables support for ARM Ltd RealView boards.
127
128config ARCH_VERSATILE
129 bool "ARM Ltd. Versatile family"
130 select ARM_AMBA
131 select ARM_VIC
132 select ICST307
133 help
134 This enables support for ARM Ltd Versatile board.
135
8fc5ffa0
AV
136config ARCH_AT91
137 bool "Atmel AT91"
4af6fee1 138 help
8fc5ffa0
AV
139 This enables support for systems based on the Atmel AT91RM9200
140 and AT91SAM9xxx processors.
4af6fee1 141
1da177e4 142config ARCH_CLPS7500
4af6fee1 143 bool "Cirrus CL-PS7500FE"
1da177e4 144 select TIMER_ACORN
f7e68bbf 145 select ISA
f999b8bd
MM
146 help
147 Support for the Cirrus Logic PS7500FE system-on-a-chip.
1da177e4
LT
148
149config ARCH_CLPS711X
4af6fee1 150 bool "Cirrus Logic CLPS711x/EP721x-based"
f999b8bd
MM
151 help
152 Support for Cirrus Logic 711x/721x based boards.
1da177e4
LT
153
154config ARCH_CO285
155 bool "Co-EBSA285"
156 select FOOTBRIDGE
157 select FOOTBRIDGE_ADDIN
f999b8bd
MM
158 help
159 Support for Intel's EBSA285 companion chip.
1da177e4
LT
160
161config ARCH_EBSA110
162 bool "EBSA-110"
f7e68bbf 163 select ISA
1da177e4
LT
164 help
165 This is an evaluation board for the StrongARM processor available
f6c8965a 166 from Digital. It has limited hardware on-board, including an
1da177e4
LT
167 Ethernet interface, two PCMCIA sockets, two serial ports and a
168 parallel port.
169
e7736d47
LB
170config ARCH_EP93XX
171 bool "EP93xx-based"
172 select ARM_AMBA
173 select ARM_VIC
174 help
175 This enables support for the Cirrus EP93xx series of CPUs.
176
1da177e4
LT
177config ARCH_FOOTBRIDGE
178 bool "FootBridge"
179 select FOOTBRIDGE
f999b8bd
MM
180 help
181 Support for systems based on the DC21285 companion chip
182 ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
1da177e4 183
4af6fee1
DS
184config ARCH_NETX
185 bool "Hilscher NetX based"
186 select ARM_VIC
f999b8bd 187 help
4af6fee1
DS
188 This enables support for systems based on the Hilscher NetX Soc
189
190config ARCH_H720X
191 bool "Hynix HMS720x-based"
192 select ISA_DMA_API
193 help
194 This enables support for systems based on the Hynix HMS720x
195
196config ARCH_IMX
197 bool "IMX"
198 help
199 Support for Motorola's i.MX family of processors (MX1, MXL).
1da177e4
LT
200
201config ARCH_IOP3XX
202 bool "IOP3xx-based"
a4f7e763 203 depends on MMU
f7e68bbf 204 select PCI
f999b8bd
MM
205 help
206 Support for Intel's IOP3XX (XScale) family of processors.
1da177e4
LT
207
208config ARCH_IXP4XX
209 bool "IXP4xx-based"
a4f7e763 210 depends on MMU
f999b8bd
MM
211 help
212 Support for Intel's IXP4XX (XScale) family of processors.
1da177e4
LT
213
214config ARCH_IXP2000
215 bool "IXP2400/2800-based"
a4f7e763 216 depends on MMU
f7e68bbf 217 select PCI
f999b8bd
MM
218 help
219 Support for Intel's IXP2400/2800 (XScale) family of processors.
1da177e4 220
c4713074
LB
221config ARCH_IXP23XX
222 bool "IXP23XX-based"
a4f7e763 223 depends on MMU
c4713074
LB
224 select PCI
225 help
226 Support for Intel's IXP23xx (XScale) family of processors.
227
1da177e4
LT
228config ARCH_L7200
229 bool "LinkUp-L7200"
230 select FIQ
231 help
232 Say Y here if you intend to run this kernel on a LinkUp Systems
233 L7200 Software Development Board which uses an ARM720T processor.
234 Information on this board can be obtained at:
235
236 <http://www.linkupsys.com/>
237
238 If you have any questions or comments about the Linux kernel port
239 to this board, send e-mail to <sjhill@cotw.com>.
240
4af6fee1
DS
241config ARCH_PNX4008
242 bool "Philips Nexperia PNX4008 Mobile"
243 help
244 This enables support for Philips PNX4008 mobile platform.
245
1da177e4
LT
246config ARCH_PXA
247 bool "PXA2xx-based"
a4f7e763 248 depends on MMU
034d2f5a 249 select ARCH_MTD_XIP
f999b8bd
MM
250 help
251 Support for Intel's PXA2XX processor line.
1da177e4
LT
252
253config ARCH_RPC
254 bool "RiscPC"
255 select ARCH_ACORN
256 select FIQ
257 select TIMER_ACORN
a08b6b79 258 select ARCH_MAY_HAVE_PC_FDC
065909b9 259 select ISA_DMA_API
1da177e4
LT
260 help
261 On the Acorn Risc-PC, Linux can support the internal IDE disk and
262 CD-ROM interface, serial and parallel port, and the floppy drive.
263
264config ARCH_SA1100
265 bool "SA1100-based"
f7e68bbf 266 select ISA
3cd9e19e 267 select ARCH_DISCONTIGMEM_ENABLE
034d2f5a 268 select ARCH_MTD_XIP
f999b8bd
MM
269 help
270 Support for StrongARM 11x0 based boards.
1da177e4
LT
271
272config ARCH_S3C2410
cd701aa2 273 bool "Samsung S3C2410, S3C2412, S3C2413, S3C2440, S3C2442"
1da177e4
LT
274 help
275 Samsung S3C2410X CPU based systems, such as the Simtec Electronics
276 BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
f6c8965a 277 the Samsung SMDK2410 development board (and derivatives).
1da177e4
LT
278
279config ARCH_SHARK
280 bool "Shark"
f7e68bbf
RK
281 select ISA
282 select ISA_DMA
283 select PCI
f999b8bd
MM
284 help
285 Support for the StrongARM based Digital DNARD machine, also known
286 as "Shark" (<http://www.shark-linux.de/shark.html>).
1da177e4
LT
287
288config ARCH_LH7A40X
289 bool "Sharp LH7A40X"
290 help
291 Say Y here for systems based on one of the Sharp LH7A40X
292 System on a Chip processors. These CPUs include an ARM922T
293 core with a wide array of integrated devices for
294 hand-held and low-power applications.
295
296config ARCH_OMAP
297 bool "TI OMAP"
f999b8bd
MM
298 help
299 Support for TI's OMAP platform (OMAP1 and OMAP2).
1da177e4 300
1da177e4
LT
301endchoice
302
303source "arch/arm/mach-clps711x/Kconfig"
304
e7736d47
LB
305source "arch/arm/mach-ep93xx/Kconfig"
306
1da177e4
LT
307source "arch/arm/mach-footbridge/Kconfig"
308
309source "arch/arm/mach-integrator/Kconfig"
310
311source "arch/arm/mach-iop3xx/Kconfig"
312
313source "arch/arm/mach-ixp4xx/Kconfig"
314
315source "arch/arm/mach-ixp2000/Kconfig"
316
c4713074
LB
317source "arch/arm/mach-ixp23xx/Kconfig"
318
1da177e4
LT
319source "arch/arm/mach-pxa/Kconfig"
320
321source "arch/arm/mach-sa1100/Kconfig"
322
d48af15e
TL
323source "arch/arm/plat-omap/Kconfig"
324
325source "arch/arm/mach-omap1/Kconfig"
1da177e4 326
1dbae815
TL
327source "arch/arm/mach-omap2/Kconfig"
328
1da177e4
LT
329source "arch/arm/mach-s3c2410/Kconfig"
330
331source "arch/arm/mach-lh7a40x/Kconfig"
332
333source "arch/arm/mach-imx/Kconfig"
334
335source "arch/arm/mach-h720x/Kconfig"
336
337source "arch/arm/mach-versatile/Kconfig"
338
038c5b60
BN
339source "arch/arm/mach-aaec2000/Kconfig"
340
8ad68bbf
CM
341source "arch/arm/mach-realview/Kconfig"
342
73a59c1c
SP
343source "arch/arm/mach-at91rm9200/Kconfig"
344
bb6d8c88
SH
345source "arch/arm/mach-netx/Kconfig"
346
1da177e4
LT
347# Definitions to make life easier
348config ARCH_ACORN
349 bool
350
351source arch/arm/mm/Kconfig
352
353# bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
354config XSCALE_PMU
355 bool
356 depends on CPU_XSCALE && !XSCALE_PMU_TIMER
357 default y
358
3b93e7b0
HC
359if !MMU
360source "arch/arm/Kconfig-nommu"
361endif
362
1da177e4
LT
363endmenu
364
365source "arch/arm/common/Kconfig"
366
367config FORCE_MAX_ZONEORDER
368 int
369 depends on SA1111
370 default "9"
371
372menu "Bus support"
373
374config ARM_AMBA
375 bool
376
377config ISA
378 bool
1da177e4
LT
379 help
380 Find out whether you have ISA slots on your motherboard. ISA is the
381 name of a bus system, i.e. the way the CPU talks to the other stuff
382 inside your box. Other bus systems are PCI, EISA, MicroChannel
383 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
384 newer boards don't support it. If you have ISA, say Y, otherwise N.
385
065909b9 386# Select ISA DMA controller support
1da177e4
LT
387config ISA_DMA
388 bool
065909b9 389 select ISA_DMA_API
1da177e4 390
065909b9 391# Select ISA DMA interface
5cae841b
AV
392config ISA_DMA_API
393 bool
5cae841b 394
1da177e4 395config PCI
68939121 396 bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX
1da177e4
LT
397 help
398 Find out whether you have a PCI motherboard. PCI is the name of a
399 bus system, i.e. the way the CPU talks to the other stuff inside
400 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
401 VESA. If you have PCI, say Y, otherwise N.
402
403 The PCI-HOWTO, available from
404 <http://www.tldp.org/docs.html#howto>, contains valuable
405 information about which PCI hardware does work under Linux and which
406 doesn't.
407
408# Select the host bridge type
409config PCI_HOST_VIA82C505
410 bool
411 depends on PCI && ARCH_SHARK
412 default y
413
414source "drivers/pci/Kconfig"
415
416source "drivers/pcmcia/Kconfig"
417
418endmenu
419
420menu "Kernel Features"
421
422config SMP
423 bool "Symmetric Multi-Processing (EXPERIMENTAL)"
f6db449c 424 depends on EXPERIMENTAL && REALVIEW_MPCORE
1da177e4
LT
425 help
426 This enables support for systems with more than one CPU. If you have
427 a system with only one CPU, like most personal computers, say N. If
428 you have a system with more than one CPU, say Y.
429
430 If you say N here, the kernel will run on single and multiprocessor
431 machines, but will use only one CPU of a multiprocessor machine. If
432 you say Y here, the kernel will run on many, but not all, single
433 processor machines. On a single processor machine, the kernel will
434 run faster if you say N here.
435
12c62c2e
AO
436 See also the <file:Documentation/smp.txt>,
437 <file:Documentation/i386/IO-APIC.txt>,
1da177e4
LT
438 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
439 <http://www.linuxdoc.org/docs.html#howto>.
440
441 If you don't know what to do here, say N.
442
443config NR_CPUS
444 int "Maximum number of CPUs (2-32)"
445 range 2 32
446 depends on SMP
447 default "4"
448
a054a811
RK
449config HOTPLUG_CPU
450 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
451 depends on SMP && HOTPLUG && EXPERIMENTAL
452 help
453 Say Y here to experiment with turning CPUs off and on. CPUs
454 can be controlled through /sys/devices/system/cpu.
455
37ee16ae
RK
456config LOCAL_TIMERS
457 bool "Use local timer interrupts"
2a98beb6 458 depends on SMP && REALVIEW_MPCORE
37ee16ae
RK
459 default y
460 help
461 Enable support for local timers on SMP platforms, rather then the
462 legacy IPI broadcast method. Local timers allows the system
463 accounting to be spread across the timer interval, preventing a
464 "thundering herd" at every timer tick.
465
1da177e4
LT
466config PREEMPT
467 bool "Preemptible Kernel (EXPERIMENTAL)"
468 depends on EXPERIMENTAL
469 help
470 This option reduces the latency of the kernel when reacting to
471 real-time or interactive events by allowing a low priority process to
472 be preempted even if it is in kernel mode executing a system call.
473 This allows applications to run more reliably even when the system is
474 under load.
475
476 Say Y here if you are building a kernel for a desktop, embedded
477 or real-time system. Say N if you are unsure.
478
8749af68
RK
479config NO_IDLE_HZ
480 bool "Dynamic tick timer"
481 help
482 Select this option if you want to disable continuous timer ticks
483 and have them programmed to occur as required. This option saves
484 power as the system can remain in idle state for longer.
485
486 By default dynamic tick is disabled during the boot, and can be
487 manually enabled with:
488
489 echo 1 > /sys/devices/system/timer/timer0/dyn_tick
490
491 Alternatively, if you want dynamic tick automatically enabled
492 during boot, pass "dyntick=enable" via the kernel command string.
493
f2be64b3
TL
494 Please note that dynamic tick may affect the accuracy of
495 timekeeping on some platforms depending on the implementation.
569d2c34
NP
496 Currently at least OMAP, PXA2xx and SA11x0 platforms are known
497 to have accurate timekeeping with dynamic tick.
f2be64b3 498
f8065813
RK
499config HZ
500 int
501 default 128 if ARCH_L7200
502 default 200 if ARCH_EBSA110 || ARCH_S3C2410
bfe65704 503 default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
f8065813
RK
504 default 100
505
704bdda0
NP
506config AEABI
507 bool "Use the ARM EABI to compile the kernel"
508 help
509 This option allows for the kernel to be compiled using the latest
510 ARM ABI (aka EABI). This is only useful if you are using a user
511 space environment that is also compiled with EABI.
512
513 Since there are major incompatibilities between the legacy ABI and
514 EABI, especially with regard to structure member alignment, this
515 option also changes the kernel syscall calling convention to
516 disambiguate both ABIs and allow for backward compatibility support
517 (selected with CONFIG_OABI_COMPAT).
518
519 To use this you need GCC version 4.0.0 or later.
520
6c90c872 521config OABI_COMPAT
a73a3ff1 522 bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
61c484d4 523 depends on AEABI && EXPERIMENTAL
6c90c872
NP
524 default y
525 help
526 This option preserves the old syscall interface along with the
527 new (ARM EABI) one. It also provides a compatibility layer to
528 intercept syscalls that have structure arguments which layout
529 in memory differs between the legacy ABI and the new ARM EABI
530 (only for non "thumb" binaries). This option adds a tiny
531 overhead to all syscalls and produces a slightly larger kernel.
532 If you know you'll be using only pure EABI user space then you
533 can say N here. If this option is not selected and you attempt
534 to execute a legacy ABI binary then the result will be
535 UNPREDICTABLE (in fact it can be predicted that it won't work
536 at all). If in doubt say Y.
537
3f22ab27 538config ARCH_DISCONTIGMEM_ENABLE
1da177e4 539 bool
f7e68bbf 540 default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM)
1da177e4
LT
541 help
542 Say Y to support efficient handling of discontiguous physical memory,
543 for architectures which are either NUMA (Non-Uniform Memory Access)
544 or have huge holes in the physical address space for other reasons.
545 See <file:Documentation/vm/numa> for more.
546
c80d79d7
YG
547config NODES_SHIFT
548 int
549 default "4" if ARCH_LH7A40X
550 default "2"
551 depends on NEED_MULTIPLE_NODES
552
3f22ab27
DH
553source "mm/Kconfig"
554
1da177e4
LT
555config LEDS
556 bool "Timer and CPU usage LEDs"
557 depends on ARCH_CDB89712 || ARCH_CO285 || ARCH_EBSA110 || \
558 ARCH_EBSA285 || ARCH_IMX || ARCH_INTEGRATOR || \
559 ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
560 ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
73a59c1c 561 ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \