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