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