Kconfig 62.3 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1
2
3
config ARM
	bool
	default y
4
	select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
5
	select ARCH_HAS_DEVMEM_IS_ALLOWED
6
	select ARCH_HAS_ELF_RANDOMIZE
7
	select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
Russell King's avatar
Russell King committed
8
	select ARCH_HAVE_CUSTOM_GPIO_H
9
	select ARCH_HAS_GCOV_PROFILE_ALL
10
	select ARCH_MIGHT_HAVE_PC_PARPORT
11
	select ARCH_SUPPORTS_ATOMIC_RMW
12
	select ARCH_USE_BUILTIN_BSWAP
13
	select ARCH_USE_CMPXCHG_LOCKREF
14
	select ARCH_WANT_IPC_PARSE_VERSION
15
	select BUILDTIME_EXTABLE_SORT if MMU
Russell King's avatar
Russell King committed
16
	select CLONE_BACKWARDS
17
	select CPU_PM if (SUSPEND || CPU_IDLE)
18
	select DCACHE_WORD_ACCESS if HAVE_EFFICIENT_UNALIGNED_ACCESS
19
20
	select EDAC_SUPPORT
	select EDAC_ATOMIC_SCRUB
21
	select GENERIC_ALLOCATOR
22
	select GENERIC_ATOMIC64 if (CPU_V7M || CPU_V6 || !CPU_32v6K || !AEABI)
23
	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
24
	select GENERIC_EARLY_IOREMAP
Russell King's avatar
Russell King committed
25
	select GENERIC_IDLE_POLL_SETUP
26
27
	select GENERIC_IRQ_PROBE
	select GENERIC_IRQ_SHOW
28
	select GENERIC_IRQ_SHOW_LEVEL
29
	select GENERIC_PCI_IOMAP
30
	select GENERIC_SCHED_CLOCK
31
32
33
	select GENERIC_SMP_IDLE_THREAD
	select GENERIC_STRNCPY_FROM_USER
	select GENERIC_STRNLEN_USER
34
	select HANDLE_DOMAIN_IRQ
35
	select HARDIRQS_SW_RESEND
36
	select HAVE_ARCH_AUDITSYSCALL if (AEABI && !OABI_COMPAT)
37
	select HAVE_ARCH_BITREVERSE if (CPU_32v7M || CPU_32v7) && !CPU_32v6
38
39
	select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL && !CPU_ENDIAN_BE32 && MMU
	select HAVE_ARCH_KGDB if !CPU_ENDIAN_BE32 && MMU
40
	select HAVE_ARCH_MMAP_RND_BITS if MMU
41
	select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT)
42
	select HAVE_ARCH_TRACEHOOK
43
	select HAVE_ARM_SMCCC if CPU_V7
44
	select HAVE_BPF_JIT
45
	select HAVE_CC_STACKPROTECTOR
Russell King's avatar
Russell King committed
46
	select HAVE_CONTEXT_TRACKING
47
48
49
50
	select HAVE_C_RECORDMCOUNT
	select HAVE_DEBUG_KMEMLEAK
	select HAVE_DMA_API_DEBUG
	select HAVE_DMA_CONTIGUOUS if MMU
51
	select HAVE_DYNAMIC_FTRACE if (!XIP_KERNEL) && !CPU_ENDIAN_BE32 && MMU
52
	select HAVE_EFFICIENT_UNALIGNED_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && MMU
53
	select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL)
54
	select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL)
55
	select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
56
	select HAVE_GENERIC_DMA_COHERENT
57
58
	select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7))
	select HAVE_IDE if PCI || ISA || PCMCIA
59
	select HAVE_IRQ_TIME_ACCOUNTING
60
	select HAVE_KERNEL_GZIP
61
	select HAVE_KERNEL_LZ4
62
	select HAVE_KERNEL_LZMA
63
	select HAVE_KERNEL_LZO
64
	select HAVE_KERNEL_XZ
65
	select HAVE_KPROBES if !XIP_KERNEL && !CPU_ENDIAN_BE32 && !CPU_V7M
66
67
	select HAVE_KRETPROBES if (HAVE_KPROBES)
	select HAVE_MEMBLOCK
68
	select HAVE_MOD_ARCH_SPECIFIC
69
	select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
70
	select HAVE_OPTPROBES if !THUMB2_KERNEL
71
	select HAVE_PERF_EVENTS
72
73
	select HAVE_PERF_REGS
	select HAVE_PERF_USER_STACK_DUMP
74
	select HAVE_RCU_TABLE_FREE if (SMP && ARM_LPAE)
75
	select HAVE_REGS_AND_STACK_ACCESS_API
76
	select HAVE_SYSCALL_TRACEPOINTS
77
	select HAVE_UID16
78
	select HAVE_VIRT_CPU_ACCOUNTING_GEN
