ARM: 6629/2: aaec2000: remove support for mach-aaec2000
[pandora-kernel.git] / arch / arm / Kconfig
1 config ARM
2         bool
3         default y
4         select HAVE_AOUT
5         select HAVE_DMA_API_DEBUG
6         select HAVE_IDE
7         select HAVE_MEMBLOCK
8         select RTC_LIB
9         select SYS_SUPPORTS_APM_EMULATION
10         select GENERIC_ATOMIC64 if (!CPU_32v6K || !AEABI)
11         select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
12         select HAVE_ARCH_KGDB
13         select HAVE_KPROBES if (!XIP_KERNEL && !THUMB2_KERNEL)
14         select HAVE_KRETPROBES if (HAVE_KPROBES)
15         select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
16         select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL)
17         select HAVE_DYNAMIC_FTRACE if (!XIP_KERNEL)
18         select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL)
19         select HAVE_GENERIC_DMA_COHERENT
20         select HAVE_KERNEL_GZIP
21         select HAVE_KERNEL_LZO
22         select HAVE_KERNEL_LZMA
23         select HAVE_IRQ_WORK
24         select HAVE_PERF_EVENTS
25         select PERF_USE_VMALLOC
26         select HAVE_REGS_AND_STACK_ACCESS_API
27         select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V7))
28         select HAVE_C_RECORDMCOUNT
29         select HAVE_GENERIC_HARDIRQS
30         select HAVE_SPARSE_IRQ
31         help
32           The ARM series is a line of low-power-consumption RISC chip designs
33           licensed by ARM Ltd and targeted at embedded applications and
34           handhelds such as the Compaq IPAQ.  ARM-based PCs are no longer
35           manufactured, but legacy ARM-based PC hardware remains popular in
36           Europe.  There is an ARM Linux project with a web page at
37           <http://www.arm.linux.org.uk/>.
38
39 config HAVE_PWM
40         bool
41
42 config MIGHT_HAVE_PCI
43         bool
44
45 config SYS_SUPPORTS_APM_EMULATION
46         bool
47
48 config HAVE_SCHED_CLOCK
49         bool
50
51 config GENERIC_GPIO
52         bool
53
54 config ARCH_USES_GETTIMEOFFSET
55         bool
56         default n
57
58 config GENERIC_CLOCKEVENTS
59         bool
60
61 config GENERIC_CLOCKEVENTS_BROADCAST
62         bool
63         depends on GENERIC_CLOCKEVENTS
64         default y if SMP
65
66 config HAVE_TCM
67         bool
68         select GENERIC_ALLOCATOR
69
70 config HAVE_PROC_CPU
71         bool
72
73 config NO_IOPORT
74         bool
75
76 config EISA
77         bool
78         ---help---
79           The Extended Industry Standard Architecture (EISA) bus was
80           developed as an open alternative to the IBM MicroChannel bus.
81
82           The EISA bus provided some of the features of the IBM MicroChannel
83           bus while maintaining backward compatibility with cards made for
84           the older ISA bus.  The EISA bus saw limited use between 1988 and
85           1995 when it was made obsolete by the PCI bus.
86
87           Say Y here if you are building a kernel for an EISA-based machine.
88
89           Otherwise, say N.
90
91 config SBUS
92         bool
93
94 config MCA
95         bool
96         help
97           MicroChannel Architecture is found in some IBM PS/2 machines and
98           laptops.  It is a bus system similar to PCI or ISA. See
99           <file:Documentation/mca.txt> (and especially the web page given
100           there) before attempting to build an MCA bus kernel.
101
102 config STACKTRACE_SUPPORT
103         bool
104         default y
105
106 config HAVE_LATENCYTOP_SUPPORT
107         bool
108         depends on !SMP
109         default y
110
111 config LOCKDEP_SUPPORT
112         bool
113         default y
114
115 config TRACE_IRQFLAGS_SUPPORT
116         bool
117         default y
118
119 config HARDIRQS_SW_RESEND
120         bool
121         default y
122
123 config GENERIC_IRQ_PROBE
124         bool
125         default y
126
127 config GENERIC_LOCKBREAK
128         bool
129         default y
130         depends on SMP && PREEMPT
131
132 config RWSEM_GENERIC_SPINLOCK
133         bool
134         default y
135
136 config RWSEM_XCHGADD_ALGORITHM
137         bool
138
139 config ARCH_HAS_ILOG2_U32
140         bool
141
142 config ARCH_HAS_ILOG2_U64
143         bool
144
145 config ARCH_HAS_CPUFREQ
146         bool
147         help
148           Internal node to signify that the ARCH has CPUFREQ support
149           and that the relevant menu configurations are displayed for
150           it.
151
152 config ARCH_HAS_CPU_IDLE_WAIT
153        def_bool y
154
155 config GENERIC_HWEIGHT
156         bool
157         default y
158
159 config GENERIC_CALIBRATE_DELAY
160         bool
161         default y
162
163 config ARCH_MAY_HAVE_PC_FDC
164         bool
165
166 config ZONE_DMA
167         bool
168
169 config NEED_DMA_MAP_STATE
170        def_bool y
171
172 config GENERIC_ISA_DMA
173         bool
174
175 config FIQ
176         bool
177
178 config ARCH_MTD_XIP
179         bool
180
181 config ARM_L1_CACHE_SHIFT_6
182         bool
183         help
184           Setting ARM L1 cache line size to 64 Bytes.
185
186 config VECTORS_BASE
187         hex
188         default 0xffff0000 if MMU || CPU_HIGH_VECTOR
189         default DRAM_BASE if REMAP_VECTORS_TO_RAM
190         default 0x00000000
191         help
192           The base address of exception vectors.
193
194 source "init/Kconfig"
195
196 source "kernel/Kconfig.freezer"
197
198 menu "System Type"
199
200 config MMU
201         bool "MMU-based Paged Memory Management Support"
202         default y
203         help
204           Select if you want MMU-based virtualised addressing space
205           support by paged memory management. If unsure, say 'Y'.
206
207 #
208 # The "ARM system type" choice list is ordered alphabetically by option
209 # text.  Please add new entries in the option alphabetic order.
210 #
211 choice
212         prompt "ARM system type"
213         default ARCH_VERSATILE
214
215 config ARCH_INTEGRATOR
216         bool "ARM Ltd. Integrator family"
217         select ARM_AMBA
218         select ARCH_HAS_CPUFREQ
219         select CLKDEV_LOOKUP
220         select ICST
221         select GENERIC_CLOCKEVENTS
222         select PLAT_VERSATILE
223         help
224           Support for ARM's Integrator platform.
225
226 config ARCH_REALVIEW
227         bool "ARM Ltd. RealView family"
228         select ARM_AMBA
229         select CLKDEV_LOOKUP
230         select HAVE_SCHED_CLOCK
231         select ICST
232         select GENERIC_CLOCKEVENTS
233         select ARCH_WANT_OPTIONAL_GPIOLIB
234         select PLAT_VERSATILE
235         select ARM_TIMER_SP804
236         select GPIO_PL061 if GPIOLIB
237         help
238           This enables support for ARM Ltd RealView boards.
239
240 config ARCH_VERSATILE
241         bool "ARM Ltd. Versatile family"
242         select ARM_AMBA
243         select ARM_VIC
244         select CLKDEV_LOOKUP
245         select HAVE_SCHED_CLOCK
246         select ICST
247         select GENERIC_CLOCKEVENTS
248         select ARCH_WANT_OPTIONAL_GPIOLIB
249         select PLAT_VERSATILE
250         select ARM_TIMER_SP804
251         help
252           This enables support for ARM Ltd Versatile board.
253
254 config ARCH_VEXPRESS
255         bool "ARM Ltd. Versatile Express family"
256         select ARCH_WANT_OPTIONAL_GPIOLIB
257         select ARM_AMBA
258         select ARM_TIMER_SP804
259         select CLKDEV_LOOKUP
260         select GENERIC_CLOCKEVENTS
261         select HAVE_CLK
262         select HAVE_SCHED_CLOCK
263         select ICST
264         select PLAT_VERSATILE
265         help
266           This enables support for the ARM Ltd Versatile Express boards.
267
268 config ARCH_AT91
269         bool "Atmel AT91"
270         select ARCH_REQUIRE_GPIOLIB
271         select HAVE_CLK
272         help
273           This enables support for systems based on the Atmel AT91RM9200,
274           AT91SAM9 and AT91CAP9 processors.
275
276 config ARCH_BCMRING
277         bool "Broadcom BCMRING"
278         depends on MMU
279         select CPU_V6
280         select ARM_AMBA
281         select CLKDEV_LOOKUP
282         select GENERIC_CLOCKEVENTS
283         select ARCH_WANT_OPTIONAL_GPIOLIB
284         help
285           Support for Broadcom's BCMRing platform.
286
287 config ARCH_CLPS711X
288         bool "Cirrus Logic CLPS711x/EP721x-based"
289         select CPU_ARM720T
290         select ARCH_USES_GETTIMEOFFSET
291         help
292           Support for Cirrus Logic 711x/721x based boards.
293
294 config ARCH_CNS3XXX
295         bool "Cavium Networks CNS3XXX family"
296         select CPU_V6
297         select GENERIC_CLOCKEVENTS
298         select ARM_GIC
299         select MIGHT_HAVE_PCI
300         select PCI_DOMAINS if PCI
301         help
302           Support for Cavium Networks CNS3XXX platform.
303
304 config ARCH_GEMINI
305         bool "Cortina Systems Gemini"
306         select CPU_FA526
307         select ARCH_REQUIRE_GPIOLIB
308         select ARCH_USES_GETTIMEOFFSET
309         help
310           Support for the Cortina Systems Gemini family SoCs
311
312 config ARCH_EBSA110
313         bool "EBSA-110"
314         select CPU_SA110
315         select ISA
316         select NO_IOPORT
317         select ARCH_USES_GETTIMEOFFSET
318         help
319           This is an evaluation board for the StrongARM processor available
320           from Digital. It has limited hardware on-board, including an
321           Ethernet interface, two PCMCIA sockets, two serial ports and a
322           parallel port.
323
324 config ARCH_EP93XX
325         bool "EP93xx-based"
326         select CPU_ARM920T
327         select ARM_AMBA
328         select ARM_VIC
329         select CLKDEV_LOOKUP
330         select ARCH_REQUIRE_GPIOLIB
331         select ARCH_HAS_HOLES_MEMORYMODEL
332         select ARCH_USES_GETTIMEOFFSET
333         help
334           This enables support for the Cirrus EP93xx series of CPUs.
335
336 config ARCH_FOOTBRIDGE
337         bool "FootBridge"
338         select CPU_SA110
339         select FOOTBRIDGE
340         select ARCH_USES_GETTIMEOFFSET
341         help
342           Support for systems based on the DC21285 companion chip
343           ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
344
345 config ARCH_MXC
346         bool "Freescale MXC/iMX-based"
347         select GENERIC_CLOCKEVENTS
348         select ARCH_REQUIRE_GPIOLIB
349         select CLKDEV_LOOKUP
350         help
351           Support for Freescale MXC/iMX-based family of processors
352
353 config ARCH_MXS
354         bool "Freescale MXS-based"
355         select GENERIC_CLOCKEVENTS
356         select ARCH_REQUIRE_GPIOLIB
357         select CLKDEV_LOOKUP
358         help
359           Support for Freescale MXS-based family of processors
360
361 config ARCH_STMP3XXX
362         bool "Freescale STMP3xxx"
363         select CPU_ARM926T
364         select CLKDEV_LOOKUP
365         select ARCH_REQUIRE_GPIOLIB
366         select GENERIC_CLOCKEVENTS
367         select USB_ARCH_HAS_EHCI
368         help
369           Support for systems based on the Freescale 3xxx CPUs.
370
371 config ARCH_NETX
372         bool "Hilscher NetX based"
373         select CPU_ARM926T
374         select ARM_VIC
375         select GENERIC_CLOCKEVENTS
376         help
377           This enables support for systems based on the Hilscher NetX Soc
378
379 config ARCH_H720X
380         bool "Hynix HMS720x-based"
381         select CPU_ARM720T
382         select ISA_DMA_API
383         select ARCH_USES_GETTIMEOFFSET
384         help
385           This enables support for systems based on the Hynix HMS720x
386
387 config ARCH_IOP13XX
388         bool "IOP13xx-based"
389         depends on MMU
390         select CPU_XSC3
391         select PLAT_IOP
392         select PCI
393         select ARCH_SUPPORTS_MSI
394         select VMSPLIT_1G
395         help
396           Support for Intel's IOP13XX (XScale) family of processors.
397
398 config ARCH_IOP32X
399         bool "IOP32x-based"
400         depends on MMU
401         select CPU_XSCALE
402         select PLAT_IOP
403         select PCI
404         select ARCH_REQUIRE_GPIOLIB
405         help
406           Support for Intel's 80219 and IOP32X (XScale) family of
407           processors.
408
409 config ARCH_IOP33X
410         bool "IOP33x-based"
411         depends on MMU
412         select CPU_XSCALE
413         select PLAT_IOP
414         select PCI
415         select ARCH_REQUIRE_GPIOLIB
416         help
417           Support for Intel's IOP33X (XScale) family of processors.
418
419 config ARCH_IXP23XX
420         bool "IXP23XX-based"
421         depends on MMU
422         select CPU_XSC3
423         select PCI
424         select ARCH_USES_GETTIMEOFFSET
425         help
426           Support for Intel's IXP23xx (XScale) family of processors.
427
428 config ARCH_IXP2000
429         bool "IXP2400/2800-based"
430         depends on MMU
431         select CPU_XSCALE
432         select PCI
433         select ARCH_USES_GETTIMEOFFSET
434         help
435           Support for Intel's IXP2400/2800 (XScale) family of processors.
436
437 config ARCH_IXP4XX
438         bool "IXP4xx-based"
439         depends on MMU
440         select CPU_XSCALE
441         select GENERIC_GPIO
442         select GENERIC_CLOCKEVENTS
443         select HAVE_SCHED_CLOCK
444         select MIGHT_HAVE_PCI
445         select DMABOUNCE if PCI
446         help
447           Support for Intel's IXP4XX (XScale) family of processors.
448
449 config ARCH_DOVE
450         bool "Marvell Dove"
451         select PCI
452         select ARCH_REQUIRE_GPIOLIB
453         select GENERIC_CLOCKEVENTS
454         select PLAT_ORION
455         help
456           Support for the Marvell Dove SoC 88AP510
457
458 config ARCH_KIRKWOOD
459         bool "Marvell Kirkwood"
460         select CPU_FEROCEON
461         select PCI
462         select ARCH_REQUIRE_GPIOLIB
463         select GENERIC_CLOCKEVENTS
464         select PLAT_ORION
465         help
466           Support for the following Marvell Kirkwood series SoCs:
467           88F6180, 88F6192 and 88F6281.
468
469 config ARCH_LOKI
470         bool "Marvell Loki (88RC8480)"
471         select CPU_FEROCEON
472         select GENERIC_CLOCKEVENTS
473         select PLAT_ORION
474         help
475           Support for the Marvell Loki (88RC8480) SoC.
476
477 config ARCH_LPC32XX
478         bool "NXP LPC32XX"
479         select CPU_ARM926T
480         select ARCH_REQUIRE_GPIOLIB
481         select HAVE_IDE
482         select ARM_AMBA
483         select USB_ARCH_HAS_OHCI
484         select CLKDEV_LOOKUP
485         select GENERIC_TIME
486         select GENERIC_CLOCKEVENTS
487         help
488           Support for the NXP LPC32XX family of processors
489
490 config ARCH_MV78XX0
491         bool "Marvell MV78xx0"
492         select CPU_FEROCEON
493         select PCI
494         select ARCH_REQUIRE_GPIOLIB
495         select GENERIC_CLOCKEVENTS
496         select PLAT_ORION
497         help
498           Support for the following Marvell MV78xx0 series SoCs:
499           MV781x0, MV782x0.
500
501 config ARCH_ORION5X
502         bool "Marvell Orion"
503         depends on MMU
504         select CPU_FEROCEON
505         select PCI
506         select ARCH_REQUIRE_GPIOLIB
507         select GENERIC_CLOCKEVENTS
508         select PLAT_ORION
509         help
510           Support for the following Marvell Orion 5x series SoCs:
511           Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
512           Orion-2 (5281), Orion-1-90 (6183).
513
514 config ARCH_MMP
515         bool "Marvell PXA168/910/MMP2"
516         depends on MMU
517         select ARCH_REQUIRE_GPIOLIB
518         select CLKDEV_LOOKUP
519         select GENERIC_CLOCKEVENTS
520         select HAVE_SCHED_CLOCK
521         select TICK_ONESHOT
522         select PLAT_PXA
523         select SPARSE_IRQ
524         help
525           Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
526
527 config ARCH_KS8695
528         bool "Micrel/Kendin KS8695"
529         select CPU_ARM922T
530         select ARCH_REQUIRE_GPIOLIB
531         select ARCH_USES_GETTIMEOFFSET
532         help
533           Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
534           System-on-Chip devices.
535
536 config ARCH_NS9XXX
537         bool "NetSilicon NS9xxx"
538         select CPU_ARM926T
539         select GENERIC_GPIO
540         select GENERIC_CLOCKEVENTS
541         select HAVE_CLK
542         help
543           Say Y here if you intend to run this kernel on a NetSilicon NS9xxx
544           System.
545
546           <http://www.digi.com/products/microprocessors/index.jsp>
547
548 config ARCH_W90X900
549         bool "Nuvoton W90X900 CPU"
550         select CPU_ARM926T
551         select ARCH_REQUIRE_GPIOLIB
552         select CLKDEV_LOOKUP
553         select GENERIC_CLOCKEVENTS
554         help
555           Support for Nuvoton (Winbond logic dept.) ARM9 processor,
556           At present, the w90x900 has been renamed nuc900, regarding
557           the ARM series product line, you can login the following
558           link address to know more.
559
560           <http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/
561                 ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller>
562
563 config ARCH_NUC93X
564         bool "Nuvoton NUC93X CPU"
565         select CPU_ARM926T
566         select CLKDEV_LOOKUP
567         help
568           Support for Nuvoton (Winbond logic dept.) NUC93X MCU,The NUC93X is a
569           low-power and high performance MPEG-4/JPEG multimedia controller chip.
570
571 config ARCH_TEGRA
572         bool "NVIDIA Tegra"
573         select CLKDEV_LOOKUP
574         select GENERIC_TIME
575         select GENERIC_CLOCKEVENTS
576         select GENERIC_GPIO
577         select HAVE_CLK
578         select HAVE_SCHED_CLOCK
579         select ARCH_HAS_BARRIERS if CACHE_L2X0
580         select ARCH_HAS_CPUFREQ
581         help
582           This enables support for NVIDIA Tegra based systems (Tegra APX,
583           Tegra 6xx and Tegra 2 series).
584
585 config ARCH_PNX4008
586         bool "Philips Nexperia PNX4008 Mobile"
587         select CPU_ARM926T
588         select CLKDEV_LOOKUP
589         select ARCH_USES_GETTIMEOFFSET
590         help
591           This enables support for Philips PNX4008 mobile platform.
592
593 config ARCH_PXA
594         bool "PXA2xx/PXA3xx-based"
595         depends on MMU
596         select ARCH_MTD_XIP
597         select ARCH_HAS_CPUFREQ
598         select CLKDEV_LOOKUP
599         select ARCH_REQUIRE_GPIOLIB
600         select GENERIC_CLOCKEVENTS
601         select HAVE_SCHED_CLOCK
602         select TICK_ONESHOT
603         select PLAT_PXA
604         select SPARSE_IRQ
605         help
606           Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
607
608 config ARCH_MSM
609         bool "Qualcomm MSM"
610         select HAVE_CLK
611         select GENERIC_CLOCKEVENTS
612         select ARCH_REQUIRE_GPIOLIB
613         help
614           Support for Qualcomm MSM/QSD based systems.  This runs on the
615           apps processor of the MSM/QSD and depends on a shared memory
616           interface to the modem processor which runs the baseband
617           stack and controls some vital subsystems
618           (clock and power control, etc).
619
620 config ARCH_SHMOBILE
621         bool "Renesas SH-Mobile / R-Mobile"
622         select HAVE_CLK
623         select CLKDEV_LOOKUP
624         select GENERIC_CLOCKEVENTS
625         select NO_IOPORT
626         select SPARSE_IRQ
627         select MULTI_IRQ_HANDLER
628         help
629           Support for Renesas's SH-Mobile and R-Mobile ARM platforms.
630
631 config ARCH_RPC
632         bool "RiscPC"
633         select ARCH_ACORN
634         select FIQ
635         select TIMER_ACORN
636         select ARCH_MAY_HAVE_PC_FDC
637         select HAVE_PATA_PLATFORM
638         select ISA_DMA_API
639         select NO_IOPORT
640         select ARCH_SPARSEMEM_ENABLE
641         select ARCH_USES_GETTIMEOFFSET
642         help
643           On the Acorn Risc-PC, Linux can support the internal IDE disk and
644           CD-ROM interface, serial and parallel port, and the floppy drive.
645
646 config ARCH_SA1100
647         bool "SA1100-based"
648         select CPU_SA1100
649         select ISA
650         select ARCH_SPARSEMEM_ENABLE
651         select ARCH_MTD_XIP
652         select ARCH_HAS_CPUFREQ
653         select CPU_FREQ
654         select GENERIC_CLOCKEVENTS
655         select HAVE_CLK
656         select HAVE_SCHED_CLOCK
657         select TICK_ONESHOT
658         select ARCH_REQUIRE_GPIOLIB
659         help
660           Support for StrongARM 11x0 based boards.
661
662 config ARCH_S3C2410
663         bool "Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, S3C2450"
664         select GENERIC_GPIO
665         select ARCH_HAS_CPUFREQ
666         select HAVE_CLK
667         select ARCH_USES_GETTIMEOFFSET
668         select HAVE_S3C2410_I2C if I2C
669         help
670           Samsung S3C2410X CPU based systems, such as the Simtec Electronics
671           BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
672           the Samsung SMDK2410 development board (and derivatives).
673
674           Note, the S3C2416 and the S3C2450 are so close that they even share
675           the same SoC ID code. This means that there is no seperate machine
676           directory (no arch/arm/mach-s3c2450) as the S3C2416 was first.
677
678 config ARCH_S3C64XX
679         bool "Samsung S3C64XX"
680         select PLAT_SAMSUNG
681         select CPU_V6
682         select ARM_VIC
683         select HAVE_CLK
684         select NO_IOPORT
685         select ARCH_USES_GETTIMEOFFSET
686         select ARCH_HAS_CPUFREQ
687         select ARCH_REQUIRE_GPIOLIB
688         select SAMSUNG_CLKSRC
689         select SAMSUNG_IRQ_VIC_TIMER
690         select SAMSUNG_IRQ_UART
691         select S3C_GPIO_TRACK
692         select S3C_GPIO_PULL_UPDOWN
693         select S3C_GPIO_CFG_S3C24XX
694         select S3C_GPIO_CFG_S3C64XX
695         select S3C_DEV_NAND
696         select USB_ARCH_HAS_OHCI
697         select SAMSUNG_GPIOLIB_4BIT
698         select HAVE_S3C2410_I2C if I2C
699         select HAVE_S3C2410_WATCHDOG if WATCHDOG
700         help
701           Samsung S3C64XX series based systems
702
703 config ARCH_S5P64X0
704         bool "Samsung S5P6440 S5P6450"
705         select CPU_V6
706         select GENERIC_GPIO
707         select HAVE_CLK
708         select HAVE_S3C2410_WATCHDOG if WATCHDOG
709         select ARCH_USES_GETTIMEOFFSET
710         select HAVE_S3C2410_I2C if I2C
711         select HAVE_S3C_RTC if RTC_CLASS
712         help
713           Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
714           SMDK6450.
715
716 config ARCH_S5P6442
717         bool "Samsung S5P6442"
718         select CPU_V6
719         select GENERIC_GPIO
720         select HAVE_CLK
721         select ARCH_USES_GETTIMEOFFSET
722         select HAVE_S3C2410_WATCHDOG if WATCHDOG
723         help
724           Samsung S5P6442 CPU based systems
725
726 config ARCH_S5PC100
727         bool "Samsung S5PC100"
728         select GENERIC_GPIO
729         select HAVE_CLK
730         select CPU_V7
731         select ARM_L1_CACHE_SHIFT_6
732         select ARCH_USES_GETTIMEOFFSET
733         select HAVE_S3C2410_I2C if I2C
734         select HAVE_S3C_RTC if RTC_CLASS
735         select HAVE_S3C2410_WATCHDOG if WATCHDOG
736         help
737           Samsung S5PC100 series based systems
738
739 config ARCH_S5PV210
740         bool "Samsung S5PV210/S5PC110"
741         select CPU_V7
742         select ARCH_SPARSEMEM_ENABLE
743         select GENERIC_GPIO
744         select HAVE_CLK
745         select ARM_L1_CACHE_SHIFT_6
746         select ARCH_HAS_CPUFREQ
747         select ARCH_USES_GETTIMEOFFSET
748         select HAVE_S3C2410_I2C if I2C
749         select HAVE_S3C_RTC if RTC_CLASS
750         select HAVE_S3C2410_WATCHDOG if WATCHDOG
751         help
752           Samsung S5PV210/S5PC110 series based systems
753
754 config ARCH_S5PV310
755         bool "Samsung S5PV310/S5PC210"
756         select CPU_V7
757         select ARCH_SPARSEMEM_ENABLE
758         select GENERIC_GPIO
759         select HAVE_CLK
760         select ARCH_HAS_CPUFREQ
761         select GENERIC_CLOCKEVENTS
762         select HAVE_S3C_RTC if RTC_CLASS
763         select HAVE_S3C2410_I2C if I2C
764         select HAVE_S3C2410_WATCHDOG if WATCHDOG
765         help
766           Samsung S5PV310 series based systems
767
768 config ARCH_SHARK
769         bool "Shark"
770         select CPU_SA110
771         select ISA
772         select ISA_DMA
773         select ZONE_DMA
774         select PCI
775         select ARCH_USES_GETTIMEOFFSET
776         help
777           Support for the StrongARM based Digital DNARD machine, also known
778           as "Shark" (<http://www.shark-linux.de/shark.html>).
779
780 config ARCH_TCC_926
781         bool "Telechips TCC ARM926-based systems"
782         select CPU_ARM926T
783         select HAVE_CLK
784         select CLKDEV_LOOKUP
785         select GENERIC_CLOCKEVENTS
786         help
787           Support for Telechips TCC ARM926-based systems.
788
789 config ARCH_U300
790         bool "ST-Ericsson U300 Series"
791         depends on MMU
792         select CPU_ARM926T
793         select HAVE_SCHED_CLOCK
794         select HAVE_TCM
795         select ARM_AMBA
796         select ARM_VIC
797         select GENERIC_CLOCKEVENTS
798         select CLKDEV_LOOKUP
799         select GENERIC_GPIO
800         help
801           Support for ST-Ericsson U300 series mobile platforms.
802
803 config ARCH_U8500
804         bool "ST-Ericsson U8500 Series"
805         select CPU_V7
806         select ARM_AMBA
807         select GENERIC_CLOCKEVENTS
808         select CLKDEV_LOOKUP
809         select ARCH_REQUIRE_GPIOLIB
810         select ARCH_HAS_CPUFREQ
811         help
812           Support for ST-Ericsson's Ux500 architecture
813
814 config ARCH_NOMADIK
815         bool "STMicroelectronics Nomadik"
816         select ARM_AMBA
817         select ARM_VIC
818         select CPU_ARM926T
819         select CLKDEV_LOOKUP
820         select GENERIC_CLOCKEVENTS
821         select ARCH_REQUIRE_GPIOLIB
822         help
823           Support for the Nomadik platform by ST-Ericsson
824
825 config ARCH_DAVINCI
826         bool "TI DaVinci"
827         select GENERIC_CLOCKEVENTS
828         select ARCH_REQUIRE_GPIOLIB
829         select ZONE_DMA
830         select HAVE_IDE
831         select CLKDEV_LOOKUP
832         select GENERIC_ALLOCATOR
833         select ARCH_HAS_HOLES_MEMORYMODEL
834         help
835           Support for TI's DaVinci platform.
836
837 config ARCH_OMAP
838         bool "TI OMAP"
839         select HAVE_CLK
840         select ARCH_REQUIRE_GPIOLIB
841         select ARCH_HAS_CPUFREQ
842         select GENERIC_CLOCKEVENTS
843         select HAVE_SCHED_CLOCK
844         select ARCH_HAS_HOLES_MEMORYMODEL
845         help
846           Support for TI's OMAP platform (OMAP1/2/3/4).
847
848 config PLAT_SPEAR
849         bool "ST SPEAr"
850         select ARM_AMBA
851         select ARCH_REQUIRE_GPIOLIB
852         select CLKDEV_LOOKUP
853         select GENERIC_CLOCKEVENTS
854         select HAVE_CLK
855         help
856           Support for ST's SPEAr platform (SPEAr3xx, SPEAr6xx and SPEAr13xx).
857
858 endchoice
859
860 #
861 # This is sorted alphabetically by mach-* pathname.  However, plat-*
862 # Kconfigs may be included either alphabetically (according to the
863 # plat- suffix) or along side the corresponding mach-* source.
864 #
865 source "arch/arm/mach-at91/Kconfig"
866
867 source "arch/arm/mach-bcmring/Kconfig"
868
869 source "arch/arm/mach-clps711x/Kconfig"
870
871 source "arch/arm/mach-cns3xxx/Kconfig"
872
873 source "arch/arm/mach-davinci/Kconfig"
874
875 source "arch/arm/mach-dove/Kconfig"
876
877 source "arch/arm/mach-ep93xx/Kconfig"
878
879 source "arch/arm/mach-footbridge/Kconfig"
880
881 source "arch/arm/mach-gemini/Kconfig"
882
883 source "arch/arm/mach-h720x/Kconfig"
884
885 source "arch/arm/mach-integrator/Kconfig"
886
887 source "arch/arm/mach-iop32x/Kconfig"
888
889 source "arch/arm/mach-iop33x/Kconfig"
890
891 source "arch/arm/mach-iop13xx/Kconfig"
892
893 source "arch/arm/mach-ixp4xx/Kconfig"
894
895 source "arch/arm/mach-ixp2000/Kconfig"
896
897 source "arch/arm/mach-ixp23xx/Kconfig"
898
899 source "arch/arm/mach-kirkwood/Kconfig"
900
901 source "arch/arm/mach-ks8695/Kconfig"
902
903 source "arch/arm/mach-loki/Kconfig"
904
905 source "arch/arm/mach-lpc32xx/Kconfig"
906
907 source "arch/arm/mach-msm/Kconfig"
908
909 source "arch/arm/mach-mv78xx0/Kconfig"
910
911 source "arch/arm/plat-mxc/Kconfig"
912
913 source "arch/arm/mach-mxs/Kconfig"
914
915 source "arch/arm/mach-netx/Kconfig"
916
917 source "arch/arm/mach-nomadik/Kconfig"
918 source "arch/arm/plat-nomadik/Kconfig"
919
920 source "arch/arm/mach-ns9xxx/Kconfig"
921
922 source "arch/arm/mach-nuc93x/Kconfig"
923
924 source "arch/arm/plat-omap/Kconfig"
925
926 source "arch/arm/mach-omap1/Kconfig"
927
928 source "arch/arm/mach-omap2/Kconfig"
929
930 source "arch/arm/mach-orion5x/Kconfig"
931
932 source "arch/arm/mach-pxa/Kconfig"
933 source "arch/arm/plat-pxa/Kconfig"
934
935 source "arch/arm/mach-mmp/Kconfig"
936
937 source "arch/arm/mach-realview/Kconfig"
938
939 source "arch/arm/mach-sa1100/Kconfig"
940
941 source "arch/arm/plat-samsung/Kconfig"
942 source "arch/arm/plat-s3c24xx/Kconfig"
943 source "arch/arm/plat-s5p/Kconfig"
944
945 source "arch/arm/plat-spear/Kconfig"
946
947 source "arch/arm/plat-tcc/Kconfig"
948
949 if ARCH_S3C2410
950 source "arch/arm/mach-s3c2400/Kconfig"
951 source "arch/arm/mach-s3c2410/Kconfig"
952 source "arch/arm/mach-s3c2412/Kconfig"
953 source "arch/arm/mach-s3c2416/Kconfig"
954 source "arch/arm/mach-s3c2440/Kconfig"
955 source "arch/arm/mach-s3c2443/Kconfig"
956 endif
957
958 if ARCH_S3C64XX
959 source "arch/arm/mach-s3c64xx/Kconfig"
960 endif
961
962 source "arch/arm/mach-s5p64x0/Kconfig"
963
964 source "arch/arm/mach-s5p6442/Kconfig"
965
966 source "arch/arm/mach-s5pc100/Kconfig"
967
968 source "arch/arm/mach-s5pv210/Kconfig"
969
970 source "arch/arm/mach-s5pv310/Kconfig"
971
972 source "arch/arm/mach-shmobile/Kconfig"
973
974 source "arch/arm/plat-stmp3xxx/Kconfig"
975
976 source "arch/arm/mach-tegra/Kconfig"
977
978 source "arch/arm/mach-u300/Kconfig"
979
980 source "arch/arm/mach-ux500/Kconfig"
981
982 source "arch/arm/mach-versatile/Kconfig"
983
984 source "arch/arm/mach-vexpress/Kconfig"
985
986 source "arch/arm/mach-w90x900/Kconfig"
987
988 # Definitions to make life easier
989 config ARCH_ACORN
990         bool
991
992 config PLAT_IOP
993         bool
994         select GENERIC_CLOCKEVENTS
995         select HAVE_SCHED_CLOCK
996
997 config PLAT_ORION
998         bool
999         select HAVE_SCHED_CLOCK
1000
1001 config PLAT_PXA
1002         bool
1003
1004 config PLAT_VERSATILE
1005         bool
1006
1007 config ARM_TIMER_SP804
1008         bool
1009
1010 source arch/arm/mm/Kconfig
1011
1012 config IWMMXT
1013         bool "Enable iWMMXt support"
1014         depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4
1015         default y if PXA27x || PXA3xx || PXA95x || ARCH_MMP
1016         help
1017           Enable support for iWMMXt context switching at run time if
1018           running on a CPU that supports it.
1019
1020 #  bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
1021 config XSCALE_PMU
1022         bool
1023         depends on CPU_XSCALE && !XSCALE_PMU_TIMER
1024         default y
1025
1026 config CPU_HAS_PMU
1027         depends on (CPU_V6 || CPU_V7 || XSCALE_PMU) && \
1028                    (!ARCH_OMAP3 || OMAP3_EMU)
1029         default y
1030         bool
1031
1032 config MULTI_IRQ_HANDLER
1033         bool
1034         help
1035           Allow each machine to specify it's own IRQ handler at run time.
1036
1037 if !MMU
1038 source "arch/arm/Kconfig-nommu"
1039 endif
1040
1041 config ARM_ERRATA_411920
1042         bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
1043         depends on CPU_V6
1044         help
1045           Invalidation of the Instruction Cache operation can
1046           fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
1047           It does not affect the MPCore. This option enables the ARM Ltd.
1048           recommended workaround.
1049
1050 config ARM_ERRATA_430973
1051         bool "ARM errata: Stale prediction on replaced interworking branch"
1052         depends on CPU_V7
1053         help
1054           This option enables the workaround for the 430973 Cortex-A8
1055           (r1p0..r1p2) erratum. If a code sequence containing an ARM/Thumb
1056           interworking branch is replaced with another code sequence at the
1057           same virtual address, whether due to self-modifying code or virtual
1058           to physical address re-mapping, Cortex-A8 does not recover from the
1059           stale interworking branch prediction. This results in Cortex-A8
1060           executing the new code sequence in the incorrect ARM or Thumb state.
1061           The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
1062           and also flushes the branch target cache at every context switch.
1063           Note that setting specific bits in the ACTLR register may not be
1064           available in non-secure mode.
1065
1066 config ARM_ERRATA_458693
1067         bool "ARM errata: Processor deadlock when a false hazard is created"
1068         depends on CPU_V7
1069         help
1070           This option enables the workaround for the 458693 Cortex-A8 (r2p0)
1071           erratum. For very specific sequences of memory operations, it is
1072           possible for a hazard condition intended for a cache line to instead
1073           be incorrectly associated with a different cache line. This false
1074           hazard might then cause a processor deadlock. The workaround enables
1075           the L1 caching of the NEON accesses and disables the PLD instruction
1076           in the ACTLR register. Note that setting specific bits in the ACTLR
1077           register may not be available in non-secure mode.
1078
1079 config ARM_ERRATA_460075
1080         bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
1081         depends on CPU_V7
1082         help
1083           This option enables the workaround for the 460075 Cortex-A8 (r2p0)
1084           erratum. Any asynchronous access to the L2 cache may encounter a
1085           situation in which recent store transactions to the L2 cache are lost
1086           and overwritten with stale memory contents from external memory. The
1087           workaround disables the write-allocate mode for the L2 cache via the
1088           ACTLR register. Note that setting specific bits in the ACTLR register
1089           may not be available in non-secure mode.
1090
1091 config ARM_ERRATA_742230
1092         bool "ARM errata: DMB operation may be faulty"
1093         depends on CPU_V7 && SMP
1094         help
1095           This option enables the workaround for the 742230 Cortex-A9
1096           (r1p0..r2p2) erratum. Under rare circumstances, a DMB instruction
1097           between two write operations may not ensure the correct visibility
1098           ordering of the two writes. This workaround sets a specific bit in
1099           the diagnostic register of the Cortex-A9 which causes the DMB
1100           instruction to behave as a DSB, ensuring the correct behaviour of
1101           the two writes.
1102
1103 config ARM_ERRATA_742231
1104         bool "ARM errata: Incorrect hazard handling in the SCU may lead to data corruption"
1105         depends on CPU_V7 && SMP
1106         help
1107           This option enables the workaround for the 742231 Cortex-A9
1108           (r2p0..r2p2) erratum. Under certain conditions, specific to the
1109           Cortex-A9 MPCore micro-architecture, two CPUs working in SMP mode,
1110           accessing some data located in the same cache line, may get corrupted
1111           data due to bad handling of the address hazard when the line gets
1112           replaced from one of the CPUs at the same time as another CPU is
1113           accessing it. This workaround sets specific bits in the diagnostic
1114           register of the Cortex-A9 which reduces the linefill issuing
1115           capabilities of the processor.
1116
1117 config PL310_ERRATA_588369
1118         bool "Clean & Invalidate maintenance operations do not invalidate clean lines"
1119         depends on CACHE_L2X0 && ARCH_OMAP4
1120         help
1121            The PL310 L2 cache controller implements three types of Clean &
1122            Invalidate maintenance operations: by Physical Address
1123            (offset 0x7F0), by Index/Way (0x7F8) and by Way (0x7FC).
1124            They are architecturally defined to behave as the execution of a
1125            clean operation followed immediately by an invalidate operation,
1126            both performing to the same memory location. This functionality
1127            is not correctly implemented in PL310 as clean lines are not
1128            invalidated as a result of these operations. Note that this errata
1129            uses Texas Instrument's secure monitor api.
1130
1131 config ARM_ERRATA_720789
1132         bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID"
1133         depends on CPU_V7 && SMP
1134         help
1135           This option enables the workaround for the 720789 Cortex-A9 (prior to
1136           r2p0) erratum. A faulty ASID can be sent to the other CPUs for the
1137           broadcasted CP15 TLB maintenance operations TLBIASIDIS and TLBIMVAIS.
1138           As a consequence of this erratum, some TLB entries which should be
1139           invalidated are not, resulting in an incoherency in the system page
1140           tables. The workaround changes the TLB flushing routines to invalidate
1141           entries regardless of the ASID.
1142
1143 config ARM_ERRATA_743622
1144         bool "ARM errata: Faulty hazard checking in the Store Buffer may lead to data corruption"
1145         depends on CPU_V7
1146         help
1147           This option enables the workaround for the 743622 Cortex-A9
1148           (r2p0..r2p2) erratum. Under very rare conditions, a faulty
1149           optimisation in the Cortex-A9 Store Buffer may lead to data
1150           corruption. This workaround sets a specific bit in the diagnostic
1151           register of the Cortex-A9 which disables the Store Buffer
1152           optimisation, preventing the defect from occurring. This has no
1153           visible impact on the overall performance or power consumption of the
1154           processor.
1155
1156 endmenu
1157
1158 source "arch/arm/common/Kconfig"
1159
1160 menu "Bus support"
1161
1162 config ARM_AMBA
1163         bool
1164
1165 config ISA
1166         bool
1167         help
1168           Find out whether you have ISA slots on your motherboard.  ISA is the
1169           name of a bus system, i.e. the way the CPU talks to the other stuff
1170           inside your box.  Other bus systems are PCI, EISA, MicroChannel
1171           (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
1172           newer boards don't support it.  If you have ISA, say Y, otherwise N.
1173
1174 # Select ISA DMA controller support
1175 config ISA_DMA
1176         bool
1177         select ISA_DMA_API
1178
1179 # Select ISA DMA interface
1180 config ISA_DMA_API
1181         bool
1182
1183 config PCI
1184         bool "PCI support" if MIGHT_HAVE_PCI
1185         help
1186           Find out whether you have a PCI motherboard. PCI is the name of a
1187           bus system, i.e. the way the CPU talks to the other stuff inside
1188           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
1189           VESA. If you have PCI, say Y, otherwise N.
1190
1191 config PCI_DOMAINS
1192         bool
1193         depends on PCI
1194
1195 config PCI_NANOENGINE
1196         bool "BSE nanoEngine PCI support"
1197         depends on SA1100_NANOENGINE
1198         help
1199           Enable PCI on the BSE nanoEngine board.
1200
1201 config PCI_SYSCALL
1202         def_bool PCI
1203
1204 # Select the host bridge type
1205 config PCI_HOST_VIA82C505
1206         bool
1207         depends on PCI && ARCH_SHARK
1208         default y
1209
1210 config PCI_HOST_ITE8152
1211         bool
1212         depends on PCI && MACH_ARMCORE
1213         default y
1214         select DMABOUNCE
1215
1216 source "drivers/pci/Kconfig"
1217
1218 source "drivers/pcmcia/Kconfig"
1219
1220 endmenu
1221
1222 menu "Kernel Features"
1223
1224 source "kernel/time/Kconfig"
1225
1226 config SMP
1227         bool "Symmetric Multi-Processing (EXPERIMENTAL)"
1228         depends on EXPERIMENTAL
1229         depends on GENERIC_CLOCKEVENTS
1230         depends on REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP || \
1231                  MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || \
1232                  ARCH_S5PV310 || ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || \
1233                  ARCH_MSM_SCORPIONMP || ARCH_SHMOBILE
1234         select USE_GENERIC_SMP_HELPERS
1235         select HAVE_ARM_SCU if !ARCH_MSM_SCORPIONMP
1236         help
1237           This enables support for systems with more than one CPU. If you have
1238           a system with only one CPU, like most personal computers, say N. If
1239           you have a system with more than one CPU, say Y.
1240
1241           If you say N here, the kernel will run on single and multiprocessor
1242           machines, but will use only one CPU of a multiprocessor machine. If
1243           you say Y here, the kernel will run on many, but not all, single
1244           processor machines. On a single processor machine, the kernel will
1245           run faster if you say N here.
1246
1247           See also <file:Documentation/i386/IO-APIC.txt>,
1248           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
1249           <http://tldp.org/HOWTO/SMP-HOWTO.html>.
1250
1251           If you don't know what to do here, say N.
1252
1253 config SMP_ON_UP
1254         bool "Allow booting SMP kernel on uniprocessor systems (EXPERIMENTAL)"
1255         depends on EXPERIMENTAL
1256         depends on SMP && !XIP_KERNEL
1257         default y
1258         help
1259           SMP kernels contain instructions which fail on non-SMP processors.
1260           Enabling this option allows the kernel to modify itself to make
1261           these instructions safe.  Disabling it allows about 1K of space
1262           savings.
1263
1264           If you don't know what to do here, say Y.
1265
1266 config HAVE_ARM_SCU
1267         bool
1268         depends on SMP
1269         help
1270           This option enables support for the ARM system coherency unit
1271
1272 config HAVE_ARM_TWD
1273         bool
1274         depends on SMP
1275         select TICK_ONESHOT
1276         help
1277           This options enables support for the ARM timer and watchdog unit
1278
1279 choice
1280         prompt "Memory split"
1281         default VMSPLIT_3G
1282         help
1283           Select the desired split between kernel and user memory.
1284
1285           If you are not absolutely sure what you are doing, leave this
1286           option alone!
1287
1288         config VMSPLIT_3G
1289                 bool "3G/1G user/kernel split"
1290         config VMSPLIT_2G
1291                 bool "2G/2G user/kernel split"
1292         config VMSPLIT_1G
1293                 bool "1G/3G user/kernel split"
1294 endchoice
1295
1296 config PAGE_OFFSET
1297         hex
1298         default 0x40000000 if VMSPLIT_1G
1299         default 0x80000000 if VMSPLIT_2G
1300         default 0xC0000000
1301
1302 config NR_CPUS
1303         int "Maximum number of CPUs (2-32)"
1304         range 2 32
1305         depends on SMP
1306         default "4"
1307
1308 config HOTPLUG_CPU
1309         bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
1310         depends on SMP && HOTPLUG && EXPERIMENTAL
1311         depends on !ARCH_MSM
1312         help
1313           Say Y here to experiment with turning CPUs off and on.  CPUs
1314           can be controlled through /sys/devices/system/cpu.
1315
1316 config LOCAL_TIMERS
1317         bool "Use local timer interrupts"
1318         depends on SMP
1319         default y
1320         select HAVE_ARM_TWD if !ARCH_MSM_SCORPIONMP
1321         help
1322           Enable support for local timers on SMP platforms, rather then the
1323           legacy IPI broadcast method.  Local timers allows the system
1324           accounting to be spread across the timer interval, preventing a
1325           "thundering herd" at every timer tick.
1326
1327 source kernel/Kconfig.preempt
1328
1329 config HZ
1330         int
1331         default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P64X0 || \
1332                 ARCH_S5P6442 || ARCH_S5PV210 || ARCH_S5PV310
1333         default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
1334         default AT91_TIMER_HZ if ARCH_AT91
1335         default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
1336         default 100
1337
1338 config THUMB2_KERNEL
1339         bool "Compile the kernel in Thumb-2 mode (EXPERIMENTAL)"
1340         depends on CPU_V7 && !CPU_V6 && EXPERIMENTAL
1341         select AEABI
1342         select ARM_ASM_UNIFIED
1343         help
1344           By enabling this option, the kernel will be compiled in
1345           Thumb-2 mode. A compiler/assembler that understand the unified
1346           ARM-Thumb syntax is needed.
1347
1348           If unsure, say N.
1349
1350 config ARM_ASM_UNIFIED
1351         bool
1352
1353 config AEABI
1354         bool "Use the ARM EABI to compile the kernel"
1355         help
1356           This option allows for the kernel to be compiled using the latest
1357           ARM ABI (aka EABI).  This is only useful if you are using a user
1358           space environment that is also compiled with EABI.
1359
1360           Since there are major incompatibilities between the legacy ABI and
1361           EABI, especially with regard to structure member alignment, this
1362           option also changes the kernel syscall calling convention to
1363           disambiguate both ABIs and allow for backward compatibility support
1364           (selected with CONFIG_OABI_COMPAT).
1365
1366           To use this you need GCC version 4.0.0 or later.
1367
1368 config OABI_COMPAT
1369         bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
1370         depends on AEABI && EXPERIMENTAL
1371         default y
1372         help
1373           This option preserves the old syscall interface along with the
1374           new (ARM EABI) one. It also provides a compatibility layer to
1375           intercept syscalls that have structure arguments which layout
1376           in memory differs between the legacy ABI and the new ARM EABI
1377           (only for non "thumb" binaries). This option adds a tiny
1378           overhead to all syscalls and produces a slightly larger kernel.
1379           If you know you'll be using only pure EABI user space then you
1380           can say N here. If this option is not selected and you attempt
1381           to execute a legacy ABI binary then the result will be
1382           UNPREDICTABLE (in fact it can be predicted that it won't work
1383           at all). If in doubt say Y.
1384
1385 config ARCH_HAS_HOLES_MEMORYMODEL
1386         bool
1387
1388 config ARCH_SPARSEMEM_ENABLE
1389         bool
1390
1391 config ARCH_SPARSEMEM_DEFAULT
1392         def_bool ARCH_SPARSEMEM_ENABLE
1393
1394 config ARCH_SELECT_MEMORY_MODEL
1395         def_bool ARCH_SPARSEMEM_ENABLE
1396
1397 config HIGHMEM
1398         bool "High Memory Support (EXPERIMENTAL)"
1399         depends on MMU && EXPERIMENTAL
1400         help
1401           The address space of ARM processors is only 4 Gigabytes large
1402           and it has to accommodate user address space, kernel address
1403           space as well as some memory mapped IO. That means that, if you
1404           have a large amount of physical memory and/or IO, not all of the
1405           memory can be "permanently mapped" by the kernel. The physical
1406           memory that is not permanently mapped is called "high memory".
1407
1408           Depending on the selected kernel/user memory split, minimum
1409           vmalloc space and actual amount of RAM, you may not need this
1410           option which should result in a slightly faster kernel.
1411
1412           If unsure, say n.
1413
1414 config HIGHPTE
1415         bool "Allocate 2nd-level pagetables from highmem"
1416         depends on HIGHMEM
1417         depends on !OUTER_CACHE
1418
1419 config HW_PERF_EVENTS
1420         bool "Enable hardware performance counter support for perf events"
1421         depends on PERF_EVENTS && CPU_HAS_PMU
1422         default y
1423         help
1424           Enable hardware performance counter support for perf events. If
1425           disabled, perf events will use software events only.
1426
1427 source "mm/Kconfig"
1428
1429 config FORCE_MAX_ZONEORDER
1430         int "Maximum zone order" if ARCH_SHMOBILE
1431         range 11 64 if ARCH_SHMOBILE
1432         default "9" if SA1111
1433         default "11"
1434         help
1435           The kernel memory allocator divides physically contiguous memory
1436           blocks into "zones", where each zone is a power of two number of
1437           pages.  This option selects the largest power of two that the kernel
1438           keeps in the memory allocator.  If you need to allocate very large
1439           blocks of physically contiguous memory, then you may need to
1440           increase this value.
1441
1442           This config option is actually maximum order plus one. For example,
1443           a value of 11 means that the largest free memory block is 2^10 pages.
1444
1445 config LEDS
1446         bool "Timer and CPU usage LEDs"
1447         depends on ARCH_CDB89712 || ARCH_EBSA110 || \
1448                    ARCH_EBSA285 || ARCH_INTEGRATOR || \
1449                    ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
1450                    ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
1451                    ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
1452                    ARCH_AT91 || ARCH_DAVINCI || \
1453                    ARCH_KS8695 || MACH_RD88F5182 || ARCH_REALVIEW
1454         help
1455           If you say Y here, the LEDs on your machine will be used
1456           to provide useful information about your current system status.
1457
1458           If you are compiling a kernel for a NetWinder or EBSA-285, you will
1459           be able to select which LEDs are active using the options below. If
1460           you are compiling a kernel for the EBSA-110 or the LART however, the
1461           red LED will simply flash regularly to indicate that the system is
1462           still functional. It is safe to say Y here if you have a CATS
1463           system, but the driver will do nothing.
1464
1465 config LEDS_TIMER
1466         bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
1467                             OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1468                             || MACH_OMAP_PERSEUS2
1469         depends on LEDS
1470         depends on !GENERIC_CLOCKEVENTS
1471         default y if ARCH_EBSA110
1472         help
1473           If you say Y here, one of the system LEDs (the green one on the
1474           NetWinder, the amber one on the EBSA285, or the red one on the LART)
1475           will flash regularly to indicate that the system is still
1476           operational. This is mainly useful to kernel hackers who are
1477           debugging unstable kernels.
1478
1479           The LART uses the same LED for both Timer LED and CPU usage LED
1480           functions. You may choose to use both, but the Timer LED function
1481           will overrule the CPU usage LED.
1482
1483 config LEDS_CPU
1484         bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
1485                         !ARCH_OMAP) \
1486                         || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1487                         || MACH_OMAP_PERSEUS2
1488         depends on LEDS
1489         help
1490           If you say Y here, the red LED will be used to give a good real
1491           time indication of CPU usage, by lighting whenever the idle task
1492           is not currently executing.
1493
1494           The LART uses the same LED for both Timer LED and CPU usage LED
1495           functions. You may choose to use both, but the Timer LED function
1496           will overrule the CPU usage LED.
1497
1498 config ALIGNMENT_TRAP
1499         bool
1500         depends on CPU_CP15_MMU
1501         default y if !ARCH_EBSA110
1502         select HAVE_PROC_CPU if PROC_FS
1503         help
1504           ARM processors cannot fetch/store information which is not
1505           naturally aligned on the bus, i.e., a 4 byte fetch must start at an
1506           address divisible by 4. On 32-bit ARM processors, these non-aligned
1507           fetch/store instructions will be emulated in software if you say
1508           here, which has a severe performance impact. This is necessary for
1509           correct operation of some network protocols. With an IP-only
1510           configuration it is safe to say N, otherwise say Y.
1511
1512 config UACCESS_WITH_MEMCPY
1513         bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)"
1514         depends on MMU && EXPERIMENTAL
1515         default y if CPU_FEROCEON
1516         help
1517           Implement faster copy_to_user and clear_user methods for CPU
1518           cores where a 8-word STM instruction give significantly higher
1519           memory write throughput than a sequence of individual 32bit stores.
1520
1521           A possible side effect is a slight increase in scheduling latency
1522           between threads sharing the same address space if they invoke
1523           such copy operations with large buffers.
1524
1525           However, if the CPU data cache is using a write-allocate mode,
1526           this option is unlikely to provide any performance gain.
1527
1528 config SECCOMP
1529         bool
1530         prompt "Enable seccomp to safely compute untrusted bytecode"
1531         ---help---
1532           This kernel feature is useful for number crunching applications
1533           that may need to compute untrusted bytecode during their
1534           execution. By using pipes or other transports made available to
1535           the process as file descriptors supporting the read/write
1536           syscalls, it's possible to isolate those applications in
1537           their own address space using seccomp. Once seccomp is
1538           enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
1539           and the task is only allowed to execute a few safe syscalls
1540           defined by each seccomp mode.
1541
1542 config CC_STACKPROTECTOR
1543         bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
1544         depends on EXPERIMENTAL
1545         help
1546           This option turns on the -fstack-protector GCC feature. This
1547           feature puts, at the beginning of functions, a canary value on
1548           the stack just before the return address, and validates
1549           the value just before actually returning.  Stack based buffer
1550           overflows (that need to overwrite this return address) now also
1551           overwrite the canary, which gets detected and the attack is then
1552           neutralized via a kernel panic.
1553           This feature requires gcc version 4.2 or above.
1554
1555 config DEPRECATED_PARAM_STRUCT
1556         bool "Provide old way to pass kernel parameters"
1557         help
1558           This was deprecated in 2001 and announced to live on for 5 years.
1559           Some old boot loaders still use this way.
1560
1561 endmenu
1562
1563 menu "Boot options"
1564
1565 # Compressed boot loader in ROM.  Yes, we really want to ask about
1566 # TEXT and BSS so we preserve their values in the config files.
1567 config ZBOOT_ROM_TEXT
1568         hex "Compressed ROM boot loader base address"
1569         default "0"
1570         help
1571           The physical address at which the ROM-able zImage is to be
1572           placed in the target.  Platforms which normally make use of
1573           ROM-able zImage formats normally set this to a suitable
1574           value in their defconfig file.
1575
1576           If ZBOOT_ROM is not enabled, this has no effect.
1577
1578 config ZBOOT_ROM_BSS
1579         hex "Compressed ROM boot loader BSS address"
1580         default "0"
1581         help
1582           The base address of an area of read/write memory in the target
1583           for the ROM-able zImage which must be available while the
1584           decompressor is running. It must be large enough to hold the
1585           entire decompressed kernel plus an additional 128 KiB.
1586           Platforms which normally make use of ROM-able zImage formats
1587           normally set this to a suitable value in their defconfig file.
1588
1589           If ZBOOT_ROM is not enabled, this has no effect.
1590
1591 config ZBOOT_ROM
1592         bool "Compressed boot loader in ROM/flash"
1593         depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
1594         help
1595           Say Y here if you intend to execute your compressed kernel image
1596           (zImage) directly from ROM or flash.  If unsure, say N.
1597
1598 config CMDLINE
1599         string "Default kernel command string"
1600         default ""
1601         help
1602           On some architectures (EBSA110 and CATS), there is currently no way
1603           for the boot loader to pass arguments to the kernel. For these
1604           architectures, you should supply some command-line options at build
1605           time by entering them here. As a minimum, you should specify the
1606           memory size and the root device (e.g., mem=64M root=/dev/nfs).
1607
1608 config CMDLINE_FORCE
1609         bool "Always use the default kernel command string"
1610         depends on CMDLINE != ""
1611         help
1612           Always use the default kernel command string, even if the boot
1613           loader passes other arguments to the kernel.
1614           This is useful if you cannot or don't want to change the
1615           command-line options your boot loader passes to the kernel.
1616
1617           If unsure, say N.
1618
1619 config XIP_KERNEL
1620         bool "Kernel Execute-In-Place from ROM"
1621         depends on !ZBOOT_ROM
1622         help
1623           Execute-In-Place allows the kernel to run from non-volatile storage
1624           directly addressable by the CPU, such as NOR flash. This saves RAM
1625           space since the text section of the kernel is not loaded from flash
1626           to RAM.  Read-write sections, such as the data section and stack,
1627           are still copied to RAM.  The XIP kernel is not compressed since
1628           it has to run directly from flash, so it will take more space to
1629           store it.  The flash address used to link the kernel object files,
1630           and for storing it, is configuration dependent. Therefore, if you
1631           say Y here, you must know the proper physical address where to
1632           store the kernel image depending on your own flash memory usage.
1633
1634           Also note that the make target becomes "make xipImage" rather than
1635           "make zImage" or "make Image".  The final kernel binary to put in
1636           ROM memory will be arch/arm/boot/xipImage.
1637
1638           If unsure, say N.
1639
1640 config XIP_PHYS_ADDR
1641         hex "XIP Kernel Physical Location"
1642         depends on XIP_KERNEL
1643         default "0x00080000"
1644         help
1645           This is the physical address in your flash memory the kernel will
1646           be linked for and stored to.  This address is dependent on your
1647           own flash usage.
1648
1649 config KEXEC
1650         bool "Kexec system call (EXPERIMENTAL)"
1651         depends on EXPERIMENTAL
1652         help
1653           kexec is a system call that implements the ability to shutdown your
1654           current kernel, and to start another kernel.  It is like a reboot
1655           but it is independent of the system firmware.   And like a reboot
1656           you can start any kernel with it, not just Linux.
1657
1658           It is an ongoing process to be certain the hardware in a machine
1659           is properly shutdown, so do not be surprised if this code does not
1660           initially work for you.  It may help to enable device hotplugging
1661           support.
1662
1663 config ATAGS_PROC
1664         bool "Export atags in procfs"
1665         depends on KEXEC
1666         default y
1667         help
1668           Should the atags used to boot the kernel be exported in an "atags"
1669           file in procfs. Useful with kexec.
1670
1671 config CRASH_DUMP
1672         bool "Build kdump crash kernel (EXPERIMENTAL)"
1673         depends on EXPERIMENTAL
1674         help
1675           Generate crash dump after being started by kexec. This should
1676           be normally only set in special crash dump kernels which are
1677           loaded in the main kernel with kexec-tools into a specially
1678           reserved region and then later executed after a crash by
1679           kdump/kexec. The crash dump kernel must be compiled to a
1680           memory address not used by the main kernel
1681
1682           For more details see Documentation/kdump/kdump.txt
1683
1684 config AUTO_ZRELADDR
1685         bool "Auto calculation of the decompressed kernel image address"
1686         depends on !ZBOOT_ROM && !ARCH_U300
1687         help
1688           ZRELADDR is the physical address where the decompressed kernel
1689           image will be placed. If AUTO_ZRELADDR is selected, the address
1690           will be determined at run-time by masking the current IP with
1691           0xf8000000. This assumes the zImage being placed in the first 128MB
1692           from start of memory.
1693
1694 endmenu
1695
1696 menu "CPU Power Management"
1697
1698 if ARCH_HAS_CPUFREQ
1699
1700 source "drivers/cpufreq/Kconfig"
1701
1702 config CPU_FREQ_IMX
1703         tristate "CPUfreq driver for i.MX CPUs"
1704         depends on ARCH_MXC && CPU_FREQ
1705         help
1706           This enables the CPUfreq driver for i.MX CPUs.
1707
1708 config CPU_FREQ_SA1100
1709         bool
1710
1711 config CPU_FREQ_SA1110
1712         bool
1713
1714 config CPU_FREQ_INTEGRATOR
1715         tristate "CPUfreq driver for ARM Integrator CPUs"
1716         depends on ARCH_INTEGRATOR && CPU_FREQ
1717         default y
1718         help
1719           This enables the CPUfreq driver for ARM Integrator CPUs.
1720
1721           For details, take a look at <file:Documentation/cpu-freq>.
1722
1723           If in doubt, say Y.
1724
1725 config CPU_FREQ_PXA
1726         bool
1727         depends on CPU_FREQ && ARCH_PXA && PXA25x
1728         default y
1729         select CPU_FREQ_DEFAULT_GOV_USERSPACE
1730
1731 config CPU_FREQ_S3C64XX
1732         bool "CPUfreq support for Samsung S3C64XX CPUs"
1733         depends on CPU_FREQ && CPU_S3C6410
1734
1735 config CPU_FREQ_S3C
1736         bool
1737         help
1738           Internal configuration node for common cpufreq on Samsung SoC
1739
1740 config CPU_FREQ_S3C24XX
1741         bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
1742         depends on ARCH_S3C2410 && CPU_FREQ && EXPERIMENTAL
1743         select CPU_FREQ_S3C
1744         help
1745           This enables the CPUfreq driver for the Samsung S3C24XX family
1746           of CPUs.
1747
1748           For details, take a look at <file:Documentation/cpu-freq>.
1749
1750           If in doubt, say N.
1751
1752 config CPU_FREQ_S3C24XX_PLL
1753         bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
1754         depends on CPU_FREQ_S3C24XX && EXPERIMENTAL
1755         help
1756           Compile in support for changing the PLL frequency from the
1757           S3C24XX series CPUfreq driver. The PLL takes time to settle
1758           after a frequency change, so by default it is not enabled.
1759
1760           This also means that the PLL tables for the selected CPU(s) will
1761           be built which may increase the size of the kernel image.
1762
1763 config CPU_FREQ_S3C24XX_DEBUG
1764         bool "Debug CPUfreq Samsung driver core"
1765         depends on CPU_FREQ_S3C24XX
1766         help
1767           Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
1768
1769 config CPU_FREQ_S3C24XX_IODEBUG
1770         bool "Debug CPUfreq Samsung driver IO timing"
1771         depends on CPU_FREQ_S3C24XX
1772         help
1773           Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
1774
1775 config CPU_FREQ_S3C24XX_DEBUGFS
1776         bool "Export debugfs for CPUFreq"
1777         depends on CPU_FREQ_S3C24XX && DEBUG_FS
1778         help
1779           Export status information via debugfs.
1780
1781 endif
1782
1783 source "drivers/cpuidle/Kconfig"
1784
1785 endmenu
1786
1787 menu "Floating point emulation"
1788
1789 comment "At least one emulation must be selected"
1790
1791 config FPE_NWFPE
1792         bool "NWFPE math emulation"
1793         depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
1794         ---help---
1795           Say Y to include the NWFPE floating point emulator in the kernel.
1796           This is necessary to run most binaries. Linux does not currently
1797           support floating point hardware so you need to say Y here even if
1798           your machine has an FPA or floating point co-processor podule.
1799
1800           You may say N here if you are going to load the Acorn FPEmulator
1801           early in the bootup.
1802
1803 config FPE_NWFPE_XP
1804         bool "Support extended precision"
1805         depends on FPE_NWFPE
1806         help
1807           Say Y to include 80-bit support in the kernel floating-point
1808           emulator.  Otherwise, only 32 and 64-bit support is compiled in.
1809           Note that gcc does not generate 80-bit operations by default,
1810           so in most cases this option only enlarges the size of the
1811           floating point emulator without any good reason.
1812
1813           You almost surely want to say N here.
1814
1815 config FPE_FASTFPE
1816         bool "FastFPE math emulation (EXPERIMENTAL)"
1817         depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1818         ---help---
1819           Say Y here to include the FAST floating point emulator in the kernel.
1820           This is an experimental much faster emulator which now also has full
1821           precision for the mantissa.  It does not support any exceptions.
1822           It is very simple, and approximately 3-6 times faster than NWFPE.
1823
1824           It should be sufficient for most programs.  It may be not suitable
1825           for scientific calculations, but you have to check this for yourself.
1826           If you do not feel you need a faster FP emulation you should better
1827           choose NWFPE.
1828
1829 config VFP
1830         bool "VFP-format floating point maths"
1831         depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1832         help
1833           Say Y to include VFP support code in the kernel. This is needed
1834           if your hardware includes a VFP unit.
1835
1836           Please see <file:Documentation/arm/VFP/release-notes.txt> for
1837           release notes and additional status information.
1838
1839           Say N if your target does not have VFP hardware.
1840
1841 config VFPv3
1842         bool
1843         depends on VFP
1844         default y if CPU_V7
1845
1846 config NEON
1847         bool "Advanced SIMD (NEON) Extension support"
1848         depends on VFPv3 && CPU_V7
1849         help
1850           Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1851           Extension.
1852
1853 endmenu
1854
1855 menu "Userspace binary formats"
1856
1857 source "fs/Kconfig.binfmt"
1858
1859 config ARTHUR
1860         tristate "RISC OS personality"
1861         depends on !AEABI
1862         help
1863           Say Y here to include the kernel code necessary if you want to run
1864           Acorn RISC OS/Arthur binaries under Linux. This code is still very
1865           experimental; if this sounds frightening, say N and sleep in peace.
1866           You can also say M here to compile this support as a module (which
1867           will be called arthur).
1868
1869 endmenu
1870
1871 menu "Power management options"
1872
1873 source "kernel/power/Kconfig"
1874
1875 config ARCH_SUSPEND_POSSIBLE
1876         def_bool y
1877
1878 endmenu
1879
1880 source "net/Kconfig"
1881
1882 source "drivers/Kconfig"
1883
1884 source "fs/Kconfig"
1885
1886 source "arch/arm/Kconfig.debug"
1887
1888 source "security/Kconfig"
1889
1890 source "crypto/Kconfig"
1891
1892 source "lib/Kconfig"