Blame view

arch/arm/Kconfig 66.1 KB
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  # SPDX-License-Identifier: GPL-2.0
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
4
  config ARM
  	bool
  	default y
1d8f51d41   Scott Wood   arm/arm64: arch_t...
5
  	select ARCH_CLOCKSOURCE_DATA
e377cd822   Florian Fainelli   ARM: 8640/1: Add ...
6
  	select ARCH_HAS_DEBUG_VIRTUAL
21266be9e   Dan Williams   arch: consolidate...
7
  	select ARCH_HAS_DEVMEM_IS_ALLOWED
2b68f6cae   Kees Cook   mm: expose arch_m...
8
  	select ARCH_HAS_ELF_RANDOMIZE
d2852a224   Daniel Borkmann   arch: add ARCH_HA...
9
  	select ARCH_HAS_SET_MEMORY
ad21fc4fa   Laura Abbott   arch: Move CONFIG...
10
11
  	select ARCH_HAS_STRICT_KERNEL_RWX if MMU && !XIP_KERNEL
  	select ARCH_HAS_STRICT_MODULE_RWX if MMU
3d06770ee   Mark Rutland   arm: Add generic ...
12
  	select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
171b3f0da   Russell King   ARM: sort arch/ar...
13
  	select ARCH_HAVE_CUSTOM_GPIO_H
957e3facd   Riku Voipio   gcov: enable GCOV...
14
  	select ARCH_HAS_GCOV_PROFILE_ALL
d70188489   Mark Salter   arm: select ARCH_...
15
  	select ARCH_MIGHT_HAVE_PC_PARPORT
ad21fc4fa   Laura Abbott   arch: Move CONFIG...
16
17
  	select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX
  	select ARCH_OPTIONAL_KERNEL_RWX_DEFAULT if CPU_V7
4badad352   Peter Zijlstra   locking/mutex: Di...
18
  	select ARCH_SUPPORTS_ATOMIC_RMW
017f161a5   Kim Phillips   ARM: 7877/1: use ...
19
  	select ARCH_USE_BUILTIN_BSWAP
0cbad9c9d   Will Deacon   ARM: 7854/1: lock...
20
  	select ARCH_USE_CMPXCHG_LOCKREF
b1b3f49ce   Russell King   ARM: config: sort...
21
  	select ARCH_WANT_IPC_PARSE_VERSION
ee951c630   Stephen Boyd   ARM: 7568/1: Sort...
22
  	select BUILDTIME_EXTABLE_SORT if MMU
171b3f0da   Russell King   ARM: sort arch/ar...
23
  	select CLONE_BACKWARDS
b1b3f49ce   Russell King   ARM: config: sort...
24
  	select CPU_PM if (SUSPEND || CPU_IDLE)
dce5c9e35   Will Deacon   ARM: 7928/1: kcon...
25
  	select DCACHE_WORD_ACCESS if HAVE_EFFICIENT_UNALIGNED_ACCESS
1c51c429f   Vladimir Murzin   ARM: NOMMU: Intro...
26
  	select DMA_NOOP_OPS if !MMU
b01aec9b2   Borislav Petkov   EDAC: Cleanup ato...
27
28
  	select EDAC_SUPPORT
  	select EDAC_ATOMIC_SCRUB
36d0fd219   Laura Abbott   arm: use genalloc...
29
  	select GENERIC_ALLOCATOR
2ef7a2953   Juri Lelli   arm, arm64: facto...
30
  	select GENERIC_ARCH_TOPOLOGY if ARM_CPU_TOPOLOGY
4477ca45f   Uwe Kleine-König   ARM: ARMv7-M: All...
31
  	select GENERIC_ATOMIC64 if (CPU_V7M || CPU_V6 || !CPU_32v6K || !AEABI)
b1b3f49ce   Russell King   ARM: config: sort...
32
  	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
ea2d9a96b   Ard Biesheuvel   ARM: 8663/1: wire...
33
  	select GENERIC_CPU_AUTOPROBE
2937367b8   Ard Biesheuvel   ARM: add support ...
34
  	select GENERIC_EARLY_IOREMAP
171b3f0da   Russell King   ARM: sort arch/ar...
35
  	select GENERIC_IDLE_POLL_SETUP
b1b3f49ce   Russell King   ARM: config: sort...
36
37
  	select GENERIC_IRQ_PROBE
  	select GENERIC_IRQ_SHOW
7c07005ee   Geert Uytterhoeven   ARM: 8339/1: Enab...
38
  	select GENERIC_IRQ_SHOW_LEVEL
b1b3f49ce   Russell King   ARM: config: sort...
39
  	select GENERIC_PCI_IOMAP
38ff87f77   Stephen Boyd   sched_clock: Make...
40
  	select GENERIC_SCHED_CLOCK
b1b3f49ce   Russell King   ARM: config: sort...
41
42
43
  	select GENERIC_SMP_IDLE_THREAD
  	select GENERIC_STRNCPY_FROM_USER
  	select GENERIC_STRNLEN_USER
a71b092a9   Marc Zyngier   ARM: Convert hand...
44
  	select HANDLE_DOMAIN_IRQ
b1b3f49ce   Russell King   ARM: config: sort...
45
  	select HARDIRQS_SW_RESEND
7a0177212   AKASHI Takahiro   audit: Add CONFIG...
46
  	select HAVE_ARCH_AUDITSYSCALL if (AEABI && !OABI_COMPAT)
0b7857dbe   Yalin Wang   ARM: 8287/1: add ...
47
  	select HAVE_ARCH_BITREVERSE if (CPU_32v7M || CPU_32v7) && !CPU_32v6
437682eea   Arnd Bergmann   ARM: 8456/1: code...
48
49
  	select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL && !CPU_ENDIAN_BE32 && MMU
  	select HAVE_ARCH_KGDB if !CPU_ENDIAN_BE32 && MMU
e0c25d958   Daniel Cashman   arm: mm: support ...
50
  	select HAVE_ARCH_MMAP_RND_BITS if MMU
917021751   Kees Cook   ARM: 7888/1: secc...
51
  	select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT)
0693bf681   Wade Farnsworth   ARM: 7374/1: add ...
52
  	select HAVE_ARCH_TRACEHOOK
b329f95d7   Jens Wiklander   ARM: 8479/2: add ...
53
  	select HAVE_ARM_SMCCC if CPU_V7
39c13c204   Shubham Bansal   arm: eBPF JIT com...
54
  	select HAVE_EBPF_JIT if !CPU_ENDIAN_BE32
51aaf81fa   Russell King   ARM: keep arch/ar...
55
  	select HAVE_CC_STACKPROTECTOR
171b3f0da   Russell King   ARM: sort arch/ar...
56
  	select HAVE_CONTEXT_TRACKING
b1b3f49ce   Russell King   ARM: config: sort...
57
58
59
  	select HAVE_C_RECORDMCOUNT
  	select HAVE_DEBUG_KMEMLEAK
  	select HAVE_DMA_API_DEBUG
b1b3f49ce   Russell King   ARM: config: sort...
60
  	select HAVE_DMA_CONTIGUOUS if MMU
437682eea   Arnd Bergmann   ARM: 8456/1: code...
61
  	select HAVE_DYNAMIC_FTRACE if (!XIP_KERNEL) && !CPU_ENDIAN_BE32 && MMU
620176f33   Abel Vesa   ARM: 8678/1: ftra...
62
  	select HAVE_DYNAMIC_FTRACE_WITH_REGS if HAVE_DYNAMIC_FTRACE
dce5c9e35   Will Deacon   ARM: 7928/1: kcon...
63
  	select HAVE_EFFICIENT_UNALIGNED_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && MMU
5f56a5dfd   Jiri Slaby   exit_thread: remo...
64
  	select HAVE_EXIT_THREAD
b1b3f49ce   Russell King   ARM: config: sort...
65
  	select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL)
0e341af83   Rabin Vincent   ARM: ftrace: enab...
66
  	select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL)
b1b3f49ce   Russell King   ARM: config: sort...
67
  	select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
6b90bd4ba   Emese Revfy   GCC plugin infras...
68
  	select HAVE_GCC_PLUGINS
1fe532685   Dmitry Eremin-Solenikov   ARM: support gene...
69
  	select HAVE_GENERIC_DMA_COHERENT
b1b3f49ce   Russell King   ARM: config: sort...
70
71
  	select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7))
  	select HAVE_IDE if PCI || ISA || PCMCIA
87c46b6c3   Russell King   ARM: finally enab...
72
  	select HAVE_IRQ_TIME_ACCOUNTING
e7db7b427   Albin Tonnerre   arm: add support ...
73
  	select HAVE_KERNEL_GZIP
f9b493ac9   Kyungsik Lee   arm: add support ...
74
  	select HAVE_KERNEL_LZ4
6e8699f7d   Albin Tonnerre   ARM: 6026/1: ARM:...
75
  	select HAVE_KERNEL_LZMA
b1b3f49ce   Russell King   ARM: config: sort...
76
  	select HAVE_KERNEL_LZO
a7f464f3d   Imre Kaloz   ARM: 7001/2: Wire...
77
  	select HAVE_KERNEL_XZ
cb1293e2f   Arnd Bergmann   ARM: 8375/1: disa...
78
  	select HAVE_KPROBES if !XIP_KERNEL && !CPU_ENDIAN_BE32 && !CPU_V7M
b1b3f49ce   Russell King   ARM: config: sort...
79
80
  	select HAVE_KRETPROBES if (HAVE_KPROBES)
  	select HAVE_MEMBLOCK
7d485f647   Ard Biesheuvel   ARM: 8220/1: allo...
81
  	select HAVE_MOD_ARCH_SPECIFIC
42a0bb3f7   Petr Mladek   printk/nmi: gener...
82
  	select HAVE_NMI
b1b3f49ce   Russell King   ARM: config: sort...
83
  	select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
0dc016dbd   Wang Nan   ARM: kprobes: ena...
84
  	select HAVE_OPTPROBES if !THUMB2_KERNEL
7ada189f5   Jamie Iles   ARM: 5900/2: arm:...
85
  	select HAVE_PERF_EVENTS
49863894d   Will Deacon   ARM: perf: add su...
86
87
  	select HAVE_PERF_REGS
  	select HAVE_PERF_USER_STACK_DUMP
a0ad5496b   Steve Capper   arm: mm: enable H...
88
  	select HAVE_RCU_TABLE_FREE if (SMP && ARM_LPAE)
e513f8bf2   Will Deacon   ARM: 6199/1: Add ...
89
  	select HAVE_REGS_AND_STACK_ACCESS_API
b1b3f49ce   Russell King   ARM: config: sort...
90
  	select HAVE_SYSCALL_TRACEPOINTS
af1839eb4   Catalin Marinas   Kconfig: clean up...
91
  	select HAVE_UID16
31c1fc818   Kevin Hilman   ARM: Kconfig: all...
92
  	select HAVE_VIRT_CPU_ACCOUNTING_GEN
da0ec6f7c   Thomas Gleixner   ARM: 7814/2: Allo...
93
  	select IRQ_FORCED_THREADING
171b3f0da   Russell King   ARM: sort arch/ar...
94
  	select MODULES_USE_ELF_REL
84f452b1e   Santosh Shilimkar   ARM: mm: Remove b...
95
  	select NO_BOOTMEM
aa7d5f18e   Arnd Bergmann   ARM: 8454/1: OF i...
96
97
  	select OF_EARLY_FLATTREE if OF
  	select OF_RESERVED_MEM if OF
171b3f0da   Russell King   ARM: sort arch/ar...
98
99
  	select OLD_SIGACTION
  	select OLD_SIGSUSPEND3
b1b3f49ce   Russell King   ARM: config: sort...
100
101
102
  	select PERF_USE_VMALLOC
  	select RTC_LIB
  	select SYS_SUPPORTS_APM_EMULATION
171b3f0da   Russell King   ARM: sort arch/ar...
103
104
  	# Above selects are sorted alphabetically; please add new ones
  	# according to that.  Thanks.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
105
106
  	help
  	  The ARM series is a line of low-power-consumption RISC chip designs
f6c8965ab   Martin Michlmayr   [ARM] 3305/1: Min...
107
  	  licensed by ARM Ltd and targeted at embedded applications and
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
108
  	  handhelds such as the Compaq IPAQ.  ARM-based PCs are no longer
f6c8965ab   Martin Michlmayr   [ARM] 3305/1: Min...
109
  	  manufactured, but legacy ARM-based PC hardware remains popular in
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
110
111
  	  Europe.  There is an ARM Linux project with a web page at
  	  <http://www.arm.linux.org.uk/>.
74facffec   Russell King   ARM: Allow SoCs t...
112
  config ARM_HAS_SG_CHAIN
308c09f17   Laura Abbott   lib/scatterlist: ...
113
  	select ARCH_HAS_SG_CHAIN
74facffec   Russell King   ARM: Allow SoCs t...
114
  	bool
4ce63fcd9   Marek Szyprowski   ARM: dma-mapping:...
115
116
117
118
  config NEED_SG_DMA_LENGTH
  	bool
  
  config ARM_DMA_USE_IOMMU
4ce63fcd9   Marek Szyprowski   ARM: dma-mapping:...
119
  	bool
b1b3f49ce   Russell King   ARM: config: sort...
120
121
  	select ARM_HAS_SG_CHAIN
  	select NEED_SG_DMA_LENGTH
4ce63fcd9   Marek Szyprowski   ARM: dma-mapping:...
122

60460abff   Seung-Woo Kim   ARM: dma-mapping:...
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
  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
0b05da720   Hans Ulli Kroll   ARM: 6520/1: Kcon...
143
144
  config MIGHT_HAVE_PCI
  	bool
75e7153ab   Ralf Baechle   [APM] ARM: Conver...
145
146
  config SYS_SUPPORTS_APM_EMULATION
  	bool
bc581770c   Linus Walleij   ARM: 5580/2: ARM ...
147
148
149
  config HAVE_TCM
  	bool
  	select GENERIC_ALLOCATOR
e119bfff1   Russell King   ARM: Move creatio...
150
151
  config HAVE_PROC_CPU
  	bool
ce816fa88   Uwe Kleine-König   Kconfig: rename H...
152
  config NO_IOPORT_MAP
5ea817699   Al Viro   [PATCH] sort the ...
153
  	bool
5ea817699   Al Viro   [PATCH] sort the ...
154

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
  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
f16fb1ecc   Russell King   [ARM] Add stacktr...
172
173
174
175
176
177
178
  config STACKTRACE_SUPPORT
  	bool
  	default y
  
  config LOCKDEP_SUPPORT
  	bool
  	default y
7ad1bcb25   Russell King   [ARM] Add ARM irq...
179
180
  config TRACE_IRQFLAGS_SUPPORT
  	bool
cb1293e2f   Arnd Bergmann   ARM: 8375/1: disa...
181
  	default !CPU_V7M
7ad1bcb25   Russell King   [ARM] Add ARM irq...
182

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
183
184
  config RWSEM_XCHGADD_ALGORITHM
  	bool
8a87411b6   Will Deacon   ARM: 8047/1: rwse...
185
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
186

f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
187
188
  config ARCH_HAS_ILOG2_U32
  	bool
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
189
190
191
  
  config ARCH_HAS_ILOG2_U64
  	bool
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
192

4a1b57334   Eduardo Valentin   ARM: 7758/1: intr...
193
194
  config ARCH_HAS_BANDGAP
  	bool
a5f4c561b   Stefan Agner   ARM: 8415/1: earl...
195
196
  config FIX_EARLYCON_MEM
  	def_bool y if MMU
b89c3b165   Akinobu Mita   [PATCH] bitops: a...
197
198
199
  config GENERIC_HWEIGHT
  	bool
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
200
201
202
  config GENERIC_CALIBRATE_DELAY
  	bool
  	default y
a08b6b796   Al Viro   [PATCH] Kconfig f...
203
204
  config ARCH_MAY_HAVE_PC_FDC
  	bool
5ac6da669   Christoph Lameter   [PATCH] Set CONFI...
205
206
  config ZONE_DMA
  	bool
5ac6da669   Christoph Lameter   [PATCH] Set CONFI...
207

ccd7ab7f7   FUJITA Tomonori   pci-dma: arm: use...
208
209
  config NEED_DMA_MAP_STATE
         def_bool y
c7edc9e32   David A. Long   ARM: add uprobes ...
210
211
  config ARCH_SUPPORTS_UPROBES
  	def_bool y
58af4a244   Rob Herring   ARM: dma-mapping:...
212
213
  config ARCH_HAS_DMA_SET_COHERENT_MASK
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
214
215
  config GENERIC_ISA_DMA
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
216
217
  config FIQ
  	bool
13a5045d4   Rob Herring   ARM: make arch_re...
218
219
  config NEED_RET_TO_USER
  	bool
034d2f5af   Al Viro   [PATCH] arm: fix ...
220
221
  config ARCH_MTD_XIP
  	bool
c760fc199   Hyok S. Choi   [ARM] nommu: fixu...
222
223
  config VECTORS_BASE
  	hex
6afd6fae1   Hyok S. Choi   [ARM] nommu: conf...
224
  	default 0xffff0000 if MMU || CPU_HIGH_VECTOR
c760fc199   Hyok S. Choi   [ARM] nommu: fixu...
225
226
227
  	default DRAM_BASE if REMAP_VECTORS_TO_RAM
  	default 0x00000000
  	help