79
	select IRQ_FORCED_THREADING
Russell King's avatar
Russell King committed
80
	select MODULES_USE_ELF_REL
81
	select NO_BOOTMEM
82
83
	select OF_EARLY_FLATTREE if OF
	select OF_RESERVED_MEM if OF
Russell King's avatar
Russell King committed
84
85
	select OLD_SIGACTION
	select OLD_SIGSUSPEND3
86
87
88
	select PERF_USE_VMALLOC
	select RTC_LIB
	select SYS_SUPPORTS_APM_EMULATION
Russell King's avatar
Russell King committed
89
90
	# Above selects are sorted alphabetically; please add new ones
	# according to that.  Thanks.
Linus Torvalds's avatar
Linus Torvalds committed
91
92
	help
	  The ARM series is a line of low-power-consumption RISC chip designs
93
	  licensed by ARM Ltd and targeted at embedded applications and
Linus Torvalds's avatar
Linus Torvalds committed
94
	  handhelds such as the Compaq IPAQ.  ARM-based PCs are no longer
95
	  manufactured, but legacy ARM-based PC hardware remains popular in
Linus Torvalds's avatar
Linus Torvalds committed
96
97
98
	  Europe.  There is an ARM Linux project with a web page at
	  <http://www.arm.linux.org.uk/>.

99
config ARM_HAS_SG_CHAIN
100
	select ARCH_HAS_SG_CHAIN
101
102
	bool

103
104
105
106
107
config NEED_SG_DMA_LENGTH
	bool

config ARM_DMA_USE_IOMMU
	bool
108
109
	select ARM_HAS_SG_CHAIN
	select NEED_SG_DMA_LENGTH
110

111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
if ARM_DMA_USE_IOMMU

config ARM_DMA_IOMMU_ALIGNMENT
	int "Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers"
	range 4 9
	default 8
	help
	  DMA mapping framework by default aligns all buffers to the smallest
	  PAGE_SIZE order which is greater than or equal to the requested buffer
	  size. This works well for buffers up to a few hundreds kilobytes, but
	  for larger buffers it just a waste of address space. Drivers which has
	  relatively small addressing window (like 64Mib) might run out of
	  virtual space with just a few allocations.

	  With this parameter you can specify the maximum PAGE_SIZE order for
	  DMA IOMMU buffers. Larger buffers will be aligned only to this
	  specified order. The order is expressed as a power of two multiplied
	  by the PAGE_SIZE.

endif

132
133
134
config MIGHT_HAVE_PCI
	bool

135
136
137
config SYS_SUPPORTS_APM_EMULATION
	bool

138
139
140
141
config HAVE_TCM
	bool
	select GENERIC_ALLOCATOR

142
143
144
config HAVE_PROC_CPU
	bool

145
config NO_IOPORT_MAP
Al Viro's avatar
Al Viro committed
146
147
	bool

Linus Torvalds's avatar
Linus Torvalds committed
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
config EISA
	bool
	---help---
	  The Extended Industry Standard Architecture (EISA) bus was
	  developed as an open alternative to the IBM MicroChannel bus.

	  The EISA bus provided some of the features of the IBM MicroChannel
	  bus while maintaining backward compatibility with cards made for
	  the older ISA bus.  The EISA bus saw limited use between 1988 and
	  1995 when it was made obsolete by the PCI bus.

	  Say Y here if you are building a kernel for an EISA-based machine.

	  Otherwise, say N.

config SBUS
	bool

166
167
168
169
170
171
172
173
config STACKTRACE_SUPPORT
	bool
	default y

config LOCKDEP_SUPPORT
	bool
	default y

Russell King's avatar
Russell King committed
174
175
config TRACE_IRQFLAGS_SUPPORT
	bool
176
	default !CPU_V7M
Russell King's avatar
Russell King committed
177

Linus Torvalds's avatar
Linus Torvalds committed
178
179
config RWSEM_XCHGADD_ALGORITHM
	bool
180
	default y
Linus Torvalds's avatar
Linus Torvalds committed
181

182
183
184
185
186
187
config ARCH_HAS_ILOG2_U32
	bool

config ARCH_HAS_ILOG2_U64
	bool

188
189
190
config ARCH_HAS_BANDGAP
	bool

191
192
193
config FIX_EARLYCON_MEM
	def_bool y if MMU

194
195
196
197
config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
198
199
200
201
config GENERIC_CALIBRATE_DELAY
	bool
	default y

202
203
204
config ARCH_MAY_HAVE_PC_FDC
	bool

205
206
207
config ZONE_DMA
	bool

208
209
210
config NEED_DMA_MAP_STATE
       def_bool y

David A. Long's avatar
David A. Long committed
211
212
213
config ARCH_SUPPORTS_UPROBES
	def_bool y

214
215
216
config ARCH_HAS_DMA_SET_COHERENT_MASK
	bool

