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