19accfd37   Russell King   ARM: move vector ...
228
229
  	  The base address of exception vectors.  This must be two pages
  	  in size.
c760fc199   Hyok S. Choi   [ARM] nommu: fixu...
230

dc21af99f   Russell King   ARM: P2V: introdu...
231
  config ARM_PATCH_PHYS_VIRT
c1becedc8   Russell King   ARM: enable ARM_P...
232
233
  	bool "Patch physical to virtual translations at runtime" if EMBEDDED
  	default y
b511d75d6   Nicolas Pitre   ARM: 6747/1: P2V:...
234
  	depends on !XIP_KERNEL && MMU
dc21af99f   Russell King   ARM: P2V: introdu...
235
  	help
111e9a5ce   Russell King   ARM: phys-to-virt...
236
237
238
  	  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.
dc21af99f   Russell King   ARM: P2V: introdu...
239

111e9a5ce   Russell King   ARM: phys-to-virt...
240
  	  This can only be used with non-XIP MMU kernels where the base
daece5968   Nicolas Pitre   ARM: 7013/1: P2V:...
241
  	  of physical memory is at a 16MB boundary.
dc21af99f   Russell King   ARM: P2V: introdu...
242

c1becedc8   Russell King   ARM: enable ARM_P...
243
244
245
  	  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.
dc21af99f   Russell King   ARM: P2V: introdu...
246

c334bc150   Rob Herring   ARM: make mach/io...
247
248
249
250
251
252
  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.
0cdc8b921   Nicolas Pitre   ARM: switch from ...
253
  config NEED_MACH_MEMORY_H
1b9f95f8a   Nicolas Pitre   ARM: prepare for ...
254
255
  	bool
  	help
0cdc8b921   Nicolas Pitre   ARM: switch from ...
256
257
258
  	  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.
dc21af99f   Russell King   ARM: P2V: introdu...
259

1b9f95f8a   Nicolas Pitre   ARM: prepare for ...
260
  config PHYS_OFFSET
974c07249   Nicolas Pitre   ARM: 7186/1: fix ...
261
  	hex "Physical address of main memory" if MMU
c6f54a9b3   Uwe Kleine-König   ARM: 8113/1: remo...
262
  	depends on !ARM_PATCH_PHYS_VIRT
974c07249   Nicolas Pitre   ARM: 7186/1: fix ...
263
  	default DRAM_BASE if !MMU
c6f54a9b3   Uwe Kleine-König   ARM: 8113/1: remo...
264
  	default 0x00000000 if ARCH_EBSA110 || \
c6f54a9b3   Uwe Kleine-König   ARM: 8113/1: remo...
265
266
267
268
  			ARCH_FOOTBRIDGE || \
  			ARCH_INTEGRATOR || \
  			ARCH_IOP13XX || \
  			ARCH_KS8695 || \
8f2c00629   Linus Walleij   ARM: realview: im...
269
  			ARCH_REALVIEW
c6f54a9b3   Uwe Kleine-König   ARM: 8113/1: remo...
270
271
  	default 0x10000000 if ARCH_OMAP1 || ARCH_RPC
  	default 0x20000000 if ARCH_S5PV210
b8824c9a5   H Hartley Sweeten   ARM: ep93xx: remo...
272
  	default 0xc0000000 if ARCH_SA1100
111e9a5ce   Russell King   ARM: phys-to-virt...
273
  	help
1b9f95f8a   Nicolas Pitre   ARM: prepare for ...
274
275
  	  Please provide the physical address corresponding to the
  	  location of main memory in your system.
cada3c084   Russell King   ARM: P2V: extend ...
276

87e040b64   Simon Glass   ARM: 7017/1: Use ...
277
278
279
  config GENERIC_BUG
  	def_bool y
  	depends on BUG
1bcad26e9   Kirill A. Shutemov   arm: expose numbe...
280
281
282
283
  config PGTABLE_LEVELS
  	int
  	default 3 if ARM_LPAE
  	default 2
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
284
  source "init/Kconfig"
dc52ddc0e   Matt Helsley   container freezer...
285
  source "kernel/Kconfig.freezer"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
286
  menu "System Type"
3c4279750   Hyok S. Choi   nommu: Enables to...
287
288
289
290
291
292
  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'.
e0c25d958   Daniel Cashman   arm: mm: support ...
293
294
295
296
297
298
299
  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
ccf50e234   Russell King   ARM: Fix sorting ...
300
301
302
303
  #
  # The "ARM system type" choice list is ordered alphabetically by option
  # text.  Please add new entries in the option alphabetic order.
  #
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
304
305
  choice
  	prompt "ARM system type"
70722803d   Arnd Bergmann   ARM: make default...
306
  	default ARM_SINGLE_ARMV7M if !MMU
1420b22b0   Arnd Bergmann   ARM: pick Versati...
307
  	default ARCH_MULTIPLATFORM if MMU
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
308

387798b37   Rob Herring   ARM: initial mult...
309
310
  config ARCH_MULTIPLATFORM
  	bool "Allow multiple platforms to be selected"
b1b3f49ce   Russell King   ARM: config: sort...
311
  	depends on MMU
42dc836db   Olof Johansson   ARM: enable ARM_H...
312
  	select ARM_HAS_SG_CHAIN
387798b37   Rob Herring   ARM: initial mult...
313
314
  	select ARM_PATCH_PHYS_VIRT
  	select AUTO_ZRELADDR
bb0eb050a   Daniel Lezcano   clocksource/drive...
315
  	select TIMER_OF
66314223a   Dinh Nguyen   ARM: socfpga: ini...
316
  	select COMMON_CLK
ddb902cc3   Rob Herring   ARM: centralize c...
317
  	select GENERIC_CLOCKEVENTS
08d38bebb   Will Deacon   ARM: kconfig: all...
318
  	select MIGHT_HAVE_PCI
387798b37   Rob Herring   ARM: initial mult...
319
  	select MULTI_IRQ_HANDLER
e13688fe6   Kishon Vijay Abraham I   ARM: select PCI_D...
320
  	select PCI_DOMAINS if PCI
66314223a   Dinh Nguyen   ARM: socfpga: ini...
321
322
  	select SPARSE_IRQ
  	select USE_OF
66314223a   Dinh Nguyen   ARM: socfpga: ini...
323

9c77bc438   Stefan Agner   ARM: introduce AR...
324
325
326
  config ARM_SINGLE_ARMV7M
  	bool "ARMv7-M based platforms (Cortex-M0/M3/M4)"
  	depends on !MMU
9c77bc438   Stefan Agner   ARM: introduce AR...
327
  	select ARM_NVIC
499f16402   Stefan Agner   ARM: use ARM_SING...
328
  	select AUTO_ZRELADDR
bb0eb050a   Daniel Lezcano   clocksource/drive...
329
  	select TIMER_OF
9c77bc438   Stefan Agner   ARM: introduce AR...
330
331
332
333
334
335
  	select COMMON_CLK
  	select CPU_V7M
  	select GENERIC_CLOCKEVENTS
  	select NO_IOPORT_MAP
  	select SPARSE_IRQ
  	select USE_OF
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
336
337
  config ARCH_EBSA110
  	bool "EBSA-110"
b1b3f49ce   Russell King   ARM: config: sort...
338
  	select ARCH_USES_GETTIMEOFFSET
c750815e2   Russell King   [ARM] Arrange for...
339
  	select CPU_SA110
f7e68bbf4   Russell King   [PATCH] ARM: sele...
340
  	select ISA
c334bc150   Rob Herring   ARM: make mach/io...
341
  	select NEED_MACH_IO_H
0cdc8b921   Nicolas Pitre   ARM: switch from ...
342
  	select NEED_MACH_MEMORY_H
ce816fa88   Uwe Kleine-König   Kconfig: rename H...
343
  	select NO_IOPORT_MAP
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
344
345
  	help
  	  This is an evaluation board for the StrongARM processor available
f6c8965ab   Martin Michlmayr   [ARM] 3305/1: Min...
346
  	  from Digital. It has limited hardware on-board, including an
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
347
348
  	  Ethernet interface, two PCMCIA sockets, two serial ports and a
  	  parallel port.
e7736d47a   Lennert Buytenhek   [ARM] 3369/1: ep9...
349
350
  config ARCH_EP93XX
  	bool "EP93xx-based"
b1b3f49ce   Russell King   ARM: config: sort...
351
  	select ARCH_HAS_HOLES_MEMORYMODEL
e7736d47a   Lennert Buytenhek   [ARM] 3369/1: ep9...
352
  	select ARM_AMBA
cd5bad413   Arnd Bergmann   ARM: ep93xx: use ...
353
  	imply ARM_PATCH_PHYS_VIRT
e7736d47a   Lennert Buytenhek   [ARM] 3369/1: ep9...
354
  	select ARM_VIC
b8824c9a5   H Hartley Sweeten   ARM: ep93xx: remo...
355
  	select AUTO_ZRELADDR
6d803ba73   Jean-Christop PLAGNIOL-VILLARD   ARM: 6483/1: arm ...
356
  	select CLKDEV_LOOKUP
000bc1781   Linus Walleij   ARM: ep93xx: swit...
357
  	select CLKSRC_MMIO
b1b3f49ce   Russell King   ARM: config: sort...
358
  	select CPU_ARM920T
000bc1781   Linus Walleij   ARM: ep93xx: swit...
359
  	select GENERIC_CLOCKEVENTS
5c34a4e89   Linus Walleij   ARM: do away with...
360
  	select GPIOLIB
e7736d47a   Lennert Buytenhek   [ARM] 3369/1: ep9...
361
362
  	help
  	  This enables support for the Cirrus EP93xx series of CPUs.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
363
364
  config ARCH_FOOTBRIDGE
  	bool "FootBridge"
c750815e2   Russell King   [ARM] Arrange for...
365
  	select CPU_SA110
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
366
  	select FOOTBRIDGE
4e8d76373   Russell King   ARM: footbridge: ...
367
  	select GENERIC_CLOCKEVENTS
d0ee9f404   Arnd Bergmann   ARM: limit CONFIG...
368
  	select HAVE_IDE
8ef6e6201   Rob Herring   ARM: footbridge: ...
369
  	select NEED_MACH_IO_H if !MMU
0cdc8b921   Nicolas Pitre   ARM: switch from ...
370
  	select NEED_MACH_MEMORY_H
f999b8bde   Martin Michlmayr   [ARM] 3304/1: Add...
371
372
373
  	help
  	  Support for systems based on the DC21285 companion chip
  	  ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
374

4af6fee18   Deepak Saxena   [ARM] 3610/1: Mak...
375
376
  config ARCH_NETX
  	bool "Hilscher NetX based"
b1b3f49ce   Russell King   ARM: config: sort...
377
  	select ARM_VIC
234b6cedd   Russell King   clocksource: conv...
378
  	select CLKSRC_MMIO
c750815e2   Russell King   [ARM] Arrange for...
379
  	select CPU_ARM926T
2fcfe6b87   Uwe Kleine-König   netx: add support...
380
  	select GENERIC_CLOCKEVENTS
f999b8bde   Martin Michlmayr   [ARM] 3304/1: Add...
381
  	help
4af6fee18   Deepak Saxena   [ARM] 3610/1: Mak...
382
  	  This enables support for systems based on the Hilscher NetX Soc
3b938be69   Russell King   [ARM] Ensure mach...
383
384
385
  config ARCH_IOP13XX
  	bool "IOP13xx-based"
  	depends on MMU
b1b3f49ce   Russell King   ARM: config: sort...
386
  	select CPU_XSC3
0cdc8b921   Nicolas Pitre   ARM: switch from ...
387
  	select NEED_MACH_MEMORY_H
13a5045d4   Rob Herring   ARM: make arch_re...
388
  	select NEED_RET_TO_USER
b1b3f49ce   Russell King   ARM: config: sort...
389
390
391
  	select PCI
  	select PLAT_IOP
  	select VMSPLIT_1G
37ebbcff7   Thomas Gleixner   arm: iop13xx: Use...
392
  	select SPARSE_IRQ
3b938be69   Russell King   [ARM] Ensure mach...
393
394
  	help
  	  Support for Intel's IOP13XX (XScale) family of processors.
3f7e5815f   Lennert Buytenhek   [ARM] 3817/1: iop...
395
396
  config ARCH_IOP32X
  	bool "IOP32x-based"
a4f7e7636   Russell King   [ARM] nommu: prev...
397
  	depends on MMU
c750815e2   Russell King   [ARM] Arrange for...
398
  	select CPU_XSCALE
e9004f503   Linus Walleij   ARM: plat-iop: mo...
399
  	select GPIO_IOP
5c34a4e89   Linus Walleij   ARM: do away with...
400
  	select GPIOLIB
13a5045d4   Rob Herring   ARM: make arch_re...
401
  	select NEED_RET_TO_USER
f7e68bbf4   Russell King   [PATCH] ARM: sele...
402
  	select PCI
b1b3f49ce   Russell King   ARM: config: sort...
403
  	select PLAT_IOP
f999b8bde   Martin Michlmayr   [ARM] 3304/1: Add...
404
  	help
3f7e5815f   Lennert Buytenhek   [ARM] 3817/1: iop...
405
406
407
408
409
410
  	  Support for Intel's 80219 and IOP32X (XScale) family of
  	  processors.
  
  config ARCH_IOP33X
  	bool "IOP33x-based"
  	depends on MMU
c750815e2   Russell King   [ARM] Arrange for...
411
  	select CPU_XSCALE
e9004f503   Linus Walleij   ARM: plat-iop: mo...
412
  	select GPIO_IOP
5c34a4e89   Linus Walleij   ARM: do away with...
413
  	select GPIOLIB
13a5045d4   Rob Herring   ARM: make arch_re...
414
  	select NEED_RET_TO_USER
3f7e5815f   Lennert Buytenhek   [ARM] 3817/1: iop...
415
  	select PCI
b1b3f49ce   Russell King   ARM: config: sort...
416
  	select PLAT_IOP
3f7e5815f   Lennert Buytenhek   [ARM] 3817/1: iop...
417
418
  	help
  	  Support for Intel's IOP33X (XScale) family of processors.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
419

3b938be69   Russell King   [ARM] Ensure mach...
420
421
  config ARCH_IXP4XX
  	bool "IXP4xx-based"
a4f7e7636   Russell King   [ARM] nommu: prev...
422
  	depends on MMU
58af4a244   Rob Herring   ARM: dma-mapping:...
423
  	select ARCH_HAS_DMA_SET_COHERENT_MASK
51aaf81fa   Russell King   ARM: keep arch/ar...
424
  	select ARCH_SUPPORTS_BIG_ENDIAN
234b6cedd   Russell King   clocksource: conv...
425
  	select CLKSRC_MMIO
c750815e2   Russell King   [ARM] Arrange for...
426
  	select CPU_XSCALE
b1b3f49ce   Russell King   ARM: config: sort...
427
  	select DMABOUNCE if PCI
3b938be69   Russell King   [ARM] Ensure mach...
428
  	select GENERIC_CLOCKEVENTS
5c34a4e89   Linus Walleij   ARM: do away with...
429
  	select GPIOLIB
0b05da720   Hans Ulli Kroll   ARM: 6520/1: Kcon...
430
  	select MIGHT_HAVE_PCI
c334bc150   Rob Herring   ARM: make mach/io...
431
  	select NEED_MACH_IO_H
9296d94d8   Florian Fainelli   USB: remove USB_E...
432
  	select USB_EHCI_BIG_ENDIAN_DESC
171b3f0da   Russell King   ARM: sort arch/ar...
433
  	select USB_EHCI_BIG_ENDIAN_MMIO
c47130743   Lennert Buytenhek   [ARM] 3388/1: ixp...
434
  	help
3b938be69   Russell King   [ARM] Ensure mach...
435
  	  Support for Intel's IXP4XX (XScale) family of processors.
c47130743   Lennert Buytenhek   [ARM] 3388/1: ixp...
436

edabd38e1   Saeed Bishara   ARM: add base sup...
437
438
  config ARCH_DOVE
  	bool "Marvell Dove"
756b25316   Sebastian Hesselbarth   ARM: 7711/1: dove...
439
  	select CPU_PJ4
edabd38e1   Saeed Bishara   ARM: add base sup...
440
  	select GENERIC_CLOCKEVENTS
5c34a4e89   Linus Walleij   ARM: do away with...
441
  	select GPIOLIB
0f81bd438   Russell King   ARM: Dove: allow ...
442
  	select MIGHT_HAVE_PCI
b8cd337c8   Arnd Bergmann   ARM: orion: alway...
443
  	select MULTI_IRQ_HANDLER
171b3f0da   Russell King   ARM: sort arch/ar...
444
  	select MVEBU_MBUS
9139acd1c   Sebastian Hesselbarth   ARM: Dove: Conver...
445
446
  	select PINCTRL
  	select PINCTRL_DOVE
abcda1dc3   Thomas Petazzoni   arm: plat-orion: ...
447
  	select PLAT_ORION_LEGACY
0bd869611   Haojian Zhuang   ARM: mmp: support...
448
  	select SPARSE_IRQ
c5d431e8c   Russell King   ARM: dove: conver...
449
  	select PM_GENERIC_DOMAINS if PM
788c9700e   Russell King   [ARM] Kconfig: so...
450
  	help