Linus Torvalds's avatar
Linus Torvalds committed
217
218
219
220
221
222
config GENERIC_ISA_DMA
	bool

config FIQ
	bool

223
224
225
config NEED_RET_TO_USER
	bool

226
227
228
config ARCH_MTD_XIP
	bool

229
230
config VECTORS_BASE
	hex
231
	default 0xffff0000 if MMU || CPU_HIGH_VECTOR
232
233
234
	default DRAM_BASE if REMAP_VECTORS_TO_RAM
	default 0x00000000
	help
Russell King's avatar
Russell King committed
235
236
	  The base address of exception vectors.  This must be two pages
	  in size.
237

238
config ARM_PATCH_PHYS_VIRT
239
240
	bool "Patch physical to virtual translations at runtime" if EMBEDDED
	default y
241
	depends on !XIP_KERNEL && MMU
242
	help
243
244
245
	  Patch phys-to-virt and virt-to-phys translation functions at
	  boot and module load time according to the position of the
	  kernel in system memory.
246

247
	  This can only be used with non-XIP MMU kernels where the base
248
	  of physical memory is at a 16MB boundary.
249

250
251
252
	  Only disable this option if you know that you do not require
	  this feature (eg, building a kernel for a single machine) and
	  you need to shrink the kernel to the minimal size.
253

254
255
256
257
258
259
260
config NEED_MACH_IO_H
	bool
	help
	  Select this when mach/io.h is required to provide special
	  definitions for this platform.  The need for mach/io.h should
	  be avoided when possible.

261
config NEED_MACH_MEMORY_H
262
263
	bool
	help
264
265
266
	  Select this when mach/memory.h is required to provide special
	  definitions for this platform.  The need for mach/memory.h should
	  be avoided when possible.
267

268
config PHYS_OFFSET
269
	hex "Physical address of main memory" if MMU
270
	depends on !ARM_PATCH_PHYS_VIRT
271
	default DRAM_BASE if !MMU
272
273
274
275
276
277
278
279
280
	default 0x00000000 if ARCH_EBSA110 || \
			ARCH_FOOTBRIDGE || \
			ARCH_INTEGRATOR || \
			ARCH_IOP13XX || \
			ARCH_KS8695 || \
			(ARCH_REALVIEW && !REALVIEW_HIGH_PHYS_OFFSET)
	default 0x10000000 if ARCH_OMAP1 || ARCH_RPC
	default 0x20000000 if ARCH_S5PV210
	default 0x70000000 if REALVIEW_HIGH_PHYS_OFFSET
281
	default 0xc0000000 if ARCH_SA1100
282
	help
283
284
	  Please provide the physical address corresponding to the
	  location of main memory in your system.
285

286
287
288
289
config GENERIC_BUG
	def_bool y
	depends on BUG

290
291
292
293
294
config PGTABLE_LEVELS
	int
	default 3 if ARM_LPAE
	default 2

Linus Torvalds's avatar
Linus Torvalds committed
295
296
source "init/Kconfig"

297
298
source "kernel/Kconfig.freezer"

Linus Torvalds's avatar
Linus Torvalds committed
299
300
menu "System Type"

301
302
303
304
305
306
307
config MMU
	bool "MMU-based Paged Memory Management Support"
	default y
	help
	  Select if you want MMU-based virtualised addressing space
	  support by paged memory management. If unsure, say 'Y'.

308
309
310
311
312
313
314
315
config ARCH_MMAP_RND_BITS_MIN
	default 8

config ARCH_MMAP_RND_BITS_MAX
	default 14 if PAGE_OFFSET=0x40000000
	default 15 if PAGE_OFFSET=0x80000000
	default 16

316
317
318
319
#
# The "ARM system type" choice list is ordered alphabetically by option
# text.  Please add new entries in the option alphabetic order.
#
Linus Torvalds's avatar
Linus Torvalds committed
320
321
choice
	prompt "ARM system type"
322
	default ARM_SINGLE_ARMV7M if !MMU
323
	default ARCH_MULTIPLATFORM if MMU
Linus Torvalds's avatar
Linus Torvalds committed
324

325
326
config ARCH_MULTIPLATFORM
	bool "Allow multiple platforms to be selected"
327
	depends on MMU
328
	select ARCH_WANT_OPTIONAL_GPIOLIB
329
	select ARM_HAS_SG_CHAIN
330
331
	select ARM_PATCH_PHYS_VIRT
	select AUTO_ZRELADDR
332
	select CLKSRC_OF
333
	select COMMON_CLK
334
	select GENERIC_CLOCKEVENTS
335
	select MIGHT_HAVE_PCI
336
	select MULTI_IRQ_HANDLER
337
338
339
	select SPARSE_IRQ
	select USE_OF

