7f9b3c53f74a14aaf92e56952c974f86f9090911
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / parisc / Kconfig
1 config PARISC
2 def_bool y
3 select HAVE_IDE
4 select HAVE_OPROFILE
5 select HAVE_FUNCTION_TRACER if 64BIT
6 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
7 select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
8 select RTC_CLASS
9 select RTC_DRV_GENERIC
10 select INIT_ALL_POSSIBLE
11 select BUG
12 select HAVE_PERF_EVENTS
13 select GENERIC_ATOMIC64 if !64BIT
14 select HAVE_GENERIC_HARDIRQS
15 select BROKEN_RODATA
16 select GENERIC_IRQ_PROBE
17 select GENERIC_PCI_IOMAP
18 select ARCH_HAVE_NMI_SAFE_CMPXCHG
19 select GENERIC_SMP_IDLE_THREAD
20 select GENERIC_STRNCPY_FROM_USER
21 select HAVE_MOD_ARCH_SPECIFIC
22 select MODULES_USE_ELF_RELA
23 select CLONE_BACKWARDS
24 select TTY # Needed for pdc_cons.c
25
26 help
27 The PA-RISC microprocessor is designed by Hewlett-Packard and used
28 in many of their workstations & servers (HP9000 700 and 800 series,
29 and later HP3000 series). The PA-RISC Linux project home page is
30 at <http://www.parisc-linux.org/>.
31
32 config MMU
33 def_bool y
34
35 config STACK_GROWSUP
36 def_bool y
37
38 config GENERIC_LOCKBREAK
39 bool
40 default y
41 depends on SMP && PREEMPT
42
43 config RWSEM_GENERIC_SPINLOCK
44 def_bool y
45
46 config RWSEM_XCHGADD_ALGORITHM
47 bool
48
49 config ARCH_HAS_ILOG2_U32
50 bool
51 default n
52
53 config ARCH_HAS_ILOG2_U64
54 bool
55 default n
56
57 config GENERIC_BUG
58 bool
59 default y
60 depends on BUG
61
62 config GENERIC_HWEIGHT
63 bool
64 default y
65
66 config GENERIC_CALIBRATE_DELAY
67 bool
68 default y
69
70 config TIME_LOW_RES
71 bool
72 depends on SMP
73 default y
74
75 config HAVE_LATENCYTOP_SUPPORT
76 def_bool y
77
78 # unless you want to implement ACPI on PA-RISC ... ;-)
79 config PM
80 bool
81
82 config STACKTRACE_SUPPORT
83 def_bool y
84
85 config NEED_DMA_MAP_STATE
86 def_bool y
87
88 config NEED_SG_DMA_LENGTH
89 def_bool y
90
91 config ISA_DMA_API
92 bool
93
94 config ARCH_MAY_HAVE_PC_FDC
95 bool
96 depends on BROKEN
97 default y
98
99 source "init/Kconfig"
100
101 source "kernel/Kconfig.freezer"
102
103
104 menu "Processor type and features"
105
106 choice
107 prompt "Processor type"
108 default PA7000
109
110 config PA7000
111 bool "PA7000/PA7100"
112 ---help---
113 This is the processor type of your CPU. This information is
114 used for optimizing purposes. In order to compile a kernel
115 that can run on all 32-bit PA CPUs (albeit not optimally fast),
116 you can specify "PA7000" here.
117
118 Specifying "PA8000" here will allow you to select a 64-bit kernel
119 which is required on some machines.
120
121 config PA7100LC
122 bool "PA7100LC"
123 help
124 Select this option for the PCX-L processor, as used in the
125 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
126 D200, D210, D300, D310 and E-class
127
128 config PA7200
129 bool "PA7200"
130 help
131 Select this option for the PCX-T' processor, as used in the
132 C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
133 K100, K200, K210, K220, K400, K410 and K420
134
135 config PA7300LC
136 bool "PA7300LC"
137 help
138 Select this option for the PCX-L2 processor, as used in the
139 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
140 D220, D230, D320 and D330.
141
142 config PA8X00
143 bool "PA8000 and up"
144 help
145 Select this option for PCX-U to PCX-W2 processors.
146
147 endchoice
148
149 # Define implied options from the CPU selection here
150
151 config PA20
152 def_bool y
153 depends on PA8X00
154
155 config PA11
156 def_bool y
157 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
158
159 config PREFETCH
160 def_bool y
161 depends on PA8X00 || PA7200
162
163 config MLONGCALLS
164 bool "Enable the -mlong-calls compiler option for big kernels"
165 def_bool y if (!MODULES)
166 depends on PA8X00
167 help
168 If you configure the kernel to include many drivers built-in instead
169 as modules, the kernel executable may become too big, so that the
170 linker will not be able to resolve some long branches and fails to link
171 your vmlinux kernel. In that case enabling this option will help you
172 to overcome this limit by using the -mlong-calls compiler option.
173
174 Usually you want to say N here, unless you e.g. want to build
175 a kernel which includes all necessary drivers built-in and which can
176 be used for TFTP booting without the need to have an initrd ramdisk.
177
178 Enabling this option will probably slow down your kernel.
179
180 config 64BIT
181 bool "64-bit kernel"
182 depends on PA8X00
183 help
184 Enable this if you want to support 64bit kernel on PA-RISC platform.
185
186 At the moment, only people willing to use more than 2GB of RAM,
187 or having a 64bit-only capable PA-RISC machine should say Y here.
188
189 Since there is no 64bit userland on PA-RISC, there is no point to
190 enable this option otherwise. The 64bit kernel is significantly bigger
191 and slower than the 32bit one.
192
193 choice
194 prompt "Kernel page size"
195 default PARISC_PAGE_SIZE_4KB
196
197 config PARISC_PAGE_SIZE_4KB
198 bool "4KB"
199 help
200 This lets you select the page size of the kernel. For best
201 performance, a page size of 16KB is recommended. For best
202 compatibility with 32bit applications, a page size of 4KB should be
203 selected (the vast majority of 32bit binaries work perfectly fine
204 with a larger page size).
205
206 4KB For best 32bit compatibility
207 16KB For best performance
208 64KB For best performance, might give more overhead.
209
210 If you don't know what to do, choose 4KB.
211
212 config PARISC_PAGE_SIZE_16KB
213 bool "16KB"
214 depends on PA8X00
215
216 config PARISC_PAGE_SIZE_64KB
217 bool "64KB"
218 depends on PA8X00
219
220 endchoice
221
222 config SMP
223 bool "Symmetric multi-processing support"
224 select USE_GENERIC_SMP_HELPERS
225 ---help---
226 This enables support for systems with more than one CPU. If you have
227 a system with only one CPU, like most personal computers, say N. If
228 you have a system with more than one CPU, say Y.
229
230 If you say N here, the kernel will run on single and multiprocessor
231 machines, but will use only one CPU of a multiprocessor machine. If
232 you say Y here, the kernel will run on many, but not all,
233 singleprocessor machines. On a singleprocessor machine, the kernel
234 will run faster if you say N here.
235
236 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
237 available at <http://www.tldp.org/docs.html#howto>.
238
239 If you don't know what to do here, say N.
240
241 config HOTPLUG_CPU
242 bool
243 default y if SMP
244 select HOTPLUG
245
246 config ARCH_SELECT_MEMORY_MODEL
247 def_bool y
248 depends on 64BIT
249
250 config ARCH_DISCONTIGMEM_ENABLE
251 def_bool y
252 depends on 64BIT
253
254 config ARCH_FLATMEM_ENABLE
255 def_bool y
256
257 config ARCH_DISCONTIGMEM_DEFAULT
258 def_bool y
259 depends on ARCH_DISCONTIGMEM_ENABLE
260
261 config NODES_SHIFT
262 int
263 default "3"
264 depends on NEED_MULTIPLE_NODES
265
266 source "kernel/Kconfig.preempt"
267 source "kernel/Kconfig.hz"
268 source "mm/Kconfig"
269
270 config COMPAT
271 def_bool y
272 depends on 64BIT
273
274 config SYSVIPC_COMPAT
275 def_bool y
276 depends on COMPAT && SYSVIPC
277
278 config HPUX
279 bool "Support for HP-UX binaries"
280 depends on !64BIT
281
282 config NR_CPUS
283 int "Maximum number of CPUs (2-32)"
284 range 2 32
285 depends on SMP
286 default "32"
287
288 endmenu
289
290
291 source "drivers/parisc/Kconfig"
292
293
294 menu "Executable file formats"
295
296 source "fs/Kconfig.binfmt"
297
298 endmenu
299
300 source "net/Kconfig"
301
302 source "drivers/Kconfig"
303
304 source "fs/Kconfig"
305
306 source "arch/parisc/Kconfig.debug"
307
308 source "security/Kconfig"
309
310 source "crypto/Kconfig"
311
312 source "lib/Kconfig"