edabd38e1   Saeed Bishara   ARM: add base sup...
451
  	  Support for the Marvell Dove SoC 88AP510
788c9700e   Russell King   [ARM] Kconfig: so...
452
453
454
  
  config ARCH_KS8695
  	bool "Micrel/Kendin KS8695"
c7e783d6a   Linus Walleij   ARM: ks8695: conv...
455
  	select CLKSRC_MMIO
b1b3f49ce   Russell King   ARM: config: sort...
456
  	select CPU_ARM922T
c7e783d6a   Linus Walleij   ARM: ks8695: conv...
457
  	select GENERIC_CLOCKEVENTS
5c34a4e89   Linus Walleij   ARM: do away with...
458
  	select GPIOLIB
b1b3f49ce   Russell King   ARM: config: sort...
459
  	select NEED_MACH_MEMORY_H
788c9700e   Russell King   [ARM] Kconfig: so...
460
461
462
  	help
  	  Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
  	  System-on-Chip devices.
788c9700e   Russell King   [ARM] Kconfig: so...
463
464
  config ARCH_W90X900
  	bool "Nuvoton W90X900 CPU"
6d803ba73   Jean-Christop PLAGNIOL-VILLARD   ARM: 6483/1: arm ...
465
  	select CLKDEV_LOOKUP
6fa5d5f76   Russell King   clocksource: conv...
466
  	select CLKSRC_MMIO
b1b3f49ce   Russell King   ARM: config: sort...
467
  	select CPU_ARM926T
58b5369e6   wanzongshun   ARM: 5674/1: Add ...
468
  	select GENERIC_CLOCKEVENTS
5c34a4e89   Linus Walleij   ARM: do away with...
469
  	select GPIOLIB
788c9700e   Russell King   [ARM] Kconfig: so...
470
  	help
a8bc4eadd   wanzongshun   ARM: 5676/1: Prov...
471
472
473
474
475
476
477
  	  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>
788c9700e   Russell King   [ARM] Kconfig: so...
478

93e22567a   Russell King   ARM: config: make...
479
480
  config ARCH_LPC32XX
  	bool "NXP LPC32XX"
93e22567a   Russell King   ARM: config: make...
481
482
  	select ARM_AMBA
  	select CLKDEV_LOOKUP
c227f127e   Vladimir Zapolskiy   arm: lpc32xx: swi...
483
484
  	select CLKSRC_LPC32XX
  	select COMMON_CLK
93e22567a   Russell King   ARM: config: make...
485
486
  	select CPU_ARM926T
  	select GENERIC_CLOCKEVENTS
5c34a4e89   Linus Walleij   ARM: do away with...
487
  	select GPIOLIB
8cb17b5ed   Vladimir Zapolskiy   irqchip: Add LPC3...
488
489
  	select MULTI_IRQ_HANDLER
  	select SPARSE_IRQ
93e22567a   Russell King   ARM: config: make...
490
491
492
  	select USE_OF
  	help
  	  Support for the NXP LPC32XX family of processors
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
493
  config ARCH_PXA
2c8086a5d   eric miao   [ARM] pxa: PXA3xx...
494
  	bool "PXA2xx/PXA3xx-based"
a4f7e7636   Russell King   [ARM] nommu: prev...
495
  	depends on MMU
b1b3f49ce   Russell King   ARM: config: sort...
496
  	select ARCH_MTD_XIP
b1b3f49ce   Russell King   ARM: config: sort...
497
498
  	select ARM_CPU_SUSPEND if PM
  	select AUTO_ZRELADDR
a1c0a6adb   Robert Jarzmik   ARM: pxa: Transit...
499
  	select COMMON_CLK
6d803ba73   Jean-Christop PLAGNIOL-VILLARD   ARM: 6483/1: arm ...
500
  	select CLKDEV_LOOKUP
389d9b584   Daniel Lezcano   clocksource/drive...
501
  	select CLKSRC_PXA
234b6cedd   Russell King   clocksource: conv...
502
  	select CLKSRC_MMIO
bb0eb050a   Daniel Lezcano   clocksource/drive...
503
  	select TIMER_OF
2f2028615   Arnd Bergmann   ARM: pxa: always ...
504
  	select CPU_XSCALE if !CPU_XSC3
981d0f395   Eric Miao   [ARM] 4526/1: pxa...
505
  	select GENERIC_CLOCKEVENTS
157d2644c   Haojian Zhuang   ARM: pxa: change ...
506
  	select GPIO_PXA
5c34a4e89   Linus Walleij   ARM: do away with...
507
  	select GPIOLIB
d0ee9f404   Arnd Bergmann   ARM: limit CONFIG...
508
  	select HAVE_IDE
d6cf30ca7   Robert Jarzmik   ARM: pxa: fix pxa...
509
  	select IRQ_DOMAIN
b1b3f49ce   Russell King   ARM: config: sort...
510
  	select MULTI_IRQ_HANDLER
b1b3f49ce   Russell King   ARM: config: sort...
511
512
  	select PLAT_PXA
  	select SPARSE_IRQ
f999b8bde   Martin Michlmayr   [ARM] 3304/1: Add...
513
  	help
2c8086a5d   eric miao   [ARM] pxa: PXA3xx...
514
  	  Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
515
516
517
  
  config ARCH_RPC
  	bool "RiscPC"
868e87ccd   Russell King   ARM: make RiscPC ...
518
  	depends on MMU
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
519
  	select ARCH_ACORN
a08b6b796   Al Viro   [PATCH] Kconfig f...
520
  	select ARCH_MAY_HAVE_PC_FDC
07f841b7c   Russell King   [ARM] mm: enable ...
521
  	select ARCH_SPARSEMEM_ENABLE
5cfc8ee0b   John Stultz   ARM: convert arm ...
522
  	select ARCH_USES_GETTIMEOFFSET
fa04e209a   Arnd Bergmann   ARM: rpc: autosel...
523
  	select CPU_SA110
b1b3f49ce   Russell King   ARM: config: sort...
524
  	select FIQ
d0ee9f404   Arnd Bergmann   ARM: limit CONFIG...
525
  	select HAVE_IDE
b1b3f49ce   Russell King   ARM: config: sort...
526
527
  	select HAVE_PATA_PLATFORM
  	select ISA_DMA_API
c334bc150   Rob Herring   ARM: make mach/io...
528
  	select NEED_MACH_IO_H
0cdc8b921   Nicolas Pitre   ARM: switch from ...
529
  	select NEED_MACH_MEMORY_H
ce816fa88   Uwe Kleine-König   Kconfig: rename H...
530
  	select NO_IOPORT_MAP
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
531
532
533
534
535
536
  	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"
b1b3f49ce   Russell King   ARM: config: sort...
537
  	select ARCH_MTD_XIP
b1b3f49ce   Russell King   ARM: config: sort...
538
539
540
  	select ARCH_SPARSEMEM_ENABLE
  	select CLKDEV_LOOKUP
  	select CLKSRC_MMIO
389d9b584   Daniel Lezcano   clocksource/drive...
541
  	select CLKSRC_PXA
bb0eb050a   Daniel Lezcano   clocksource/drive...
542
  	select TIMER_OF if OF
1937f5b91   Russell King   ARM: fix sa1100 b...
543
  	select CPU_FREQ
b1b3f49ce   Russell King   ARM: config: sort...
544
  	select CPU_SA1100
3e238be2f   Russell King   [ARM] sa1100: add...
545
  	select GENERIC_CLOCKEVENTS
5c34a4e89   Linus Walleij   ARM: do away with...
546
  	select GPIOLIB
d0ee9f404   Arnd Bergmann   ARM: limit CONFIG...
547
  	select HAVE_IDE
1eca42b49   Dmitry Eremin-Solenikov   ARM: 8231/1: sa11...
548
  	select IRQ_DOMAIN
b1b3f49ce   Russell King   ARM: config: sort...
549
  	select ISA
affcab32e   Dmitry Eremin-Solenikov   ARM: 8227/1: sa11...
550
  	select MULTI_IRQ_HANDLER
0cdc8b921   Nicolas Pitre   ARM: switch from ...
551
  	select NEED_MACH_MEMORY_H
375dec927   Russell King   ARM: 7343/1: sa11...
552
  	select SPARSE_IRQ
f999b8bde   Martin Michlmayr   [ARM] 3304/1: Add...
553
554
  	help
  	  Support for StrongARM 11x0 based boards.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
555

b130d5c29   Kukjin Kim   ARM: S3C24XX: cha...
556
557
  config ARCH_S3C24XX
  	bool "Samsung S3C24XX SoCs"
335cce74f   Arnd Bergmann   ARM: samsung: sel...
558
  	select ATAGS
b1b3f49ce   Russell King   ARM: config: sort...
559
  	select CLKDEV_LOOKUP
4280506ac   Tomasz Figa   ARM: SAMSUNG: Mov...
560
  	select CLKSRC_SAMSUNG_PWM
7f78b6eb5   Romain Naour   ARM: S3C24XX: Add...
561
  	select GENERIC_CLOCKEVENTS
880cf0717   Tomasz Figa   ARM: SAMSUNG: Int...
562
  	select GPIO_SAMSUNG
5c34a4e89   Linus Walleij   ARM: do away with...
563
  	select GPIOLIB
20676c15e   Kukjin Kim   ARM: SAMSUNG: Fix...
564
  	select HAVE_S3C2410_I2C if I2C
b130d5c29   Kukjin Kim   ARM: S3C24XX: cha...
565
  	select HAVE_S3C2410_WATCHDOG if WATCHDOG
b1b3f49ce   Russell King   ARM: config: sort...
566
  	select HAVE_S3C_RTC if RTC_CLASS
17453dd2e   Heiko Stuebner   ARM: S3C24XX: add...
567
  	select MULTI_IRQ_HANDLER
c334bc150   Rob Herring   ARM: make mach/io...
568
  	select NEED_MACH_IO_H
cd8dc7ae4   Tomasz Figa   ARM: SAMSUNG: Int...
569
  	select SAMSUNG_ATAGS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
570
  	help
b130d5c29   Kukjin Kim   ARM: S3C24XX: cha...
571
572
573
574
  	  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).
63b1f51b2   Ben Dooks   ARM: SAMSUNG: Upd...
575

7c6337e22   Kevin Hilman   [ARM] 4303/3: bas...
576
577
  config ARCH_DAVINCI
  	bool "TI DaVinci"
b1b3f49ce   Russell King   ARM: config: sort...
578
  	select ARCH_HAS_HOLES_MEMORYMODEL
6d803ba73   Jean-Christop PLAGNIOL-VILLARD   ARM: 6483/1: arm ...
579
  	select CLKDEV_LOOKUP
ce32c5c5a   Arnd Bergmann   ARM: davinci: DA8...
580
  	select CPU_ARM926T
20e9969b3   David Brownell   davinci: add SRAM...
581
  	select GENERIC_ALLOCATOR
b1b3f49ce   Russell King   ARM: config: sort...
582
  	select GENERIC_CLOCKEVENTS
dc7ad3b3d   Russell King   ARM: Fix generic ...
583
  	select GENERIC_IRQ_CHIP
5c34a4e89   Linus Walleij   ARM: do away with...
584
  	select GPIOLIB
b1b3f49ce   Russell King   ARM: config: sort...
585
  	select HAVE_IDE
689e331f3   Sekhar Nori   ARM: davinci: da8...
586
  	select USE_OF
b1b3f49ce   Russell King   ARM: config: sort...
587
  	select ZONE_DMA
7c6337e22   Kevin Hilman   [ARM] 4303/3: bas...
588
589
  	help
  	  Support for TI's DaVinci platform.
a06948616   Tony Lindgren   ARM: OMAP2+: Enab...
590
591
  config ARCH_OMAP1
  	bool "TI OMAP1"
00a366983   Arnd Bergmann   ARM: OMAP depends...
592
  	depends on MMU
9af915da2   Sriram   ARCH OMAP : enabl...
593
  	select ARCH_HAS_HOLES_MEMORYMODEL
a06948616   Tony Lindgren   ARM: OMAP2+: Enab...
594
  	select ARCH_OMAP
b1b3f49ce   Russell King   ARM: config: sort...
595
  	select CLKDEV_LOOKUP
d6e15d785   Russell King   clocksource: conv...
596
  	select CLKSRC_MMIO
b1b3f49ce   Russell King   ARM: config: sort...
597
  	select GENERIC_CLOCKEVENTS
a06948616   Tony Lindgren   ARM: OMAP2+: Enab...
598
  	select GENERIC_IRQ_CHIP
5c34a4e89   Linus Walleij   ARM: do away with...
599
  	select GPIOLIB
a06948616   Tony Lindgren   ARM: OMAP2+: Enab...
600
601
  	select HAVE_IDE
  	select IRQ_DOMAIN
b694331cf   Tony Lindgren   ARM: omap1: Switc...
602
  	select MULTI_IRQ_HANDLER
a06948616   Tony Lindgren   ARM: OMAP2+: Enab...
603
604
  	select NEED_MACH_IO_H if PCCARD
  	select NEED_MACH_MEMORY_H
685e2d08c   Tony Lindgren   ARM: OMAP1: Chang...
605
  	select SPARSE_IRQ
21f47fbc5   Alexey Charkov   ARM: 6597/1: Add ...
606
  	help
a06948616   Tony Lindgren   ARM: OMAP2+: Enab...
607
  	  Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
02c981c07   Binghua Duan   ARM: CSR: Adding ...
608

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
609
  endchoice
387798b37   Rob Herring   ARM: initial mult...
610
611
612
613
  menu "Multiple platform selection"
  	depends on ARCH_MULTIPLATFORM
  
  comment "CPU Core family selection"
f8afae40a   Arnd Bergmann   ARM: moxart: fix ...
614
615
616
617
618
  config ARCH_MULTI_V4
  	bool "ARMv4 based platforms (FA526)"
  	depends on !ARCH_MULTI_V6_V7
  	select ARCH_MULTI_V4_V5
  	select CPU_FA526
387798b37   Rob Herring   ARM: initial mult...
619
620
  config ARCH_MULTI_V4T
  	bool "ARMv4T based platforms (ARM720T, ARM920T, ...)"
387798b37   Rob Herring   ARM: initial mult...
621
  	depends on !ARCH_MULTI_V6_V7
b1b3f49ce   Russell King   ARM: config: sort...
622
  	select ARCH_MULTI_V4_V5
24e860fbf   Arnd Bergmann   ARM: multiplatfor...
623
624
625
  	select CPU_ARM920T if !(CPU_ARM7TDMI || CPU_ARM720T || \
  		CPU_ARM740T || CPU_ARM9TDMI || CPU_ARM922T || \
  		CPU_ARM925T || CPU_ARM940T)
387798b37   Rob Herring   ARM: initial mult...
626
627
628
  
  config ARCH_MULTI_V5
  	bool "ARMv5 based platforms (ARM926T, XSCALE, PJ1, ...)"
387798b37   Rob Herring   ARM: initial mult...
629
  	depends on !ARCH_MULTI_V6_V7
b1b3f49ce   Russell King   ARM: config: sort...
630
  	select ARCH_MULTI_V4_V5
12567bbde   Andrew Lunn   ARM: Fix default ...
631
  	select CPU_ARM926T if !(CPU_ARM946E || CPU_ARM1020 || \
24e860fbf   Arnd Bergmann   ARM: multiplatfor...
632
633
  		CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || \
  		CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_FEROCEON)
387798b37   Rob Herring   ARM: initial mult...
634
635
636
637
638
  
  config ARCH_MULTI_V4_V5
  	bool
  
  config ARCH_MULTI_V6
8dda05ccd   Stephen Boyd   ARM: Scorpion is ...
639
  	bool "ARMv6 based platforms (ARM11)"
387798b37   Rob Herring   ARM: initial mult...
640
  	select ARCH_MULTI_V6_V7
42f4754a0   Rob Herring   ARM: Select V6K i...
641
  	select CPU_V6K
387798b37   Rob Herring   ARM: initial mult...
642
643
  
  config ARCH_MULTI_V7
8dda05ccd   Stephen Boyd   ARM: Scorpion is ...
644
  	bool "ARMv7 based platforms (Cortex-A, PJ4, Scorpion, Krait)"
387798b37   Rob Herring   ARM: initial mult...
645
646
  	default y
  	select ARCH_MULTI_V6_V7
b1b3f49ce   Russell King   ARM: config: sort...
647
  	select CPU_V7
90bc8ac77   Rob Herring   ARM: select HAVE_...
648
  	select HAVE_SMP
387798b37   Rob Herring   ARM: initial mult...
649
650
651
  
  config ARCH_MULTI_V6_V7
  	bool
9352b05b6   Rob Herring   ARM: select MIGHT...
652
  	select MIGHT_HAVE_CACHE_L2X0
387798b37   Rob Herring   ARM: initial mult...
653
654
655
656
657
658
  
  config ARCH_MULTI_CPU_AUTO
  	def_bool !(ARCH_MULTI_V4 || ARCH_MULTI_V4T || ARCH_MULTI_V6_V7)
  	select ARCH_MULTI_V5
  
  endmenu
05e2a3dec   Rob Herring   ARM: virt: make m...
659
  config ARCH_VIRT
e32465429   Masahiro Yamada   ARM: use "depends...
660
661
  	bool "Dummy Virtual Machine"
  	depends on ARCH_MULTI_V7