340
341
342
343
344
config ARM_SINGLE_ARMV7M
	bool "ARMv7-M based platforms (Cortex-M0/M3/M4)"
	depends on !MMU
	select ARCH_WANT_OPTIONAL_GPIOLIB
	select ARM_NVIC
345
	select AUTO_ZRELADDR
346
347
348
349
350
351
352
353
	select CLKSRC_OF
	select COMMON_CLK
	select CPU_V7M
	select GENERIC_CLOCKEVENTS
	select NO_IOPORT_MAP
	select SPARSE_IRQ
	select USE_OF

354

355
356
config ARCH_CLPS711X
	bool "Cirrus Logic CLPS711x/EP721x/EP731x-based"
357
	select ARCH_REQUIRE_GPIOLIB
358
	select AUTO_ZRELADDR
359
	select CLKSRC_MMIO
360
361
	select COMMON_CLK
	select CPU_ARM720T
362
	select GENERIC_CLOCKEVENTS
363
	select MFD_SYSCON
364
	select SOC_BUS
365
366
367
	help
	  Support for Cirrus Logic 711x/721x/731x based boards.

368
369
370
config ARCH_GEMINI
	bool "Cortina Systems Gemini"
	select ARCH_REQUIRE_GPIOLIB
371
	select CLKSRC_MMIO
372
	select CPU_FA526
373
	select GENERIC_CLOCKEVENTS
374
375
376
	help
	  Support for the Cortina Systems Gemini family SoCs

Linus Torvalds's avatar
Linus Torvalds committed
377
378
config ARCH_EBSA110
	bool "EBSA-110"
379
	select ARCH_USES_GETTIMEOFFSET
380
	select CPU_SA110
381
	select ISA
382
	select NEED_MACH_IO_H
383
	select NEED_MACH_MEMORY_H
384
	select NO_IOPORT_MAP
Linus Torvalds's avatar
Linus Torvalds committed
385
386
	help
	  This is an evaluation board for the StrongARM processor available
387
	  from Digital. It has limited hardware on-board, including an
Linus Torvalds's avatar
Linus Torvalds committed
388
389
390
	  Ethernet interface, two PCMCIA sockets, two serial ports and a
	  parallel port.

391
392
config ARCH_EP93XX
	bool "EP93xx-based"
393
394
	select ARCH_HAS_HOLES_MEMORYMODEL
	select ARCH_REQUIRE_GPIOLIB
395
	select ARM_AMBA
396
	select ARM_PATCH_PHYS_VIRT
397
	select ARM_VIC
398
	select AUTO_ZRELADDR
399
	select CLKDEV_LOOKUP
400
	select CLKSRC_MMIO
401
	select CPU_ARM920T
402
	select GENERIC_CLOCKEVENTS
403
404
405
	help
	  This enables support for the Cirrus EP93xx series of CPUs.

Linus Torvalds's avatar
Linus Torvalds committed
406
407
config ARCH_FOOTBRIDGE
	bool "FootBridge"
408
	select CPU_SA110
Linus Torvalds's avatar
Linus Torvalds committed
409
	select FOOTBRIDGE
410
	select GENERIC_CLOCKEVENTS
411
	select HAVE_IDE
412
	select NEED_MACH_IO_H if !MMU
413
	select NEED_MACH_MEMORY_H
414
415
416
	help
	  Support for systems based on the DC21285 companion chip
	  ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
Linus Torvalds's avatar
Linus Torvalds committed
417

418
419
config ARCH_NETX
	bool "Hilscher NetX based"
420
	select ARM_VIC
421
	select CLKSRC_MMIO
422
	select CPU_ARM926T
423
	select GENERIC_CLOCKEVENTS
424
	help
425
426
	  This enables support for systems based on the Hilscher NetX Soc

427
428
429
config ARCH_IOP13XX
	bool "IOP13xx-based"
	depends on MMU
430
	select CPU_XSC3
431
	select NEED_MACH_MEMORY_H
432
	select NEED_RET_TO_USER
433
434
435
	select PCI
	select PLAT_IOP
	select VMSPLIT_1G
436
	select SPARSE_IRQ
437
438
439
	help
	  Support for Intel's IOP13XX (XScale) family of processors.

440
441
config ARCH_IOP32X
	bool "IOP32x-based"
442
	depends on MMU
443
	select ARCH_REQUIRE_GPIOLIB
444
	select CPU_XSCALE
445
	select GPIO_IOP
446
	select NEED_RET_TO_USER
447
	select PCI
448
	select PLAT_IOP
449
	help
450
451
452
453
454
455
	  Support for Intel's 80219 and IOP32X (XScale) family of
	  processors.

config ARCH_IOP33X
	bool "IOP33x-based"
	depends on MMU
456
	select ARCH_REQUIRE_GPIOLIB
457
	select CPU_XSCALE
458
	select GPIO_IOP
459
	select NEED_RET_TO_USER
460
	select PCI
461
	select PLAT_IOP
462
463
	help
	  Support for Intel's IOP33X (XScale) family of processors.
Linus Torvalds's avatar
Linus Torvalds committed
464

465
466
config ARCH_IXP4XX
	bool "IXP4xx-based"
467
	depends on MMU
468
	select ARCH_HAS_DMA_SET_COHERENT_MASK
469
	select ARCH_REQUIRE_GPIOLIB
470
	select ARCH_SUPPORTS_BIG_ENDIAN
471
	select CLKSRC_MMIO
472
	select CPU_XSCALE
473
	select DMABOUNCE if PCI
474
	select GENERIC_CLOCKEVENTS
475
	select MIGHT_HAVE_PCI
476
	select NEED_MACH_IO_H
477
	select USB_EHCI_BIG_ENDIAN_DESC
Russell King's avatar
Russell King committed
478
	select USB_EHCI_BIG_ENDIAN_MMIO
479
	help
480
	  Support for Intel's IXP4XX (XScale) family of processors.
481

482
483
484
config ARCH_DOVE
	bool "Marvell Dove"
	select ARCH_REQUIRE_GPIOLIB
485
	select CPU_PJ4
486
	select GENERIC_CLOCKEVENTS
487
	select MIGHT_HAVE_PCI
488
	select MULTI_IRQ_HANDLER
Russell King's avatar
Russell King committed
489
	select MVEBU_MBUS
490
491
	select PINCTRL
	select PINCTRL_DOVE
492
	select PLAT_ORION_LEGACY
Haojian Zhuang's avatar
Haojian Zhuang committed
493
	select SPARSE_IRQ
494
	select PM_GENERIC_DOMAINS if PM
495
	help
496
	  Support for the Marvell Dove SoC 88AP510
497
498
499

config ARCH_KS8695
	bool "Micrel/Kendin KS8695"
500
	select ARCH_REQUIRE_GPIOLIB
501
	select CLKSRC_MMIO
502
	select CPU_ARM922T
503
	select GENERIC_CLOCKEVENTS
504
	select NEED_MACH_MEMORY_H
505
506
507
508
509
510
	help
	  Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
	  System-on-Chip devices.

config ARCH_W90X900
	bool "Nuvoton W90X900 CPU"
511
	select ARCH_REQUIRE_GPIOLIB
512
	select CLKDEV_LOOKUP
513
	select CLKSRC_MMIO
514
	select CPU_ARM926T
515
	select GENERIC_CLOCKEVENTS
516
	help
517
518
519
520
521
522
523
	  Support for Nuvoton (Winbond logic dept.) ARM9 processor,
	  At present, the w90x900 has been renamed nuc900, regarding
	  the ARM series product line, you can login the following
	  link address to know more.

	  <http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/
		ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller>
524

525
526
527
528
529
530
531
532
533
534
535
536
537
config ARCH_LPC32XX
	bool "NXP LPC32XX"
	select ARCH_REQUIRE_GPIOLIB
	select ARM_AMBA
	select CLKDEV_LOOKUP
	select CLKSRC_MMIO
	select CPU_ARM926T
	select GENERIC_CLOCKEVENTS
	select HAVE_IDE
	select USE_OF
	help
	  Support for the NXP LPC32XX family of processors

Linus Torvalds's avatar
Linus Torvalds committed
538
config ARCH_PXA
eric miao's avatar
eric miao committed
539
	bool "PXA2xx/PXA3xx-based"
540
	depends on MMU
541
542
543
544
	select ARCH_MTD_XIP
	select ARCH_REQUIRE_GPIOLIB
	select ARM_CPU_SUSPEND if PM
	select AUTO_ZRELADDR
545
	select COMMON_CLK
546
	select CLKDEV_LOOKUP
547
	select CLKSRC_PXA
548
	select CLKSRC_MMIO
549
	select CLKSRC_OF
550
	select GENERIC_CLOCKEVENTS
551
	select GPIO_PXA
552
	select HAVE_IDE
553
	select IRQ_DOMAIN
554
555
556
	select MULTI_IRQ_HANDLER
	select PLAT_PXA
	select SPARSE_IRQ
557
	help
eric miao's avatar
eric miao committed
558
	  Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
Linus Torvalds's avatar
Linus Torvalds committed
559
560
561

config ARCH_RPC
	bool "RiscPC"
Russell King's avatar
Russell King committed
562
	depends on MMU
Linus Torvalds's avatar
Linus Torvalds committed
563
	select ARCH_ACORN
564
	select ARCH_MAY_HAVE_PC_FDC
565
	select ARCH_SPARSEMEM_ENABLE
566
	select ARCH_USES_GETTIMEOFFSET
Arnd Bergmann's avatar
Arnd Bergmann committed
567
	select CPU_SA110