4b8b5f25b   Rob Herring   ARM: virt: select...
662
  	select ARM_AMBA
05e2a3dec   Rob Herring   ARM: virt: make m...
663
  	select ARM_GIC
3ee803641   Arnd Bergmann   PCI/MSI: irqchip:...
664
  	select ARM_GIC_V2M if PCI
0b28f1db3   Jean-Philippe Brucker   ARM: virt: select...
665
  	select ARM_GIC_V3
bb29cecb3   Vladimir Murzin   ARM: virt: Select...
666
  	select ARM_GIC_V3_ITS if PCI
05e2a3dec   Rob Herring   ARM: virt: make m...
667
  	select ARM_PSCI
4b8b5f25b   Rob Herring   ARM: virt: select...
668
  	select HAVE_ARM_ARCH_TIMER
05e2a3dec   Rob Herring   ARM: virt: make m...
669

ccf50e234   Russell King   ARM: Fix sorting ...
670
671
672
673
674
  #
  # 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.
  #
3e93a22b4   Gregory CLEMENT   arm: mach-mvebu: ...
675
  source "arch/arm/mach-mvebu/Kconfig"
6bb8536cb   Andreas Färber   ARM: Prepare Acti...
676
  source "arch/arm/mach-actions/Kconfig"
445d9b306   Tsahee Zidenberg   ARM: Alpine: Init...
677
  source "arch/arm/mach-alpine/Kconfig"
590b460c3   Lars Persson   arm: initial mach...
678
  source "arch/arm/mach-artpec/Kconfig"
d9bfc86dc   Oleksij Rempel   ARM: add mach-asm...
679
  source "arch/arm/mach-asm9260/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
680
  source "arch/arm/mach-at91/Kconfig"
1d22924e1   Anders Berg   ARM: Add platform...
681
  source "arch/arm/mach-axxia/Kconfig"
8ac49e048   Christian Daudt   Add support for g...
682
  source "arch/arm/mach-bcm/Kconfig"
1c37fa10b   Sebastian Hesselbarth   ARM: add initial ...
683
  source "arch/arm/mach-berlin/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
684
  source "arch/arm/mach-clps711x/Kconfig"
d94f944e1   Anton Vorontsov   ARM: cns3xxx: Add...
685
  source "arch/arm/mach-cns3xxx/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
686
  source "arch/arm/mach-davinci/Kconfig"
df8d742e9   Baruch Siach   ARM: initial supp...
687
  source "arch/arm/mach-digicolor/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
688
  source "arch/arm/mach-dove/Kconfig"
e7736d47a   Lennert Buytenhek   [ARM] 3369/1: ep9...
689
  source "arch/arm/mach-ep93xx/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
690
  source "arch/arm/mach-footbridge/Kconfig"
59d3a193f   Paulius Zaleckas   ARM: Add Gemini a...
691
  source "arch/arm/mach-gemini/Kconfig"
387798b37   Rob Herring   ARM: initial mult...
692
  source "arch/arm/mach-highbank/Kconfig"
389ee0c2f   Haojian Zhuang   ARM: hisi: rename...
693
  source "arch/arm/mach-hisi/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
694
  source "arch/arm/mach-integrator/Kconfig"
3f7e5815f   Lennert Buytenhek   [ARM] 3817/1: iop...
695
696
697
  source "arch/arm/mach-iop32x/Kconfig"
  
  source "arch/arm/mach-iop33x/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
698

285f5fa7e   Dan Williams   [ARM] 3995/1: iop...
699
  source "arch/arm/mach-iop13xx/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
700
  source "arch/arm/mach-ixp4xx/Kconfig"
828989ad8   Santosh Shilimkar   ARM: keystone: Ad...
701
  source "arch/arm/mach-keystone/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
702
  source "arch/arm/mach-ks8695/Kconfig"
3b8f5030d   Carlo Caione   ARM: meson: add b...
703
  source "arch/arm/mach-meson/Kconfig"
17723fd35   Jonas Jensen   ARM: moxart: add ...
704
  source "arch/arm/mach-moxart/Kconfig"
8c2ed9bcf   Joel Stanley   arm: Add Aspeed m...
705
  source "arch/arm/mach-aspeed/Kconfig"
794d15b25   Stanislav Samsonov   [ARM] add Marvell...
706
  source "arch/arm/mach-mv78xx0/Kconfig"
3995eb820   Shawn Guo   ARM: imx: merge p...
707
  source "arch/arm/mach-imx/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
708

f682a2185   Matthias Brugger   arm: add basic su...
709
  source "arch/arm/mach-mediatek/Kconfig"
1d3f33d54   Shawn Guo   ARM: mxs: Add bui...
710
  source "arch/arm/mach-mxs/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
711
  source "arch/arm/mach-netx/Kconfig"
49cbe7863   Eric Miao   [ARM] pxa: add ba...
712

95b8f20fd   Russell King   ARM: fix badly pl...
713
  source "arch/arm/mach-nomadik/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
714

9851ca577   Daniel Tang   arm: Add Initial ...
715
  source "arch/arm/mach-nspire/Kconfig"
d48af15ea   Tony Lindgren   [PATCH] ARM: 2802...
716
717
718
  source "arch/arm/plat-omap/Kconfig"
  
  source "arch/arm/mach-omap1/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
719

1dbae815a   Tony Lindgren   [ARM] 3145/1: OMA...
720
  source "arch/arm/mach-omap2/Kconfig"
9dd0b194b   Lennert Buytenhek   Orion: orion -> o...
721
  source "arch/arm/mach-orion5x/Kconfig"
585cf1756   Tzachi Perelstein   [ARM] basic suppo...
722

387798b37   Rob Herring   ARM: initial mult...
723
  source "arch/arm/mach-picoxcell/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
724
725
  source "arch/arm/mach-pxa/Kconfig"
  source "arch/arm/plat-pxa/Kconfig"
585cf1756   Tzachi Perelstein   [ARM] basic suppo...
726

95b8f20fd   Russell King   ARM: fix badly pl...
727
  source "arch/arm/mach-mmp/Kconfig"
8c9184b7d   Neil Armstrong   ARM: Add new mach...
728
  source "arch/arm/mach-oxnas/Kconfig"
8fc1b0f87   Kumar Gala   ARM: qcom: Split ...
729
  source "arch/arm/mach-qcom/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
730
  source "arch/arm/mach-realview/Kconfig"
d63dc0514   Heiko Stuebner   arm: add basic su...
731
  source "arch/arm/mach-rockchip/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
732
  source "arch/arm/mach-sa1100/Kconfig"
edabd38e1   Saeed Bishara   ARM: add base sup...
733

387798b37   Rob Herring   ARM: initial mult...
734
  source "arch/arm/mach-socfpga/Kconfig"
a7ed099ff   Arnd Bergmann   ARM: spear: move ...
735
  source "arch/arm/mach-spear/Kconfig"
a21765a70   Ben Dooks   [ARM] 4157/2: S3C...
736

65ebcc115   Srinivas Kandagatla   ARM: sti: Add STi...
737
  source "arch/arm/mach-sti/Kconfig"
bcb84fb4d   Alexandre TORGUE   ARM: stm32: creat...
738
  source "arch/arm/mach-stm32/Kconfig"
85fd6d63b   Kukjin Kim   ARM: S3C2410: mov...
739
  source "arch/arm/mach-s3c24xx/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
740

431107ea5   Ben Dooks   ARM: S3C64XX: Mer...
741
  source "arch/arm/mach-s3c64xx/Kconfig"
a08ab6376   Ben Dooks   [ARM] S3C64XX: In...
742

170f4e425   Kukjin Kim   ARM: S5PV210: Upd...
743
  source "arch/arm/mach-s5pv210/Kconfig"
830145796   Kukjin Kim   ARM: EXYNOS: Add ...
744
  source "arch/arm/mach-exynos/Kconfig"
e509b289f   Rob Herring   ARM: exynos: clea...
745
  source "arch/arm/plat-samsung/Kconfig"
cc0e72b87   Changhwan Youn   ARM: S5PV310: Add...
746

882d01f96   Russell King   Merge branch 'for...
747
  source "arch/arm/mach-shmobile/Kconfig"
52c543f90   Quinn Jensen   [ARM] 4461/1: MXC...
748

3b52634f0   Maxime Ripard   ARM: sunxi: Add b...
749
  source "arch/arm/mach-sunxi/Kconfig"
156a09979   Barry Song   ARM: PRIMA2: adju...
750
  source "arch/arm/mach-prima2/Kconfig"
d6de5b029   Marc Gonzalez   ARM: tango4: Init...
751
  source "arch/arm/mach-tango/Kconfig"
c5f800656   Erik Gilling   [ARM] tegra: init...
752
  source "arch/arm/mach-tegra/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
753
  source "arch/arm/mach-u300/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
754

ba56a9876   Masahiro Yamada   ARM: UniPhier: ad...
755
  source "arch/arm/mach-uniphier/Kconfig"
95b8f20fd   Russell King   ARM: fix badly pl...
756
  source "arch/arm/mach-ux500/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
757
758
  
  source "arch/arm/mach-versatile/Kconfig"
ceade897f   Russell King   ARM: Add Versatil...
759
  source "arch/arm/mach-vexpress/Kconfig"
420c34e4c   Russell King   ARM: add versatil...
760
  source "arch/arm/plat-versatile/Kconfig"
ceade897f   Russell King   ARM: Add Versatil...
761

6f35f9a9f   Tony Prisk   ARM: vt8500: Conv...
762
  source "arch/arm/mach-vt8500/Kconfig"
7ec80ddf0   wanzongshun   [ARM] 5338/1: Add...
763
  source "arch/arm/mach-w90x900/Kconfig"
acede515b   Jun Nie   ARM: zx: add basi...
764
  source "arch/arm/mach-zx/Kconfig"
9a45eb691   Josh Cartwright   ARM: zynq: add su...
765
  source "arch/arm/mach-zynq/Kconfig"
499f16402   Stefan Agner   ARM: use ARM_SING...
766
767
768
769
  # ARMv7-M architecture
  config ARCH_EFM32
  	bool "Energy Micro efm32"
  	depends on ARM_SINGLE_ARMV7M
5c34a4e89   Linus Walleij   ARM: do away with...
770
  	select GPIOLIB
499f16402   Stefan Agner   ARM: use ARM_SING...
771
772
773
774
775
776
777
778
779
780
781
782
783
784
  	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.
1847119dc   Vladimir Murzin   ARM: vexpress/mps...
785
  config ARCH_MPS2
17bd274e3   Baruch Siach   ARM: mps2: fix typo
786
  	bool "ARM MPS2 platform"
1847119dc   Vladimir Murzin   ARM: vexpress/mps...
787
788
789
790
791
792
793
794
795
  	depends on ARM_SINGLE_ARMV7M
  	select ARM_AMBA
  	select CLKSRC_MPS2
  	help
  	  Support for Cortex-M Prototyping System (or V2M-MPS2) which comes
  	  with a range of available cores like Cortex-M3/M4/M7.
  
  	  Please, note that depends which Application Note is used memory map
  	  for the platform may vary, so adjustment of RAM base might be needed.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
796
797
798
  # Definitions to make life easier
  config ARCH_ACORN
  	bool
7ae1f7ec5   Lennert Buytenhek   [ARM] 3818/1: iop...
799
800
  config PLAT_IOP
  	bool
469d30448   Mikael Pettersson   iop: clockevent s...
801
  	select GENERIC_CLOCKEVENTS
7ae1f7ec5   Lennert Buytenhek   [ARM] 3818/1: iop...
802

69b02f6a9   Lennert Buytenhek   plat-orion: intro...
803
804
  config PLAT_ORION
  	bool
bfe45e0be   Russell King   clocksource: conv...
805
  	select CLKSRC_MMIO
b1b3f49ce   Russell King   ARM: config: sort...
806
  	select COMMON_CLK
dc7ad3b3d   Russell King   ARM: Fix generic ...
807
  	select GENERIC_IRQ_CHIP
278b45b06   Andrew Lunn   ARM: Orion: DT su...
808
  	select IRQ_DOMAIN
69b02f6a9   Lennert Buytenhek   plat-orion: intro...
809

abcda1dc3   Thomas Petazzoni   arm: plat-orion: ...
810
811
812
  config PLAT_ORION_LEGACY
  	bool
  	select PLAT_ORION
bd5ce4332   Eric Miao   [ARM] pxa: introd...
813
814
  config PLAT_PXA
  	bool
f4b8b319b   Russell King   ARM: Realview/Ver...
815
816
  config PLAT_VERSATILE
  	bool
d9a1beaa1   Alexandre Courbot   ARM: add basic su...
817
  source "arch/arm/firmware/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
818
  source arch/arm/mm/Kconfig
afe4b25e7   Lennert Buytenhek   [ARM] 3881/4: xsc...
819
  config IWMMXT
d93003e8e   Sebastian Hesselbarth   ARM: 8042/1: iwmm...
820
821
822
  	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
afe4b25e7   Lennert Buytenhek   [ARM] 3881/4: xsc...
823
824
825
  	help
  	  Enable support for iWMMXt context switching at run time if
  	  running on a CPU that supports it.
521086412   eric miao   ARM: 6532/1: Allo...
826
827
828
829
  config MULTI_IRQ_HANDLER
  	bool
  	help
  	  Allow each machine to specify it's own IRQ handler at run time.
3b93e7b08   Hyok S. Choi   [ARM] nommu: add ...
830
831
832
  if !MMU
  source "arch/arm/Kconfig-nommu"
  endif
3e0a07f8c   Gregory CLEMENT   ARM: 7773/1: PJ4B...
833
834
835
836
837
838
839
840
841
842
843
844
845
  config PJ4B_ERRATA_4742
  	bool "PJ4B Errata 4742: IDLE Wake Up Commands can Cause the CPU Core to Cease Operation"
  	depends on CPU_PJ4B && MACH_ARMADA_370
  	default y
  	help
  	  When coming out of either a Wait for Interrupt (WFI) or a Wait for
  	  Event (WFE) IDLE states, a specific timing sensitivity exists between
  	  the retiring WFI/WFE instructions and the newly issued subsequent
  	  instructions.  This sensitivity can result in a CPU hang scenario.
  	  Workaround:
  	  The software must insert either a Data Synchronization Barrier (DSB)
  	  or Data Memory Barrier (DMB) command immediately after the WFI/WFE
  	  instruction
f0c4b8d65   Will Deacon   ARM: 7396/1: erra...
846
847
848
849
850
851
852
853
  config ARM_ERRATA_326103
  	bool "ARM errata: FSR write bit incorrect on a SWP to read-only memory"
  	depends on CPU_V6
  	help
  	  Executing a SWP instruction to read-only memory does not set bit 11
  	  of the FSR on the ARM 1136 prior to r1p0. This causes the kernel to
  	  treat the access as a read, preventing a COW from occurring and
  	  causing the faulting task to livelock.
9cba3ccc8   Catalin Marinas   [ARM] 5488/1: ARM...
854
855
  config ARM_ERRATA_411920
  	bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
e399b1a4e   Russell King   ARM: v6k: introdu...
856
  	depends on CPU_V6 || CPU_V6K
9cba3ccc8   Catalin Marinas   [ARM] 5488/1: ARM...
857
858
859
860
861
  	help
  	  Invalidation of the Instruction Cache operation can
  	  fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
  	  It does not affect the MPCore. This option enables the ARM Ltd.
  	  recommended workaround.
7ce236fcd   Catalin Marinas   [ARM] 5487/1: ARM...
862
863
864
865
866
  config ARM_ERRATA_430973
  	bool "ARM errata: Stale prediction on replaced interworking branch"
  	depends on CPU_V7
  	help
  	  This option enables the workaround for the 430973 Cortex-A8
79403cda3   Russell King   ARM: update errat...
867
  	  r1p* erratum. If a code sequence containing an ARM/Thumb
7ce236fcd   Catalin Marinas   [ARM] 5487/1: ARM...
868
869
870
871
872
873
874
875
876
  	  interworking branch is replaced with another code sequence at the
  	  same virtual address, whether due to self-modifying code or virtual
  	  to physical address re-mapping, Cortex-A8 does not recover from the
  	  stale interworking branch prediction. This results in Cortex-A8
  	  executing the new code sequence in the incorrect ARM or Thumb state.
  	  The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
  	  and also flushes the branch target cache at every context switch.
  	  Note that setting specific bits in the ACTLR register may not be
  	  available in non-secure mode.
855c551f5   Catalin Marinas   [ARM] 5490/1: ARM...
877
878
879
  config ARM_ERRATA_458693
  	bool "ARM errata: Processor deadlock when a false hazard is created"
  	depends on CPU_V7
62e4d357a   Rob Herring   ARM: 7609/1: disa...
880
  	depends on !ARCH_MULTIPLATFORM
855c551f5   Catalin Marinas   [ARM] 5490/1: ARM...
881
882
883
884
885
886
887
888
889
  	help
  	  This option enables the workaround for the 458693 Cortex-A8 (r2p0)
  	  erratum. For very specific sequences of memory operations, it is
  	  possible for a hazard condition intended for a cache line to instead
  	  be incorrectly associated with a different cache line. This false
  	  hazard might then cause a processor deadlock. The workaround enables
  	  the L1 caching of the NEON accesses and disables the PLD instruction
  	  in the ACTLR register. Note that setting specific bits in the ACTLR
  	  register may not be available in non-secure mode.