568
	select FIQ
569
	select HAVE_IDE
570
571
	select HAVE_PATA_PLATFORM
	select ISA_DMA_API
572
	select NEED_MACH_IO_H
573
	select NEED_MACH_MEMORY_H
574
	select NO_IOPORT_MAP
575
	select VIRT_TO_BUS
Linus Torvalds's avatar
Linus Torvalds committed
576
577
578
579
580
581
	help
	  On the Acorn Risc-PC, Linux can support the internal IDE disk and
	  CD-ROM interface, serial and parallel port, and the floppy drive.

config ARCH_SA1100
	bool "SA1100-based"
582
583
584
585
586
	select ARCH_MTD_XIP
	select ARCH_REQUIRE_GPIOLIB
	select ARCH_SPARSEMEM_ENABLE
	select CLKDEV_LOOKUP
	select CLKSRC_MMIO
587
588
	select CLKSRC_PXA
	select CLKSRC_OF if OF
Russell King's avatar
Russell King committed
589
	select CPU_FREQ
590
	select CPU_SA1100
591
	select GENERIC_CLOCKEVENTS
592
	select HAVE_IDE
593
	select IRQ_DOMAIN
594
	select ISA
595
	select MULTI_IRQ_HANDLER
596
	select NEED_MACH_MEMORY_H
597
	select SPARSE_IRQ
598
599
	help
	  Support for StrongARM 11x0 based boards.
Linus Torvalds's avatar
Linus Torvalds committed
600

601
602
config ARCH_S3C24XX
	bool "Samsung S3C24XX SoCs"
603
	select ARCH_REQUIRE_GPIOLIB
604
	select ATAGS
605
	select CLKDEV_LOOKUP
606
	select CLKSRC_SAMSUNG_PWM
607
	select GENERIC_CLOCKEVENTS
608
	select GPIO_SAMSUNG
609
	select HAVE_S3C2410_I2C if I2C
610
	select HAVE_S3C2410_WATCHDOG if WATCHDOG
611
	select HAVE_S3C_RTC if RTC_CLASS
612
	select MULTI_IRQ_HANDLER
613
	select NEED_MACH_IO_H
614
	select SAMSUNG_ATAGS
Linus Torvalds's avatar
Linus Torvalds committed
615
	help