0516e4643   Catalin Marinas   [ARM] 5489/1: ARM...
890
891
892
  config ARM_ERRATA_460075
  	bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
  	depends on CPU_V7
62e4d357a   Rob Herring   ARM: 7609/1: disa...
893
  	depends on !ARCH_MULTIPLATFORM
0516e4643   Catalin Marinas   [ARM] 5489/1: ARM...
894
895
896
897
898
899
900
901
  	help
  	  This option enables the workaround for the 460075 Cortex-A8 (r2p0)
  	  erratum. Any asynchronous access to the L2 cache may encounter a
  	  situation in which recent store transactions to the L2 cache are lost
  	  and overwritten with stale memory contents from external memory. The
  	  workaround disables the write-allocate mode for the L2 cache via the
  	  ACTLR register. Note that setting specific bits in the ACTLR register
  	  may not be available in non-secure mode.
9f05027c7   Will Deacon   ARM: 6388/1: erra...
902
903
904
  config ARM_ERRATA_742230
  	bool "ARM errata: DMB operation may be faulty"
  	depends on CPU_V7 && SMP
62e4d357a   Rob Herring   ARM: 7609/1: disa...
905
  	depends on !ARCH_MULTIPLATFORM
9f05027c7   Will Deacon   ARM: 6388/1: erra...
906
907
908
909
910
911
912
913
  	help
  	  This option enables the workaround for the 742230 Cortex-A9
  	  (r1p0..r2p2) erratum. Under rare circumstances, a DMB instruction
  	  between two write operations may not ensure the correct visibility
  	  ordering of the two writes. This workaround sets a specific bit in
  	  the diagnostic register of the Cortex-A9 which causes the DMB
  	  instruction to behave as a DSB, ensuring the correct behaviour of
  	  the two writes.
a672e99b1   Will Deacon   ARM: 6389/1: erra...
914
915
916
  config ARM_ERRATA_742231
  	bool "ARM errata: Incorrect hazard handling in the SCU may lead to data corruption"
  	depends on CPU_V7 && SMP
62e4d357a   Rob Herring   ARM: 7609/1: disa...
917
  	depends on !ARCH_MULTIPLATFORM
a672e99b1   Will Deacon   ARM: 6389/1: erra...
918
919
920
921
922
923
924
925
926
927
  	help
  	  This option enables the workaround for the 742231 Cortex-A9
  	  (r2p0..r2p2) erratum. Under certain conditions, specific to the
  	  Cortex-A9 MPCore micro-architecture, two CPUs working in SMP mode,
  	  accessing some data located in the same cache line, may get corrupted
  	  data due to bad handling of the address hazard when the line gets
  	  replaced from one of the CPUs at the same time as another CPU is
  	  accessing it. This workaround sets specific bits in the diagnostic
  	  register of the Cortex-A9 which reduces the linefill issuing
  	  capabilities of the processor.
691557941   Jon Medhurst   ARM: 7752/1: erra...
928
929
930
  config ARM_ERRATA_643719
  	bool "ARM errata: LoUIS bit field in CLIDR register is incorrect"
  	depends on CPU_V7 && SMP
e5a5de444   Russell King   ARM: enable ARM e...
931
  	default y
691557941   Jon Medhurst   ARM: 7752/1: erra...
932
933
934
935
936
937
  	help
  	  This option enables the workaround for the 643719 Cortex-A9 (prior to
  	  r1p0) erratum. On affected cores the LoUIS bit field of the CLIDR
  	  register returns zero when it should return one. The workaround
  	  corrects this value, ensuring cache maintenance operations which use
  	  it behave as intended and avoiding data corruption.
cdf357f1e   Will Deacon   ARM: 6299/1: erra...
938
939
  config ARM_ERRATA_720789
  	bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID"
e66dc7452   Dave Martin   ARM: 7196/1: erra...
940
  	depends on CPU_V7
cdf357f1e   Will Deacon   ARM: 6299/1: erra...
941
942
943
944
945
946
947
948
  	help
  	  This option enables the workaround for the 720789 Cortex-A9 (prior to
  	  r2p0) erratum. A faulty ASID can be sent to the other CPUs for the
  	  broadcasted CP15 TLB maintenance operations TLBIASIDIS and TLBIMVAIS.
  	  As a consequence of this erratum, some TLB entries which should be
  	  invalidated are not, resulting in an incoherency in the system page
  	  tables. The workaround changes the TLB flushing routines to invalidate
  	  entries regardless of the ASID.
475d92fc6   Will Deacon   ARM: 6416/1: erra...
949
950
951
952
  
  config ARM_ERRATA_743622
  	bool "ARM errata: Faulty hazard checking in the Store Buffer may lead to data corruption"
  	depends on CPU_V7
62e4d357a   Rob Herring   ARM: 7609/1: disa...
953
  	depends on !ARCH_MULTIPLATFORM
475d92fc6   Will Deacon   ARM: 6416/1: erra...
954
955
  	help
  	  This option enables the workaround for the 743622 Cortex-A9
efbc74ace   Will Deacon   ARM: 7345/1: erra...
956
  	  (r2p*) erratum. Under very rare conditions, a faulty
475d92fc6   Will Deacon   ARM: 6416/1: erra...
957
958
959
960
961
962
  	  optimisation in the Cortex-A9 Store Buffer may lead to data
  	  corruption. This workaround sets a specific bit in the diagnostic
  	  register of the Cortex-A9 which disables the Store Buffer
  	  optimisation, preventing the defect from occurring. This has no
  	  visible impact on the overall performance or power consumption of the
  	  processor.
9a27c27ce   Will Deacon   ARM: 6743/1: erra...
963
964
  config ARM_ERRATA_751472
  	bool "ARM errata: Interrupted ICIALLUIS may prevent completion of broadcasted operation"
ba90c516b   Dave Martin   ARM: 7197/1: erra...
965
  	depends on CPU_V7
62e4d357a   Rob Herring   ARM: 7609/1: disa...
966
  	depends on !ARCH_MULTIPLATFORM
9a27c27ce   Will Deacon   ARM: 6743/1: erra...
967
968
969
970
971
972
  	help
  	  This option enables the workaround for the 751472 Cortex-A9 (prior
  	  to r3p0) erratum. An interrupted ICIALLUIS operation may prevent the
  	  completion of a following broadcasted operation if the second
  	  operation is received by a CPU before the ICIALLUIS has completed,
  	  potentially leading to corrupted entries in the cache or TLB.
fcbdc5fe6   Will Deacon   ARM: 6772/1: erra...
973
974
975
976
977
978
979
980
981
982
  config ARM_ERRATA_754322
  	bool "ARM errata: possible faulty MMU translations following an ASID switch"
  	depends on CPU_V7
  	help
  	  This option enables the workaround for the 754322 Cortex-A9 (r2p*,
  	  r3p*) erratum. A speculative memory access may cause a page table walk
  	  which starts prior to an ASID switch but completes afterwards. This
  	  can populate the micro-TLB with a stale entry which may be hit with
  	  the new ASID. This workaround places two dsb instructions in the mm
  	  switching code so that no page table walks can cross the ASID switch.
5dab26af1   Will Deacon   ARM: 6784/1: erra...
983
984
985
986
987
988
989
990
991
992
  config ARM_ERRATA_754327
  	bool "ARM errata: no automatic Store Buffer drain"
  	depends on CPU_V7 && SMP
  	help
  	  This option enables the workaround for the 754327 Cortex-A9 (prior to
  	  r2p0) erratum. The Store Buffer does not have any automatic draining
  	  mechanism and therefore a livelock may occur if an external agent
  	  continuously polls a memory location waiting to observe an update.
  	  This workaround defines cpu_relax() as smp_mb(), preventing correctly
  	  written polling loops from denying visibility of updates to memory.
145e10e17   Catalin Marinas   ARM: 7015/1: ARM ...
993
994
  config ARM_ERRATA_364296
  	bool "ARM errata: Possible cache data corruption with hit-under-miss enabled"
fd8324784   Fabio Estevam   ARM: 7782/1: Kcon...
995
  	depends on CPU_V6
145e10e17   Catalin Marinas   ARM: 7015/1: ARM ...
996
997
998
999
1000
1001
1002
1003
  	help
  	  This options enables the workaround for the 364296 ARM1136
  	  r0p2 erratum (possible cache data corruption with
  	  hit-under-miss enabled). It sets the undocumented bit 31 in
  	  the auxiliary control register and the FI bit in the control
  	  register, thus disabling hit-under-miss without putting the
  	  processor into full low interrupt latency mode. ARM11MPCore
  	  is not affected.
f630c1bdf   Will Deacon   ARM: 7091/1: erra...
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
  config ARM_ERRATA_764369
  	bool "ARM errata: Data cache line maintenance operation by MVA may not succeed"
  	depends on CPU_V7 && SMP
  	help
  	  This option enables the workaround for erratum 764369
  	  affecting Cortex-A9 MPCore with two or more processors (all
  	  current revisions). Under certain timing circumstances, a data
  	  cache line maintenance operation by MVA targeting an Inner
  	  Shareable memory region may fail to proceed up to either the
  	  Point of Coherency or to the Point of Unification of the
  	  system. This workaround adds a DSB instruction before the
  	  relevant cache maintenance functions and sets a specific bit
  	  in the diagnostic control register of the SCU.
7253b85cc   Simon Horman   ARM: 7541/1: Add ...
1017
1018
1019
1020
1021
1022
1023
1024
1025
  config ARM_ERRATA_775420
         bool "ARM errata: A data cache maintenance operation which aborts, might lead to deadlock"
         depends on CPU_V7
         help
  	 This option enables the workaround for the 775420 Cortex-A9 (r2p2,
  	 r2p6,r2p8,r2p10,r3p0) erratum. In case a date cache maintenance
  	 operation aborts with MMU exception, it might cause the processor
  	 to deadlock. This workaround puts DSB before executing ISB if
  	 an abort may occur on cache maintenance.
93dc68876   Catalin Marinas   ARM: 7684/1: erra...
1026
1027
1028
1029
1030
1031
1032
1033
1034
  config ARM_ERRATA_798181
  	bool "ARM errata: TLBI/DSB failure on Cortex-A15"
  	depends on CPU_V7 && SMP
  	help
  	  On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not
  	  adequately shooting down all use of the old entries. This
  	  option enables the Linux kernel workaround for this erratum
  	  which sends an IPI to the CPUs that are running the same ASID
  	  as the one being invalidated.
84b6504f5   Will Deacon   ARM: 7823/1: erra...
1035
1036
1037
1038
1039
1040
1041
1042
  config ARM_ERRATA_773022
  	bool "ARM errata: incorrect instructions may be executed from loop buffer"
  	depends on CPU_V7
  	help
  	  This option enables the workaround for the 773022 Cortex-A15
  	  (up to r0p4) erratum. In certain rare sequences of code, the
  	  loop buffer may deliver incorrect instructions. This
  	  workaround disables the loop buffer to avoid the erratum.
62c0f4a53   Doug Anderson   ARM: 8558/1: erra...
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
  config ARM_ERRATA_818325_852422
  	bool "ARM errata: A12: some seqs of opposed cond code instrs => deadlock or corruption"
  	depends on CPU_V7
  	help
  	  This option enables the workaround for:
  	  - Cortex-A12 818325: Execution of an UNPREDICTABLE STR or STM
  	    instruction might deadlock.  Fixed in r0p1.
  	  - Cortex-A12 852422: Execution of a sequence of instructions might
  	    lead to either a data corruption or a CPU deadlock.  Not fixed in
  	    any Cortex-A12 cores yet.
  	  This workaround for all both errata involves setting bit[12] of the
  	  Feature Register. This bit disables an optimisation applied to a
  	  sequence of 2 instructions that use opposing condition codes.
416bcf215   Doug Anderson   ARM: 8559/1: erra...
1056
1057
1058
1059
1060
1061
1062
1063
1064
  config ARM_ERRATA_821420
  	bool "ARM errata: A12: sequence of VMOV to core registers might lead to a dead lock"
  	depends on CPU_V7
  	help
  	  This option enables the workaround for the 821420 Cortex-A12
  	  (all revs) erratum. In very rare timing conditions, a sequence
  	  of VMOV to Core registers instructions, for which the second
  	  one is in the shadow of a branch or abort, can lead to a
  	  deadlock when the VMOV instructions are issued out-of-order.
9f6f93543   Doug Anderson   ARM: 8560/1: erra...
1065
1066
1067
1068
1069
1070
1071
1072
  config ARM_ERRATA_825619
  	bool "ARM errata: A12: DMB NSHST/ISHST mixed ... might cause deadlock"
  	depends on CPU_V7
  	help
  	  This option enables the workaround for the 825619 Cortex-A12
  	  (all revs) erratum. Within rare timing constraints, executing a
  	  DMB NSHST or DMB ISHST instruction followed by a mix of Cacheable
  	  and Device/Strongly-Ordered loads and stores might cause deadlock
5d28c8a51   Jason Liu   MLK-11284 ARM: ER...
1073
1074
1075
1076
1077
1078
1079
1080
1081
  config ARM_ERRATA_814220
  	bool "ARM errata: Cache maintenance by set/way operations can execute out of order"
  	depends on CPU_V7
  	help
  	  The v7 ARM states that all cache and branch predictor maintenance operations
  	  that do not specify an address execute, relative to each other, in program order.
  	  However, because of this erratum, an L2 set/way cache maintenance operation can
  	  overtake an L1 set/way cache maintenance operation. This ERRATA only affected the
  	  Cortex-A7 and present in r0p2, r0p3, r0p4, r0p5.
9f6f93543   Doug Anderson   ARM: 8560/1: erra...
1082
1083
1084
1085
1086
1087
1088
1089
  config ARM_ERRATA_852421
  	bool "ARM errata: A17: DMB ST might fail to create order between stores"
  	depends on CPU_V7
  	help
  	  This option enables the workaround for the 852421 Cortex-A17
  	  (r1p0, r1p1, r1p2) erratum. Under very rare timing conditions,
  	  execution of a DMB ST instruction might fail to properly order
  	  stores from GroupA and stores from GroupB.
62c0f4a53   Doug Anderson   ARM: 8558/1: erra...
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
  config ARM_ERRATA_852423
  	bool "ARM errata: A17: some seqs of opposed cond code instrs => deadlock or corruption"
  	depends on CPU_V7
  	help
  	  This option enables the workaround for:
  	  - Cortex-A17 852423: Execution of a sequence of instructions might
  	    lead to either a data corruption or a CPU deadlock.  Not fixed in
  	    any Cortex-A17 cores yet.
  	  This is identical to Cortex-A12 erratum 852422.  It is a separate
  	  config option from the A12 erratum due to the way errata are checked
  	  for and handled.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1101
1102
1103
  endmenu
  
  source "arch/arm/common/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1104
  menu "Bus support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1105
1106
  config ISA
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1107
1108
1109
1110
1111
1112
  	help
  	  Find out whether you have ISA slots on your motherboard.  ISA is the
  	  name of a bus system, i.e. the way the CPU talks to the other stuff
  	  inside your box.  Other bus systems are PCI, EISA, MicroChannel
  	  (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
  	  newer boards don't support it.  If you have ISA, say Y, otherwise N.
065909b91   Russell King   [ARM] Refine sele...
1113
  # Select ISA DMA controller support
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1114
1115
  config ISA_DMA
  	bool
065909b91   Russell King   [ARM] Refine sele...
1116
  	select ISA_DMA_API
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1117

065909b91   Russell King   [ARM] Refine sele...
1118
  # Select ISA DMA interface
5cae841b1   Al Viro   [PATCH] ISA DMA K...
1119
1120
  config ISA_DMA_API
  	bool
5cae841b1   Al Viro   [PATCH] ISA DMA K...
1121

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1122
  config PCI
0b05da720   Hans Ulli Kroll   ARM: 6520/1: Kcon...
1123
  	bool "PCI support" if MIGHT_HAVE_PCI
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1124
1125
1126
1127
1128
  	help
  	  Find out whether you have a PCI motherboard. PCI is the name of a
  	  bus system, i.e. the way the CPU talks to the other stuff inside
  	  your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  	  VESA. If you have PCI, say Y, otherwise N.
52882173c   Anton Vorontsov   ARM: 6058/1: Add ...
1129
1130
1131
  config PCI_DOMAINS
  	bool
  	depends on PCI
8c7d14746   Lorenzo Pieralisi   ARM/PCI: Move to ...
1132
1133
  config PCI_DOMAINS_GENERIC
  	def_bool PCI_DOMAINS
b080ac8ad   Marcelo Roberto Jimenez   ARM: 6459/2: sa11...
1134
1135
1136
1137
1138
  config PCI_NANOENGINE
  	bool "BSE nanoEngine PCI support"
  	depends on SA1100_NANOENGINE
  	help
  	  Enable PCI on the BSE nanoEngine board.
36e235901   Matthew Wilcox   PCI: Only build P...
1139
1140
  config PCI_SYSCALL
  	def_bool PCI
a0113a99c   Mike Rapoport   [ARM] 4667/1: CM-...
1141
1142
1143
1144
1145
  config PCI_HOST_ITE8152
  	bool
  	depends on PCI && MACH_ARMCORE
  	default y
  	select DMABOUNCE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1146
1147
1148
1149
1150
1151
1152
  source "drivers/pci/Kconfig"
  
  source "drivers/pcmcia/Kconfig"
  
  endmenu
  
  menu "Kernel Features"
3b55658ae   Dave Martin   ARM: SMP: Refacto...
1153
1154
1155
1156
1157
1158
1159
1160
  config HAVE_SMP
  	bool
  	help
  	  This option should be selected by machines which have an SMP-
  	  capable CPU.
  
  	  The only effect of this option is to make the SMP-related
  	  options available to the user for configuration.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1161
  config SMP
bb2d8130d   Russell King   ARM: SMP: drop ex...
1162
  	bool "Symmetric Multi-Processing"
fbb4ddacb   Russell King   ARM: v6k: only al...
1163
  	depends on CPU_V6K || CPU_V7
bc28248ee   Russell King   [ARM] smp: move c...
1164
  	depends on GENERIC_CLOCKEVENTS
3b55658ae   Dave Martin   ARM: SMP: Refacto...
1165
  	depends on HAVE_SMP
801bb21c6   Jonathan Austin   ARM: mpu: Allow e...
1166
  	depends on MMU || ARM_MPU
0361748f3   Arnd Bergmann   ARM: 8371/1: alwa...
1167
  	select IRQ_WORK
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1168
1169
  	help
  	  This enables support for systems with more than one CPU. If you have
4a4741577   Robert Graffham   Kconfig: update f...
1170
1171
  	  a system with only one CPU, say N. If you have a system with more
  	  than one CPU, say Y.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1172

4a4741577   Robert Graffham   Kconfig: update f...
1173
  	  If you say N here, the kernel will run on uni- and multiprocessor
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1174
  	  machines, but will use only one CPU of a multiprocessor machine. If
4a4741577   Robert Graffham   Kconfig: update f...
1175
1176
1177
  	  you say Y here, the kernel will run on many, but not all,
  	  uniprocessor machines. On a uniprocessor machine, the kernel
  	  will run faster if you say N here.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1178

395cf9691   Paul Bolle   doc: fix broken r...
1179
  	  See also <file:Documentation/x86/i386/IO-APIC.txt>,
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1180
  	  <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
50a23e6ee   Justin P. Mattock   Update broken web...
1181
  	  <http://tldp.org/HOWTO/SMP-HOWTO.html>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1182
1183
  
  	  If you don't know what to do here, say N.
f00ec48fa   Russell King   ARM: Allow SMP ke...
1184
  config SMP_ON_UP
5744ff43c   Russell King   ARM: drop experim...
1185
  	bool "Allow booting SMP kernel on uniprocessor systems"
801bb21c6   Jonathan Austin   ARM: mpu: Allow e...
1186
  	depends on SMP && !XIP_KERNEL && MMU
f00ec48fa   Russell King   ARM: Allow SMP ke...
1187
1188
1189
1190
1191
1192
1193
1194
  	default y
  	help
  	  SMP kernels contain instructions which fail on non-SMP processors.
  	  Enabling this option allows the kernel to modify itself to make
  	  these instructions safe.  Disabling it allows about 1K of space
  	  savings.
  
  	  If you don't know what to do here, say Y.
c9018aab8   Vincent Guittot   ARM: 7011/1: Add ...
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
  config ARM_CPU_TOPOLOGY
  	bool "Support cpu topology definition"
  	depends on SMP && CPU_V7
  	default y
  	help
  	  Support ARM cpu topology definition. The MPIDR register defines
  	  affinity between processors which is then used to describe the cpu
  	  topology of an ARM System.
  
  config SCHED_MC
  	bool "Multi-core scheduler support"
  	depends on ARM_CPU_TOPOLOGY
  	help
  	  Multi-core scheduler support improves the CPU scheduler's decision
  	  making when dealing with multi-core CPU chips at a cost of slightly
  	  increased overhead in some places. If unsure say N here.
  
  config SCHED_SMT
  	bool "SMT scheduler support"
  	depends on ARM_CPU_TOPOLOGY
  	help
  	  Improves the CPU scheduler's decision making when dealing with
  	  MultiThreading at a cost of slightly increased overhead in some
  	  places. If unsure say N here.
a8cbcd92b   Russell King   [ARM] smp: separa...
1219
1220
  config HAVE_ARM_SCU
  	bool
a8cbcd92b   Russell King   [ARM] smp: separa...
1221
1222
  	help
  	  This option enables support for the ARM system coherency unit
8a4da6e36   Mark Rutland   arm: arch_timer: ...
1223
  config HAVE_ARM_ARCH_TIMER
022c03a2d   Marc Zyngier   ARM: local timers...
1224
1225
  	bool "Architected timer support"
  	depends on CPU_V7
8a4da6e36   Mark Rutland   arm: arch_timer: ...
1226
  	select ARM_ARCH_TIMER
0c403462d   Will Deacon   ARM: 7894/1: kcon...
1227
  	select GENERIC_CLOCKEVENTS
022c03a2d   Marc Zyngier   ARM: local timers...
1228
1229
  	help
  	  This option enables support for the ARM architected timer
f32f4ce25   Russell King   [ARM] smp: allow ...
1230
1231
  config HAVE_ARM_TWD
  	bool
bb0eb050a   Daniel Lezcano   clocksource/drive...
1232
  	select TIMER_OF if OF
f32f4ce25   Russell King   [ARM] smp: allow ...
1233
1234
  	help
  	  This options enables support for the ARM timer and watchdog unit
e8db288e0   Nicolas Pitre   ARM: multi-cluste...
1235
1236
1237
1238
1239
1240
1241
  config MCPM
  	bool "Multi-Cluster Power Management"
  	depends on CPU_V7 && SMP
  	help
  	  This option provides the common power management infrastructure
  	  for (multi-)cluster based systems, such as big.LITTLE based
  	  systems.
ebf4a5c5b   Haojian Zhuang   ARM: mcpm: suppor...
1242
1243
1244
1245
1246
1247
1248
1249
  config MCPM_QUAD_CLUSTER
  	bool
  	depends on MCPM
  	help
  	  To avoid wasting resources unnecessarily, MCPM only supports up
  	  to 2 clusters by default.
  	  Platforms with 3 or 4 clusters that use MCPM must select this
  	  option to allow the additional clusters to be managed.
1c33be574   Nicolas Pitre   ARM: b.L: core sw...
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
  config BIG_LITTLE
  	bool "big.LITTLE support (Experimental)"
  	depends on CPU_V7 && SMP
  	select MCPM
  	help
  	  This option enables support selections for the big.LITTLE
  	  system architecture.
  
  config BL_SWITCHER
  	bool "big.LITTLE switcher support"
6c044fecd   Arnd Bergmann   ARM: 8458/1: bL_s...
1260
  	depends on BIG_LITTLE && MCPM && HOTPLUG_CPU && ARM_GIC
51aaf81fa   Russell King   ARM: keep arch/ar...
1261
  	select CPU_PM
1c33be574   Nicolas Pitre   ARM: b.L: core sw...
1262
1263
1264
1265
  	help
  	  The big.LITTLE "switcher" provides the core functionality to
  	  transparently handle transition between a cluster of A15's
  	  and a cluster of A7's in a big.LITTLE system.
b22537c68   Nicolas Pitre   ARM: bL_switcher:...
1266
1267
1268
1269
1270
1271
1272
  config BL_SWITCHER_DUMMY_IF
  	tristate "Simple big.LITTLE switcher user interface"
  	depends on BL_SWITCHER && DEBUG_KERNEL
  	help
  	  This is a simple and dummy char dev interface to control
  	  the big.LITTLE switcher core code.  It is meant for
  	  debugging purposes only.
8d5796d2e   Lennert Buytenhek   [ARM] 5222/1: All...
1273
1274
  choice
  	prompt "Memory split"
006fa2599   Russell King   ARM: fix noMMU ka...
1275
  	depends on MMU
8d5796d2e   Lennert Buytenhek   [ARM] 5222/1: All...
1276
1277
1278
1279
1280
1281
1282
1283
1284
  	default VMSPLIT_3G
  	help
  	  Select the desired split between kernel and user memory.
  
  	  If you are not absolutely sure what you are doing, leave this
  	  option alone!
  
  	config VMSPLIT_3G
  		bool "3G/1G user/kernel split"
63ce446c9   Nicolas Pitre   ARM: 8433/1: add ...
1285
  	config VMSPLIT_3G_OPT
bbeedfda8   Yisheng Xie   ARM: 8681/1: make...
1286
  		depends on !ARM_LPAE
63ce446c9   Nicolas Pitre   ARM: 8433/1: add ...
1287
  		bool "3G/1G user/kernel split (for full 1G low memory)"
8d5796d2e   Lennert Buytenhek   [ARM] 5222/1: All...
1288
1289
1290
1291
1292
1293
1294
1295
  	config VMSPLIT_2G
  		bool "2G/2G user/kernel split"
  	config VMSPLIT_1G
  		bool "1G/3G user/kernel split"
  endchoice
  
  config PAGE_OFFSET
  	hex
006fa2599   Russell King   ARM: fix noMMU ka...
1296
  	default PHYS_OFFSET if !MMU
8d5796d2e   Lennert Buytenhek   [ARM] 5222/1: All...
1297
1298
  	default 0x40000000 if VMSPLIT_1G
  	default 0x80000000 if VMSPLIT_2G
63ce446c9   Nicolas Pitre   ARM: 8433/1: add ...
1299
  	default 0xB0000000 if VMSPLIT_3G_OPT
8d5796d2e   Lennert Buytenhek   [ARM] 5222/1: All...
1300
  	default 0xC0000000
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1301
1302
1303
1304
1305
  config NR_CPUS
  	int "Maximum number of CPUs (2-32)"
  	range 2 32
  	depends on SMP
  	default "4"
a054a8115   Russell King   [ARM SMP] Add hot...
1306
  config HOTPLUG_CPU
00b7dede8   Russell King   ARM: drop experim...
1307
  	bool "Support for hot-pluggable CPUs"
40b313608   Stephen Rothwell   Finally eradicate...
1308
  	depends on SMP
a054a8115   Russell King   [ARM SMP] Add hot...
1309
1310
1311
  	help
  	  Say Y here to experiment with turning CPUs off and on.  CPUs
  	  can be controlled through /sys/devices/system/cpu.
2bdd424f2   Will Deacon   ARM: psci: add su...
1312
1313
  config ARM_PSCI
  	bool "Support for the ARM Power State Coordination Interface (PSCI)"
e679660db   Jens Wiklander   ARM: 8481/2: driv...
1314
  	depends on HAVE_ARM_SMCCC
be120397e   Mark Rutland   ARM: migrate to c...
1315
  	select ARM_PSCI_FW
2bdd424f2   Will Deacon   ARM: psci: add su...
1316
1317
1318
1319
1320
1321
  	help
  	  Say Y here if you want Linux to communicate with system firmware
  	  implementing the PSCI specification for CPU-centric power
  	  management operations described in ARM document number ARM DEN
  	  0022A ("Power State Coordination Interface System Software on
  	  ARM processors").
2a6ad871a   Maxime Ripard   ARM: multiplatfor...
1322
1323
1324
  # The GPIO number here must be sorted by descending number. In case of
  # a multiplatform kernel, we just want the highest value required by the
  # selected platforms.
44986ab05   Peter De Schrijver (NVIDIA)   ARM: 7240/1: Make...
1325
1326
  config ARCH_NR_GPIO
  	int
139358be2   Marek Vasut   ARM: socfpga: Inc...
1327
  	default 2048 if ARCH_SOCFPGA
b35d2e561   Gregory Fong   ARM: brcmstb: Add...
1328
1329
  	default 1024 if ARCH_BRCMSTB || ARCH_SHMOBILE || ARCH_TEGRA || \
  		ARCH_ZYNQ
aa42587a4   Tomasz Figa   ARM: S5PV210: Ena...
1330
1331
  	default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
  		SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
eb171a997   Boris BREZILLON   ARM: sunxi: updat...
1332
  	default 416 if ARCH_SUNXI
06b851e58   Olof Johansson   Merge branch 'lpc...
1333
  	default 392 if ARCH_U8500
01bb914c8   Tony Prisk   arm: vt8500: Incr...
1334
  	default 352 if ARCH_VT8500
7b5da4c3b   Heiko Stuebner   ARM: Kconfig: set...
1335
  	default 288 if ARCH_ROCKCHIP
2a6ad871a   Maxime Ripard   ARM: multiplatfor...
1336
  	default 264 if MACH_H4700
44986ab05   Peter De Schrijver (NVIDIA)   ARM: 7240/1: Make...
1337
1338
1339
1340
1341
  	default 0
  	help
  	  Maximum number of GPIOs in the system.
  
  	  If unsure, leave the default value.
d45a398fc   Uwe Kleine-König   Use kernel/Kconfi...
1342
  source kernel/Kconfig.preempt
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1343

c9218b163   Russell King   ARM: Allow select...
1344
  config HZ_FIXED
f80658137   Russell King   [ARM] Move HZ def...
1345
  	int
da6b21e97   Krzysztof Kozlowski   ARM: Drop fixed 2...
1346
  	default 200 if ARCH_EBSA110
1164f672d   Alexandre Belloni   ARM: at91: drop A...
1347
  	default 128 if SOC_AT91RM9200
47d846827   Russell King   ARM: fix forced-H...
1348
  	default 0
c9218b163   Russell King   ARM: Allow select...
1349
1350
  
  choice
47d846827   Russell King   ARM: fix forced-H...
1351
  	depends on HZ_FIXED = 0
c9218b163   Russell King   ARM: Allow select...
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
  	prompt "Timer frequency"
  
  config HZ_100
  	bool "100 Hz"
  
  config HZ_200
  	bool "200 Hz"
  
  config HZ_250
  	bool "250 Hz"
  
  config HZ_300
  	bool "300 Hz"
  
  config HZ_500
  	bool "500 Hz"
  
  config HZ_1000
  	bool "1000 Hz"
  
  endchoice
  
  config HZ
  	int
47d846827   Russell King   ARM: fix forced-H...
1376
  	default HZ_FIXED if HZ_FIXED != 0
c9218b163   Russell King   ARM: Allow select...
1377
1378
1379
1380
1381
1382
1383
1384
1385
  	default 100 if HZ_100
  	default 200 if HZ_200
  	default 250 if HZ_250
  	default 300 if HZ_300
  	default 500 if HZ_500
  	default 1000
  
  config SCHED_HRTICK
  	def_bool HIGH_RES_TIMERS
f80658137   Russell King   [ARM] Move HZ def...
1386

16c79651a   Catalin Marinas   Thumb-2: Add Thum...
1387
  config THUMB2_KERNEL
bc7dea00a   Uwe Kleine-König   ARM: let CPUs not...
1388
  	bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY
4477ca45f   Uwe Kleine-König   ARM: ARMv7-M: All...
1389
  	depends on (CPU_V7 || CPU_V7M) && !CPU_V6 && !CPU_V6K
bc7dea00a   Uwe Kleine-König   ARM: let CPUs not...
1390
  	default y if CPU_THUMBONLY
16c79651a   Catalin Marinas   Thumb-2: Add Thum...
1391
  	select ARM_ASM_UNIFIED
89bace652   Arnd Bergmann   ARM: always use A...
1392
  	select ARM_UNWIND
16c79651a   Catalin Marinas   Thumb-2: Add Thum...
1393
1394
1395
1396
1397
1398
  	help
  	  By enabling this option, the kernel will be compiled in
  	  Thumb-2 mode. A compiler/assembler that understand the unified
  	  ARM-Thumb syntax is needed.
  
  	  If unsure, say N.
6f685c5cd   Dave Martin   ARM: 6781/1: Thum...
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
  config THUMB2_AVOID_R_ARM_THM_JUMP11
  	bool "Work around buggy Thumb-2 short branch relocations in gas"
  	depends on THUMB2_KERNEL && MODULES
  	default y
  	help
  	  Various binutils versions can resolve Thumb-2 branches to
  	  locally-defined, preemptible global symbols as short-range "b.n"
  	  branch instructions.
  
  	  This is a problem, because there's no guarantee the final
  	  destination of the symbol, or any candidate locations for a
  	  trampoline, are within range of the branch.  For this reason, the
  	  kernel does not support fixing up the R_ARM_THM_JUMP11 (102)
  	  relocation in modules at all, and it makes little sense to add
  	  support.
  
  	  The symptom is that the kernel fails with an "unsupported
  	  relocation" error when loading some modules.
  
  	  Until fixed tools are available, passing
  	  -fno-optimize-sibling-calls to gcc should prevent gcc generating
  	  code which hits this problem, at the cost of a bit of extra runtime
  	  stack usage in some cases.
  
  	  The problem is described in more detail at:
  	      https://bugs.launchpad.net/binutils-linaro/+bug/725126
  
  	  Only Thumb-2 kernels are affected.
  
  	  Unless you are sure your tools don't have this problem, say Y.
0becb0885   Catalin Marinas   Thumb-2: Add macr...
1429
1430
  config ARM_ASM_UNIFIED
  	bool
42f25bddd   Nicolas Pitre   ARM: 8477/1: runt...
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
  config ARM_PATCH_IDIV
  	bool "Runtime patch udiv/sdiv instructions into __aeabi_{u}idiv()"
  	depends on CPU_32v7 && !XIP_KERNEL
  	default y
  	help
  	  The ARM compiler inserts calls to __aeabi_idiv() and
  	  __aeabi_uidiv() when it needs to perform division on signed
  	  and unsigned integers. Some v7 CPUs have support for the sdiv
  	  and udiv instructions that can be used to implement those
  	  functions.
  
  	  Enabling this option allows the kernel to modify itself to
  	  replace the first two instructions of these library functions
  	  with the sdiv or udiv plus "bx lr" instructions when the CPU
  	  it is running on supports them. Typically this will be faster
  	  and less power intensive than running the original library
  	  code to do integer division.
704bdda03   Nicolas Pitre   [ARM] 3107/3: ARM...
1448
  config AEABI
494609701   Russell King   ARM: always enabl...
1449
1450
  	bool "Use the ARM EABI to compile the kernel" if !CPU_V7 && !CPU_V7M && !CPU_V6 && !CPU_V6K
  	default CPU_V7 || CPU_V7M || CPU_V6 || CPU_V6K
704bdda03   Nicolas Pitre   [ARM] 3107/3: ARM...
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
  	help
  	  This option allows for the kernel to be compiled using the latest
  	  ARM ABI (aka EABI).  This is only useful if you are using a user
  	  space environment that is also compiled with EABI.
  
  	  Since there are major incompatibilities between the legacy ABI and
  	  EABI, especially with regard to structure member alignment, this
  	  option also changes the kernel syscall calling convention to
  	  disambiguate both ABIs and allow for backward compatibility support
  	  (selected with CONFIG_OABI_COMPAT).
  
  	  To use this you need GCC version 4.0.0 or later.
6c90c8720   Nicolas Pitre   [ARM] 3112/1: old...
1463
  config OABI_COMPAT
a73a3ff12   Russell King   [ARM] Experimenta...
1464
  	bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
d6f94fa0f   Kees Cook   arch/arm: remove ...
1465
  	depends on AEABI && !THUMB2_KERNEL
6c90c8720   Nicolas Pitre   [ARM] 3112/1: old...
1466
1467
1468
1469
1470
1471
1472
  	help
  	  This option preserves the old syscall interface along with the
  	  new (ARM EABI) one. It also provides a compatibility layer to
  	  intercept syscalls that have structure arguments which layout
  	  in memory differs between the legacy ABI and the new ARM EABI
  	  (only for non "thumb" binaries). This option adds a tiny
  	  overhead to all syscalls and produces a slightly larger kernel.
917021751   Kees Cook   ARM: 7888/1: secc...
1473
1474
1475
1476
  
  	  The seccomp filter system will not be available when this is
  	  selected, since there is no way yet to sensibly distinguish
  	  between calling conventions during filtering.
6c90c8720   Nicolas Pitre   [ARM] 3112/1: old...
1477
1478
1479
1480
  	  If you know you'll be using only pure EABI user space then you
  	  can say N here. If this option is not selected and you attempt
  	  to execute a legacy ABI binary then the result will be
  	  UNPREDICTABLE (in fact it can be predicted that it won't work
b02f84671   Kees Cook   ARM: 7886/1: make...
1481
  	  at all). If in doubt say N.
6c90c8720   Nicolas Pitre   [ARM] 3112/1: old...
1482

eb33575cf   Mel Gorman   [ARM] Double chec...
1483
  config ARCH_HAS_HOLES_MEMORYMODEL
e80d6a248   Mel Gorman   [ARM] Skip memory...
1484
  	bool
e80d6a248   Mel Gorman   [ARM] Skip memory...
1485

05944d74b   Russell King   [ARM] Add initial...
1486
1487
  config ARCH_SPARSEMEM_ENABLE
  	bool
07a2f737b   Russell King   [ARM] mm: depreca...
1488
1489
  config ARCH_SPARSEMEM_DEFAULT
  	def_bool ARCH_SPARSEMEM_ENABLE
05944d74b   Russell King   [ARM] Add initial...
1490
  config ARCH_SELECT_MEMORY_MODEL
be3703027   Russell King   ARM: Remove DISCO...
1491
  	def_bool ARCH_SPARSEMEM_ENABLE
c80d79d74   Yasunori Goto   [PATCH] Configura...
1492

7b7bf499f   Will Deacon   ARM: 6913/1: spar...
1493
1494
  config HAVE_ARCH_PFN_VALID
  	def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
e585513b7   Kirill A. Shutemov   x86/mm/gup: Switc...
1495
  config HAVE_GENERIC_GUP
b8cd51afe   Steve Capper   arm: mm: enable R...
1496
1497
  	def_bool y
  	depends on ARM_LPAE
053a96ca1   Nicolas Pitre   [ARM] add CONFIG_...
1498
  config HIGHMEM
e8db89a24   Russell King   ARM: Highmem: dro...
1499
1500
  	bool "High Memory Support"
  	depends on MMU
053a96ca1   Nicolas Pitre   [ARM] add CONFIG_...
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
  	help
  	  The address space of ARM processors is only 4 Gigabytes large
  	  and it has to accommodate user address space, kernel address
  	  space as well as some memory mapped IO. That means that, if you
  	  have a large amount of physical memory and/or IO, not all of the
  	  memory can be "permanently mapped" by the kernel. The physical
  	  memory that is not permanently mapped is called "high memory".
  
  	  Depending on the selected kernel/user memory split, minimum
  	  vmalloc space and actual amount of RAM, you may not need this
  	  option which should result in a slightly faster kernel.
  
  	  If unsure, say n.
65cec8e3d   Russell King   ARM: implement hi...
1514
  config HIGHPTE
9a431bd5a   Russell King   ARM: make highpte...
1515
  	bool "Allocate 2nd-level pagetables from highmem" if EXPERT
65cec8e3d   Russell King   ARM: implement hi...
1516
  	depends on HIGHMEM
9a431bd5a   Russell King   ARM: make highpte...
1517
  	default y
b4d103d1a   Russell King   ARM: add help tex...
1518
1519
1520
1521
1522
1523
  	help
  	  The VM uses one page of physical memory for each page table.
  	  For systems with a lot of processes, this can use a lot of
  	  precious low memory, eventually leading to low memory being
  	  consumed by page tables.  Setting this option will allow
  	  user-space 2nd level page tables to reside in high memory.
65cec8e3d   Russell King   ARM: implement hi...
1524

a5e090acb   Russell King   ARM: software-bas...
1525
1526
1527
  config CPU_SW_DOMAIN_PAN
  	bool "Enable use of CPU domains to implement privileged no-access"
  	depends on MMU && !ARM_LPAE
1b8873a0c   Jamie Iles   ARM: 5902/4: arm/...
1528
1529
  	default y
  	help
a5e090acb   Russell King   ARM: software-bas...
1530
1531
1532
1533
1534
1535
1536
1537
1538
  	  Increase kernel security by ensuring that normal kernel accesses
  	  are unable to access userspace addresses.  This can help prevent
  	  use-after-free bugs becoming an exploitable privilege escalation
  	  by ensuring that magic values (such as LIST_POISON) will always
  	  fault when dereferenced.
  
  	  CPUs with low-vector mappings use a best-efforts implementation.
  	  Their lower 1MB needs to remain accessible for the vectors, but
  	  the remainder of userspace will become appropriately inaccessible.
65cec8e3d   Russell King   ARM: implement hi...
1539

1b8873a0c   Jamie Iles   ARM: 5902/4: arm/...
1540
  config HW_PERF_EVENTS
fa8ad7889   Mark Rutland   arm: perf: factor...
1541
1542
  	def_bool y
  	depends on ARM_PMU
1b8873a0c   Jamie Iles   ARM: 5902/4: arm/...
1543

1355e2a6e   Catalin Marinas   ARM: mm: HugeTLB ...
1544
1545
1546
  config SYS_SUPPORTS_HUGETLBFS
         def_bool y
         depends on ARM_LPAE
8d9625070   Catalin Marinas   ARM: mm: Transpar...
1547
1548
1549
  config HAVE_ARCH_TRANSPARENT_HUGEPAGE
         def_bool y
         depends on ARM_LPAE
4bfab2034   Steven Capper   ARM: 7792/1: mm: ...
1550
1551
  config ARCH_WANT_GENERAL_HUGETLB
  	def_bool y
7d485f647   Ard Biesheuvel   ARM: 8220/1: allo...
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
  config ARM_MODULE_PLTS
  	bool "Use PLTs to allow module memory to spill over into vmalloc area"
  	depends on MODULES
  	help
  	  Allocate PLTs when loading modules so that jumps and calls whose
  	  targets are too far away for their relative offsets to be encoded
  	  in the instructions themselves can be bounced via veneers in the
  	  module's PLT. This allows modules to be allocated in the generic
  	  vmalloc area after the dedicated module memory area has been
  	  exhausted. The modules will use slightly more memory, but after
  	  rounding up to page size, the actual memory footprint is usually
  	  the same.
  
  	  Say y if you are getting out of memory errors while loading modules
3f22ab276   Dave Hansen   [PATCH] make each...
1566
  source "mm/Kconfig"
c1b2d9704   Magnus Damm   ARM: 6206/1: CONF...
1567
  config FORCE_MAX_ZONEORDER
36d6c9280   Ulrich Hecht   ARM: shmobile: re...
1568
  	int "Maximum zone order"
898f08e15   Yegor Yefremov   arm: increase FOR...
1569
  	default "12" if SOC_AM33XX
6d85e2b0b   Uwe Kleine-König   ARM: new platform...
1570
  	default "9" if SA1111 || ARCH_EFM32
2154cd490   Xianzhong   MGS-1132 ARM: Kco...
1571
  	default "14" if ARCH_MXC
c1b2d9704   Magnus Damm   ARM: 6206/1: CONF...
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
  	default "11"
  	help
  	  The kernel memory allocator divides physically contiguous memory
  	  blocks into "zones", where each zone is a power of two number of
  	  pages.  This option selects the largest power of two that the kernel
  	  keeps in the memory allocator.  If you need to allocate very large
  	  blocks of physically contiguous memory, then you may need to
  	  increase this value.
  
  	  This config option is actually maximum order plus one. For example,
  	  a value of 11 means that the largest free memory block is 2^10 pages.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1583
1584
  config ALIGNMENT_TRAP
  	bool
f12d0d7c7   Hyok S. Choi   [ARM] nommu: mana...
1585
  	depends on CPU_CP15_MMU
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1586
  	default y if !ARCH_EBSA110
e119bfff1   Russell King   ARM: Move creatio...
1587
  	select HAVE_PROC_CPU if PROC_FS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1588
  	help
84eb8d060   Matt LaPlante   Fix "can not" in ...
1589
  	  ARM processors cannot fetch/store information which is not
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1590
1591
1592
1593
1594
1595
  	  naturally aligned on the bus, i.e., a 4 byte fetch must start at an
  	  address divisible by 4. On 32-bit ARM processors, these non-aligned
  	  fetch/store instructions will be emulated in software if you say
  	  here, which has a severe performance impact. This is necessary for
  	  correct operation of some network protocols. With an IP-only
  	  configuration it is safe to say N, otherwise say Y.
39ec58f3f   Lennert Buytenhek   [ARM] alternative...
1596
  config UACCESS_WITH_MEMCPY
38ef2ad5f   Linus Walleij   ARM: 7531/1: mark...
1597
1598
  	bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user()"
  	depends on MMU
39ec58f3f   Lennert Buytenhek   [ARM] alternative...
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
  	default y if CPU_FEROCEON
  	help
  	  Implement faster copy_to_user and clear_user methods for CPU
  	  cores where a 8-word STM instruction give significantly higher
  	  memory write throughput than a sequence of individual 32bit stores.
  
  	  A possible side effect is a slight increase in scheduling latency
  	  between threads sharing the same address space if they invoke
  	  such copy operations with large buffers.
  
  	  However, if the CPU data cache is using a write-allocate mode,
  	  this option is unlikely to provide any performance gain.
70c70d978   Nicolas Pitre   ARM: SECCOMP support
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
  config SECCOMP
  	bool
  	prompt "Enable seccomp to safely compute untrusted bytecode"
  	---help---
  	  This kernel feature is useful for number crunching applications
  	  that may need to compute untrusted bytecode during their
  	  execution. By using pipes or other transports made available to
  	  the process as file descriptors supporting the read/write
  	  syscalls, it's possible to isolate those applications in
  	  their own address space using seccomp. Once seccomp is
  	  enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
  	  and the task is only allowed to execute a few safe syscalls
  	  defined by each seccomp mode.
06e6295bc   Stefano Stabellini   arm: make SWIOTLB...
1624
1625
1626
1627
1628
  config SWIOTLB
  	def_bool y
  
  config IOMMU_HELPER
  	def_bool SWIOTLB
02c2433b3   Stefano Stabellini   arm: introduce CO...
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
  config PARAVIRT
  	bool "Enable paravirtualization code"
  	help
  	  This changes the kernel so it can modify itself when it is run
  	  under a hypervisor, potentially improving performance significantly
  	  over full virtualization.
  
  config PARAVIRT_TIME_ACCOUNTING
  	bool "Paravirtual steal time accounting"
  	select PARAVIRT
  	default n
  	help
  	  Select this option to enable fine granularity task steal time
  	  accounting. Time spent executing other tasks in parallel with
  	  the current vCPU is discounted from the vCPU power. To account for
  	  that, there can be a small performance impact.
  
  	  If in doubt, say N here.
eff8d6447   Stefano Stabellini   xen/arm: introduc...
1647
1648
1649
1650
1651
  config XEN_DOM0
  	def_bool y
  	depends on XEN
  
  config XEN
c2ba1f7d3   Julien Grall   arm{,64}/xen: Rem...
1652
  	bool "Xen guest support on ARM"
85323a991   Ian Campbell   xen: arm: mandate...
1653
  	depends on ARM && AEABI && OF
f880b67dc   Arnd Bergmann   ARM: Xen: fix ini...
1654
  	depends on CPU_V7 && !CPU_V6
85323a991   Ian Campbell   xen: arm: mandate...
1655
  	depends on !GENERIC_ATOMIC64
7693decce   Uwe Kleine-König   ARM: XEN depends ...
1656
  	depends on MMU
51aaf81fa   Russell King   ARM: keep arch/ar...
1657
  	select ARCH_DMA_ADDR_T_64BIT
17b7ab80e   Stefano Stabellini   xen/arm: XEN sele...
1658
  	select ARM_PSCI
83862ccfc   Stefano Stabellini   xen/arm,arm64: en...
1659
  	select SWIOTLB_XEN
02c2433b3   Stefano Stabellini   arm: introduce CO...
1660
  	select PARAVIRT
eff8d6447   Stefano Stabellini   xen/arm: introduc...
1661
1662
  	help
  	  Say Y if you want to run Linux in a Virtual Machine on Xen on ARM.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1663
1664
1665
  endmenu
  
  menu "Boot options"
9eb8f6743   Grant Likely   arm/dt: Allow CON...
1666
1667
  config USE_OF
  	bool "Flattened Device Tree support"
b1b3f49ce   Russell King   ARM: config: sort...
1668
  	select IRQ_DOMAIN
9eb8f6743   Grant Likely   arm/dt: Allow CON...
1669
  	select OF
9eb8f6743   Grant Likely   arm/dt: Allow CON...
1670
1671
  	help
  	  Include support for flattened device tree machine descriptions.
bd51e2f59   Nicolas Pitre   ARM: 7506/1: allo...
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
  config ATAGS
  	bool "Support for the traditional ATAGS boot data passing" if USE_OF
  	default y
  	help
  	  This is the traditional way of passing data to the kernel at boot
  	  time. If you are solely relying on the flattened device tree (or
  	  the ARM_ATAG_DTB_COMPAT option) then you may unselect this option
  	  to remove ATAGS support from your kernel binary.  If unsure,
  	  leave this to y.
  
  config DEPRECATED_PARAM_STRUCT
  	bool "Provide old way to pass kernel parameters"
  	depends on ATAGS
  	help
  	  This was deprecated in 2001 and announced to live on for 5 years.
  	  Some old boot loaders still use this way.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
  # Compressed boot loader in ROM.  Yes, we really want to ask about
  # TEXT and BSS so we preserve their values in the config files.
  config ZBOOT_ROM_TEXT
  	hex "Compressed ROM boot loader base address"
  	default "0"
  	help
  	  The physical address at which the ROM-able zImage is to be
  	  placed in the target.  Platforms which normally make use of
  	  ROM-able zImage formats normally set this to a suitable
  	  value in their defconfig file.
  
  	  If ZBOOT_ROM is not enabled, this has no effect.
  
  config ZBOOT_ROM_BSS
  	hex "Compressed ROM boot loader BSS address"
  	default "0"
  	help
f8c440b20   Dan Fandrich   [ARM] 3792/2: Fix...
1705
1706
1707
1708
1709
1710
  	  The base address of an area of read/write memory in the target
  	  for the ROM-able zImage which must be available while the
  	  decompressor is running. It must be large enough to hold the
  	  entire decompressed kernel plus an additional 128 KiB.
  	  Platforms which normally make use of ROM-able zImage formats
  	  normally set this to a suitable value in their defconfig file.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1711
1712
1713
1714
1715
1716
  
  	  If ZBOOT_ROM is not enabled, this has no effect.
  
  config ZBOOT_ROM
  	bool "Compressed boot loader in ROM/flash"
  	depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
109681313   Russell King   Fix select-induce...
1717
  	depends on !ARM_APPENDED_DTB && !XIP_KERNEL && !AUTO_ZRELADDR
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1718
1719
1720
  	help
  	  Say Y here if you intend to execute your compressed kernel image
  	  (zImage) directly from ROM or flash.  If unsure, say N.
e2a6a3aaf   John Bonesio   ARM: zImage: Allo...
1721
1722
  config ARM_APPENDED_DTB
  	bool "Use appended device tree blob to zImage (EXPERIMENTAL)"
109681313   Russell King   Fix select-induce...
1723
  	depends on OF
e2a6a3aaf   John Bonesio   ARM: zImage: Allo...
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
  	help
  	  With this option, the boot code will look for a device tree binary
  	  (DTB) appended to zImage
  	  (e.g. cat zImage <filename>.dtb > zImage_w_dtb).
  
  	  This is meant as a backward compatibility convenience for those
  	  systems with a bootloader that can't be upgraded to accommodate
  	  the documented boot protocol using a device tree.
  
  	  Beware that there is very little in terms of protection against
  	  this option being confused by leftover garbage in memory that might
  	  look like a DTB header after a reboot if no actual DTB is appended
  	  to zImage.  Do not leave this option active in a production kernel
  	  if you don't intend to always append a DTB.  Proper passing of the
  	  location into r2 of a bootloader provided DTB is always preferable
  	  to this option.
b90b9a382   Nicolas Pitre   ARM: zImage: allo...
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
  config ARM_ATAG_DTB_COMPAT
  	bool "Supplement the appended DTB with traditional ATAG information"
  	depends on ARM_APPENDED_DTB
  	help
  	  Some old bootloaders can't be updated to a DTB capable one, yet
  	  they provide ATAGs with memory configuration, the ramdisk address,
  	  the kernel cmdline string, etc.  Such information is dynamically
  	  provided by the bootloader and can't always be stored in a static
  	  DTB.  To allow a device tree enabled kernel to be used with such
  	  bootloaders, this option allows zImage to extract the information
  	  from the ATAG list and store it at run time into the appended DTB.
d0f34a11d   Genoud Richard   ARM: 7437/1: zIma...
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
  choice
  	prompt "Kernel command line type" if ARM_ATAG_DTB_COMPAT
  	default ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER
  
  config ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER
  	bool "Use bootloader kernel arguments if available"
  	help
  	  Uses the command-line options passed by the boot loader instead of
  	  the device tree bootargs property. If the boot loader doesn't provide
  	  any, the device tree bootargs property will be used.
  
  config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND
  	bool "Extend with bootloader kernel arguments"
  	help
  	  The command-line arguments provided by the boot loader will be
  	  appended to the the device tree bootargs property.
  
  endchoice
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1769
1770
1771
1772
1773
1774
1775
1776
1777
  config CMDLINE
  	string "Default kernel command string"
  	default ""
  	help
  	  On some architectures (EBSA110 and CATS), there is currently no way
  	  for the boot loader to pass arguments to the kernel. For these
  	  architectures, you should supply some command-line options at build
  	  time by entering them here. As a minimum, you should specify the
  	  memory size and the root device (e.g., mem=64M root=/dev/nfs).
4394c1244   Victor Boivie   ARM: 6893/1: Allo...
1778
1779
1780
  choice
  	prompt "Kernel command line type" if CMDLINE != ""
  	default CMDLINE_FROM_BOOTLOADER
bd51e2f59   Nicolas Pitre   ARM: 7506/1: allo...
1781
  	depends on ATAGS
4394c1244   Victor Boivie   ARM: 6893/1: Allo...
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
  
  config CMDLINE_FROM_BOOTLOADER
  	bool "Use bootloader kernel arguments if available"
  	help
  	  Uses the command-line options passed by the boot loader. If
  	  the boot loader doesn't provide any, the default kernel command
  	  string provided in CMDLINE will be used.
  
  config CMDLINE_EXTEND
  	bool "Extend bootloader kernel arguments"
  	help
  	  The command-line arguments provided by the boot loader will be
  	  appended to the default kernel command string.
92d2040d7   Alexander Holler   ARM: 5939/1: ARM:...
1795
1796
  config CMDLINE_FORCE
  	bool "Always use the default kernel command string"
92d2040d7   Alexander Holler   ARM: 5939/1: ARM:...
1797
1798
1799
1800
1801
  	help
  	  Always use the default kernel command string, even if the boot
  	  loader passes other arguments to the kernel.
  	  This is useful if you cannot or don't want to change the
  	  command-line options your boot loader passes to the kernel.
4394c1244   Victor Boivie   ARM: 6893/1: Allo...
1802
  endchoice
92d2040d7   Alexander Holler   ARM: 5939/1: ARM:...
1803

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1804
1805
  config XIP_KERNEL
  	bool "Kernel Execute-In-Place from ROM"
109681313   Russell King   Fix select-induce...
1806
  	depends on !ARM_LPAE && !ARCH_MULTIPLATFORM
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
  	help
  	  Execute-In-Place allows the kernel to run from non-volatile storage
  	  directly addressable by the CPU, such as NOR flash. This saves RAM
  	  space since the text section of the kernel is not loaded from flash
  	  to RAM.  Read-write sections, such as the data section and stack,
  	  are still copied to RAM.  The XIP kernel is not compressed since
  	  it has to run directly from flash, so it will take more space to
  	  store it.  The flash address used to link the kernel object files,
  	  and for storing it, is configuration dependent. Therefore, if you
  	  say Y here, you must know the proper physical address where to
  	  store the kernel image depending on your own flash memory usage.
  
  	  Also note that the make target becomes "make xipImage" rather than
  	  "make zImage" or "make Image".  The final kernel binary to put in
  	  ROM memory will be arch/arm/boot/xipImage.
  
  	  If unsure, say N.
  
  config XIP_PHYS_ADDR
  	hex "XIP Kernel Physical Location"
  	depends on XIP_KERNEL
  	default "0x00080000"
  	help
  	  This is the physical address in your flash memory the kernel will
  	  be linked for and stored to.  This address is dependent on your
  	  own flash usage.
c587e4a6a   Richard Purdie   [ARM] 4137/1: Add...
1833
1834
  config KEXEC
  	bool "Kexec system call (EXPERIMENTAL)"
19ab428f4   Stephen Warren   ARM: 7759/1: deco...
1835
  	depends on (!SMP || PM_SLEEP_SMP)
cb1293e2f   Arnd Bergmann   ARM: 8375/1: disa...
1836
  	depends on !CPU_V7M
2965faa5e   Dave Young   kexec: split kexe...
1837
  	select KEXEC_CORE
c587e4a6a   Richard Purdie   [ARM] 4137/1: Add...
1838
1839
1840
  	help
  	  kexec is a system call that implements the ability to shutdown your
  	  current kernel, and to start another kernel.  It is like a reboot
01dd2fbf0   Matt LaPlante   typo fixes
1841
  	  but it is independent of the system firmware.   And like a reboot
c587e4a6a   Richard Purdie   [ARM] 4137/1: Add...
1842
1843
1844
1845
  	  you can start any kernel with it, not just Linux.
  
  	  It is an ongoing process to be certain the hardware in a machine
  	  is properly shutdown, so do not be surprised if this code does not
bf2206957   Geert Uytterhoeven   Kconfig: Remove h...
1846
  	  initially work for you.
c587e4a6a   Richard Purdie   [ARM] 4137/1: Add...
1847

4cd9d6f77   Richard Purdie   [ARM] 4736/1: Exp...
1848
1849
  config ATAGS_PROC
  	bool "Export atags in procfs"
bd51e2f59   Nicolas Pitre   ARM: 7506/1: allo...
1850
  	depends on ATAGS && KEXEC
b98d72918   Uli Luckas   [ARM] 4836/1: Mak...
1851
  	default y
4cd9d6f77   Richard Purdie   [ARM] 4736/1: Exp...
1852
1853
1854
  	help
  	  Should the atags used to boot the kernel be exported in an "atags"
  	  file in procfs. Useful with kexec.
cb5d39b3a   Mika Westerberg   ARM: 6487/1: add ...
1855
1856
  config CRASH_DUMP
  	bool "Build kdump crash kernel (EXPERIMENTAL)"
cb5d39b3a   Mika Westerberg   ARM: 6487/1: add ...
1857
1858
1859
1860
1861
1862
1863
1864
1865
  	help
  	  Generate crash dump after being started by kexec. This should
  	  be normally only set in special crash dump kernels which are
  	  loaded in the main kernel with kexec-tools into a specially
  	  reserved region and then later executed after a crash by
  	  kdump/kexec. The crash dump kernel must be compiled to a
  	  memory address not used by the main kernel
  
  	  For more details see Documentation/kdump/kdump.txt
e69edc793   Eric Miao   ARM: Auto calcula...
1866
1867
  config AUTO_ZRELADDR
  	bool "Auto calculation of the decompressed kernel image address"
e69edc793   Eric Miao   ARM: Auto calcula...
1868
1869
1870
1871
1872
1873
  	help
  	  ZRELADDR is the physical address where the decompressed kernel
  	  image will be placed. If AUTO_ZRELADDR is selected, the address
  	  will be determined at run-time by masking the current IP with
  	  0xf8000000. This assumes the zImage being placed in the first 128MB
  	  from start of memory.
81a0bc39e   Roy Franz   ARM: add UEFI stu...
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
  config EFI_STUB
  	bool
  
  config EFI
  	bool "UEFI runtime support"
  	depends on OF && !CPU_BIG_ENDIAN && MMU && AUTO_ZRELADDR && !XIP_KERNEL
  	select UCS2_STRING
  	select EFI_PARAMS_FROM_FDT
  	select EFI_STUB
  	select EFI_ARMSTUB
  	select EFI_RUNTIME_WRAPPERS
  	---help---
  	  This option provides support for runtime services provided
  	  by UEFI firmware (such as non-volatile variables, realtime
  	  clock, and platform reset). A UEFI stub is also provided to
  	  allow the kernel to be booted as an EFI application. This
  	  is only useful for kernels that may run on systems that have
  	  UEFI firmware.
bb817bef3   Ard Biesheuvel   efi/arm: Enable D...
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
  config DMI
  	bool "Enable support for SMBIOS (DMI) tables"
  	depends on EFI
  	default y
  	help
  	  This enables SMBIOS/DMI feature for systems.
  
  	  This option is only useful on systems that have UEFI firmware.
  	  However, even with this option, the resultant kernel should
  	  continue to boot on existing non-UEFI platforms.
  
  	  NOTE: This does *NOT* enable or encourage the use of DMI quirks,
  	  i.e., the the practice of identifying the platform via DMI to
  	  decide whether certain workarounds for buggy hardware and/or
  	  firmware need to be enabled. This would require the DMI subsystem
  	  to be enabled much earlier than we do on ARM, which is non-trivial.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1908
  endmenu
ac9d7efc7   Russell King   [ARM] Update arch...
1909
  menu "CPU Power Management"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1910

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1911
  source "drivers/cpufreq/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1912

ac9d7efc7   Russell King   [ARM] Update arch...
1913
1914
1915
  source "drivers/cpuidle/Kconfig"
  
  endmenu
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1916
1917
1918
1919
1920
1921
  menu "Floating point emulation"
  
  comment "At least one emulation must be selected"
  
  config FPE_NWFPE
  	bool "NWFPE math emulation"
593c252a7   Dave Martin   ARM: 6534/1: Make...
1922
  	depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
  	---help---
  	  Say Y to include the NWFPE floating point emulator in the kernel.
  	  This is necessary to run most binaries. Linux does not currently
  	  support floating point hardware so you need to say Y here even if
  	  your machine has an FPA or floating point co-processor podule.
  
  	  You may say N here if you are going to load the Acorn FPEmulator
  	  early in the bootup.
  
  config FPE_NWFPE_XP
  	bool "Support extended precision"
bedf142b8   Lennert Buytenhek   [ARM] 3118/1: fix...
1934
  	depends on FPE_NWFPE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
  	help
  	  Say Y to include 80-bit support in the kernel floating-point
  	  emulator.  Otherwise, only 32 and 64-bit support is compiled in.
  	  Note that gcc does not generate 80-bit operations by default,
  	  so in most cases this option only enlarges the size of the
  	  floating point emulator without any good reason.
  
  	  You almost surely want to say N here.
  
  config FPE_FASTFPE
  	bool "FastFPE math emulation (EXPERIMENTAL)"
d6f94fa0f   Kees Cook   arch/arm: remove ...
1946
  	depends on (!AEABI || OABI_COMPAT) && !CPU_32v3
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
  	---help---
  	  Say Y here to include the FAST floating point emulator in the kernel.
  	  This is an experimental much faster emulator which now also has full
  	  precision for the mantissa.  It does not support any exceptions.
  	  It is very simple, and approximately 3-6 times faster than NWFPE.
  
  	  It should be sufficient for most programs.  It may be not suitable
  	  for scientific calculations, but you have to check this for yourself.
  	  If you do not feel you need a faster FP emulation you should better
  	  choose NWFPE.
  
  config VFP
  	bool "VFP-format floating point maths"
e399b1a4e   Russell King   ARM: v6k: introdu...
1960
  	depends on CPU_V6 || CPU_V6K || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1961
1962
1963
1964
1965
1966
1967
1968
  	help
  	  Say Y to include VFP support code in the kernel. This is needed
  	  if your hardware includes a VFP unit.
  
  	  Please see <file:Documentation/arm/VFP/release-notes.txt> for
  	  release notes and additional status information.
  
  	  Say N if your target does not have VFP hardware.
25ebee020   Catalin Marinas   [ARM] 4583/1: ARM...
1969
1970
1971
1972
  config VFPv3
  	bool
  	depends on VFP
  	default y if CPU_V7
b5872db4a   Catalin Marinas   [ARM] 4584/2: ARM...
1973
1974
1975
1976
1977
1978
  config NEON
  	bool "Advanced SIMD (NEON) Extension support"
  	depends on VFPv3 && CPU_V7
  	help
  	  Say Y to include support code for NEON, the ARMv7 Advanced SIMD
  	  Extension.
73c132c15   Ard Biesheuvel   ARM: add support ...
1979
1980
  config KERNEL_MODE_NEON
  	bool "Support for NEON in kernel mode"
c4a30c3b2   Russell King   ARM: only allow k...
1981
  	depends on NEON && AEABI
73c132c15   Ard Biesheuvel   ARM: add support ...
1982
1983
  	help
  	  Say Y to include support for NEON in kernel mode.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1984
1985
1986
1987
1988
  endmenu
  
  menu "Userspace binary formats"
  
  source "fs/Kconfig.binfmt"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1989
1990
1991
  endmenu
  
  menu "Power management options"
eceab4ac8   Russell King   [ARM] Use kernel/...
1992
  source "kernel/power/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1993

f4cb57007   Johannes Berg   Suspend: Clean up...
1994
  config ARCH_SUSPEND_POSSIBLE
19a0519d3   Ezequiel Garcia   ARM: 7818/1: fero...
1995
  	depends on CPU_ARM920T || CPU_ARM926T || CPU_FEROCEON || CPU_SA1100 || \
f0d751537   Uwe Kleine-König   ARM: v7m: add tri...
1996
  		CPU_V6 || CPU_V6K || CPU_V7 || CPU_V7M || CPU_XSC3 || CPU_XSCALE || CPU_MOHAWK
f4cb57007   Johannes Berg   Suspend: Clean up...
1997
  	def_bool y
15e0d9e37   Arnd Bergmann   ARM: pm: let plat...
1998
  config ARM_CPU_SUSPEND
8b6f2499a   Lorenzo Pieralisi   ARM: 8511/1: ARM6...
1999
  	def_bool PM_SLEEP || BL_SWITCHER || ARM_PSCI_FW
1b9bdf5c1   Lorenzo Pieralisi   ARM: 8510/1: rewo...
2000
  	depends on ARCH_SUSPEND_POSSIBLE
15e0d9e37   Arnd Bergmann   ARM: pm: let plat...
2001

603fb42a6   Sebastian Capella   ARM: 8011/1: ARM ...
2002
2003
2004
2005
  config ARCH_HIBERNATION_POSSIBLE
  	bool
  	depends on MMU
  	default y if ARCH_SUSPEND_POSSIBLE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2006
  endmenu
d5950b435   Sam Ravnborg   [NET]: add a top-...
2007
  source "net/Kconfig"
ac25150f2   Uwe Kleine-König   [ARM] let arch/ar...
2008
  source "drivers/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2009

916f743da   Kumar Gala   firmware: qcom: s...
2010
  source "drivers/firmware/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2011
  source "fs/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2012
2013
2014
2015
2016
  source "arch/arm/Kconfig.debug"
  
  source "security/Kconfig"
  
  source "crypto/Kconfig"
652ccae5c   Ard Biesheuvel   crypto: arm - mov...
2017
2018
2019
  if CRYPTO
  source "arch/arm/crypto/Kconfig"
  endif
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2020
2021
  
  source "lib/Kconfig"
749cf76c5   Christoffer Dall   KVM: ARM: Initial...
2022
2023
  
  source "arch/arm/kvm/Kconfig"