616
617
618
619
	  Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443
	  and S3C2450 SoCs based systems, such as the Simtec Electronics BAST
	  (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the
	  Samsung SMDK2410 development board (and derivatives).
620

621
622
config ARCH_DAVINCI
	bool "TI DaVinci"
623
	select ARCH_HAS_HOLES_MEMORYMODEL
624
	select ARCH_REQUIRE_GPIOLIB
625
	select CLKDEV_LOOKUP
David Brownell's avatar
David Brownell committed
626
	select GENERIC_ALLOCATOR
627
	select GENERIC_CLOCKEVENTS
Russell King's avatar
Russell King committed
628
	select GENERIC_IRQ_CHIP
629
	select HAVE_IDE
630
	select USE_OF
631
	select ZONE_DMA
632
633
634
	help
	  Support for TI's DaVinci platform.

635
636
config ARCH_OMAP1
	bool "TI OMAP1"
Arnd Bergmann's avatar
Arnd Bergmann committed
637
	depends on MMU
638
	select ARCH_HAS_HOLES_MEMORYMODEL
639
	select ARCH_OMAP
640
	select ARCH_REQUIRE_GPIOLIB
641
	select CLKDEV_LOOKUP
642
	select CLKSRC_MMIO
643
	select GENERIC_CLOCKEVENTS
644
645
646
	select GENERIC_IRQ_CHIP
	select HAVE_IDE
	select IRQ_DOMAIN
647
	select MULTI_IRQ_HANDLER
648
649
	select NEED_MACH_IO_H if PCCARD
	select NEED_MACH_MEMORY_H
650
	select SPARSE_IRQ
651
	help
652
	  Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
653

Linus Torvalds's avatar
Linus Torvalds committed
654
655
endchoice

656
657
658
659
660
menu "Multiple platform selection"
	depends on ARCH_MULTIPLATFORM

comment "CPU Core family selection"

Arnd Bergmann's avatar
Arnd Bergmann committed
661
662
663
664
665
666
config ARCH_MULTI_V4
	bool "ARMv4 based platforms (FA526)"
	depends on !ARCH_MULTI_V6_V7
	select ARCH_MULTI_V4_V5
	select CPU_FA526

667
668
669
config ARCH_MULTI_V4T
	bool "ARMv4T based platforms (ARM720T, ARM920T, ...)"
	depends on !ARCH_MULTI_V6_V7
670
	select ARCH_MULTI_V4_V5
671
672
673
	select CPU_ARM920T if !(CPU_ARM7TDMI || CPU_ARM720T || \
		CPU_ARM740T || CPU_ARM9TDMI || CPU_ARM922T || \
		CPU_ARM925T || CPU_ARM940T)
674
675
676
677

config ARCH_MULTI_V5
	bool "ARMv5 based platforms (ARM926T, XSCALE, PJ1, ...)"
	depends on !ARCH_MULTI_V6_V7
678
	select ARCH_MULTI_V4_V5
679
	select CPU_ARM926T if !(CPU_ARM946E || CPU_ARM1020 || \
680
681
		CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || \
		CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_FEROCEON)
682
683
684
685
686

config ARCH_MULTI_V4_V5
	bool

config ARCH_MULTI_V6
687
	bool "ARMv6 based platforms (ARM11)"
688
	select ARCH_MULTI_V6_V7
689
	select CPU_V6K
690
691

config ARCH_MULTI_V7
692
	bool "ARMv7 based platforms (Cortex-A, PJ4, Scorpion, Krait)"
693
694
	default y
	select ARCH_MULTI_V6_V7
695
	select CPU_V7
696
	select HAVE_SMP
697
698
699

config ARCH_MULTI_V6_V7
	bool
700
	select MIGHT_HAVE_CACHE_L2X0
701
702
703
704
705
706
707

config ARCH_MULTI_CPU_AUTO
	def_bool !(ARCH_MULTI_V4 || ARCH_MULTI_V4T || ARCH_MULTI_V6_V7)
	select ARCH_MULTI_V5

endmenu

708
config ARCH_VIRT
709
710
	bool "Dummy Virtual Machine"
	depends on ARCH_MULTI_V7
Rob Herring's avatar
Rob Herring committed
711
	select ARM_AMBA
712
	select ARM_GIC
713
	select ARM_GIC_V2M if PCI_MSI
714
	select ARM_GIC_V3
715
	select ARM_PSCI
Rob Herring's avatar
Rob Herring committed
716
	select HAVE_ARM_ARCH_TIMER
717

718
719
720
721
722
#
# This is sorted alphabetically by mach-* pathname.  However, plat-*
# Kconfigs may be included either alphabetically (according to the
# plat- suffix) or along side the corresponding mach-* source.
#
723
724
source "arch/arm/mach-mvebu/Kconfig"

725
726
source "arch/arm/mach-alpine/Kconfig"

Oleksij Rempel's avatar
Oleksij Rempel committed
727
728
source "arch/arm/mach-asm9260/Kconfig"

729
730
source "arch/arm/mach-at91/Kconfig"

731
732
source "arch/arm/mach-axxia/Kconfig"

733
734
source "arch/arm/mach-bcm/Kconfig"

735
736
source "arch/arm/mach-berlin/Kconfig"

Linus Torvalds's avatar
Linus Torvalds committed
737
738
source "arch/arm/mach-clps711x/Kconfig"

739
740
source "arch/arm/mach-cns3xxx/Kconfig"

741
742
source "arch/arm/mach-davinci/Kconfig"

743
744
source "arch/arm/mach-digicolor/Kconfig"

745
746
source "arch/arm/mach-dove/Kconfig"

747
748
source "arch/arm/mach-ep93xx/Kconfig"

Linus Torvalds's avatar
Linus Torvalds committed
749
750
source "arch/arm/mach-footbridge/Kconfig"

751
752
source "arch/arm/mach-gemini/Kconfig"

753
754
source "arch/arm/mach-highbank/Kconfig"

755
756
source "arch/arm/mach-hisi/Kconfig"

Linus Torvalds's avatar
Linus Torvalds committed
757
758
source "arch/arm/mach-integrator/Kconfig"

759
760
761
source "arch/arm/mach-iop32x/Kconfig"

source "arch/arm/mach-iop33x/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
762

763
764
source "arch/arm/mach-iop13xx/Kconfig"

Linus Torvalds's avatar
Linus Torvalds committed
765
766
source "arch/arm/mach-ixp4xx/Kconfig"

767
768
source "arch/arm/mach-keystone/Kconfig"

769
770
source "arch/arm/mach-ks8695/Kconfig"

771
772
source "arch/arm/mach-meson/Kconfig"

773
774
source "arch/arm/mach-moxart/Kconfig"

775
776
source "arch/arm/mach-mv78xx0/Kconfig"

777
source "arch/arm/mach-imx/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
778

779
780
source "arch/arm/mach-mediatek/Kconfig"

781
782
source "arch/arm/mach-mxs/Kconfig"

783
source "arch/arm/mach-netx/Kconfig"
784

785
786
source "arch/arm/mach-nomadik/Kconfig"

787
788
source "arch/arm/mach-nspire/Kconfig"

789
790
791
source "arch/arm/plat-omap/Kconfig"

source "arch/arm/mach-omap1/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
792

793
794
source "arch/arm/mach-omap2/Kconfig"

795
source "arch/arm/mach-orion5x/Kconfig"
796

797
798
source "arch/arm/mach-picoxcell/Kconfig"

799
800
source "arch/arm/mach-pxa/Kconfig"
source "arch/arm/plat-pxa/Kconfig"
801

802
803
source "arch/arm/mach-mmp/Kconfig"

804
805
source "arch/arm/mach-qcom/Kconfig"

806
807
source "arch/arm/mach-realview/Kconfig"

808
809
source "arch/arm/mach-rockchip/Kconfig"

810
source "arch/arm/mach-sa1100/Kconfig"
811

812
813
source "arch/arm/mach-socfpga/Kconfig"

814
source "arch/arm/mach-spear/Kconfig"
815

816
817
source "arch/arm/mach-sti/Kconfig"

818
source "arch/arm/mach-s3c24xx/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
819

820
source "arch/arm/mach-s3c64xx/Kconfig"
821

822
823
source "arch/arm/mach-s5pv210/Kconfig"

824
source "arch/arm/mach-exynos/Kconfig"
825
source "arch/arm/plat-samsung/Kconfig"
826

827
source "arch/arm/mach-shmobile/Kconfig"
828

829
830
source "arch/arm/mach-sunxi/Kconfig"

831
832
source "arch/arm/mach-prima2/Kconfig"

833
834
source "arch/arm/mach-tango/Kconfig"

835
836
source "arch/arm/mach-tegra/Kconfig"

837
source "arch/arm/mach-u300/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
838

839
840
source "arch/arm/mach-uniphier/Kconfig"

841
source "arch/arm/mach-ux500/Kconfig"
Linus Torvalds's avatar
Linus Torvalds committed
842
843
844

source "arch/arm/mach-versatile/Kconfig"

845
source "arch/arm/mach-vexpress/Kconfig"
846
source "arch/arm/plat-versatile/Kconfig"
847

848
849
source "arch/arm/mach-vt8500/Kconfig"

850
851
source "arch/arm/mach-w90x900/Kconfig"

852
853
source "arch/arm/mach-zx/Kconfig"

854
855
source "arch/arm/mach-zynq/Kconfig"

856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
# ARMv7-M architecture
config ARCH_EFM32
	bool "Energy Micro efm32"
	depends on ARM_SINGLE_ARMV7M
	select ARCH_REQUIRE_GPIOLIB
	help
	  Support for Energy Micro's (now Silicon Labs) efm32 Giant Gecko
	  processors.

config ARCH_LPC18XX
	bool "NXP LPC18xx/LPC43xx"
	depends on ARM_SINGLE_ARMV7M
	select ARCH_HAS_RESET_CONTROLLER
	select ARM_AMBA
	select CLKSRC_LPC32XX
	select PINCTRL
	help
	  Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4
	  high performance microcontrollers.

config ARCH_STM32
	bool "STMicrolectronics STM32"
	depends on ARM_SINGLE_ARMV7M
	select ARCH_HAS_RESET_CONTROLLER
	select ARMV7M_SYSTICK
881
	select CLKSRC_STM32
882
883
884
885
	select RESET_CONTROLLER
	help
	  Support for STMicroelectronics STM32 processors.

Linus Torvalds's avatar
Linus Torvalds committed
886
887
888
889
# Definitions to make life easier
config ARCH_ACORN
	bool

890
891
config PLAT_IOP
	bool
Mikael Pettersson's avatar
Mikael Pettersson committed
892
	select GENERIC_CLOCKEVENTS
893

Lennert Buytenhek's avatar
Lennert Buytenhek committed
894
895
config PLAT_ORION
	bool
896
	select CLKSRC_MMIO
897
	select COMMON_CLK
Russell King's avatar
Russell King committed
898
	select GENERIC_IRQ_CHIP
899
	select IRQ_DOMAIN
Lennert Buytenhek's avatar
Lennert Buytenhek committed
900

901
902
903
904
config PLAT_ORION_LEGACY
	bool
	select PLAT_ORION

905
906
907
config PLAT_PXA
	bool

908
909
910
config PLAT_VERSATILE
	bool

911
912
source "arch/arm/firmware/Kconfig"

Linus Torvalds's avatar
Linus Torvalds committed
913
914
source arch/arm/mm/Kconfig

915
config IWMMXT
916
917
918
	bool "Enable iWMMXt support"
	depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4 || CPU_PJ4B
	default y if PXA27x || PXA3xx || ARCH_MMP || CPU_PJ4 || CPU_PJ4B
919
920
921
922
	help
	  Enable support for iWMMXt context switching at run time if
	  running on a CPU that supports it.

923
924
925
926
927
config MULTI_IRQ_HANDLER
	bool
	help
	  Allow each machine to specify it's own IRQ handler at run time.