ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION
[deliverable/linux.git] / arch / m32r / Kconfig
CommitLineData
1da177e4
LT
1config M32R
2 bool
3 default y
ec7748b5 4 select HAVE_IDE
42d4b839 5 select HAVE_OPROFILE
98a79d6a 6 select INIT_ALL_POSSIBLE
337214e8
HT
7 select HAVE_KERNEL_GZIP
8 select HAVE_KERNEL_BZIP2
9 select HAVE_KERNEL_LZMA
c1d7e01d 10 select ARCH_WANT_IPC_PARSE_VERSION
0e155b2c 11 select HAVE_GENERIC_HARDIRQS
0e155b2c 12 select GENERIC_IRQ_PROBE
4bdab7e0 13 select GENERIC_IRQ_SHOW
abcefec3 14 select GENERIC_ATOMIC64
97a1c1e9 15 select ARCH_USES_GETTIMEOFFSET
1da177e4
LT
16
17config SBUS
18 bool
19
1da177e4
LT
20config GENERIC_ISA_DMA
21 bool
22 default y
23
5ac6da66
CL
24config ZONE_DMA
25 bool
26 default y
27
5ea81769
AV
28config NO_IOPORT
29 def_bool y
30
1b0fac45
DW
31config NO_DMA
32 def_bool y
33
bdc80787
PA
34config HZ
35 int
36 default 100
37
1da177e4
LT
38source "init/Kconfig"
39
dc52ddc0
MH
40source "kernel/Kconfig.freezer"
41
1da177e4
LT
42
43menu "Processor type and features"
44
45choice
46 prompt "Platform Type"
47 default PLAT_MAPPI
48
49config PLAT_MAPPI
50 bool "Mappi-I"
51 help
52 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
53 You can operate a Linux system on this board by using an M32R
54 softmacro core, which is a fully-synthesizable functional model
55 described in Verilog-HDL.
56
57 The Mappi-I board was the first platform, which had been used
58 to port and develop a Linux system for the M32R processor.
59 Currently, the Mappi-II, an heir to the Mappi-I, is available.
60
61config PLAT_USRV
62 bool "uServer"
e070fb74 63 select PLAT_HAS_INT1ICU
1da177e4
LT
64
65config PLAT_M32700UT
66 bool "M32700UT"
e070fb74
HT
67 select PLAT_HAS_INT0ICU
68 select PLAT_HAS_INT1ICU
69 select PLAT_HAS_INT2ICU
1da177e4
LT
70 help
71 The M3T-M32700UT is an evaluation board based on uT-Engine
72 specification. This board has an M32700 (Chaos) evaluation chip.
73 You can say Y for SMP, because the M32700 is a single chip
74 multiprocessor.
75
76config PLAT_OPSPUT
77 bool "OPSPUT"
e070fb74
HT
78 select PLAT_HAS_INT0ICU
79 select PLAT_HAS_INT1ICU
80 select PLAT_HAS_INT2ICU
1da177e4
LT
81 help
82 The OPSPUT is an evaluation board based on uT-Engine
83 specification. This board has a OPSP-REP chip.
84
85config PLAT_OAKS32R
86 bool "OAKS32R"
87 help
88 The OAKS32R is a tiny, inexpensive evaluation board.
89 Please note that if you say Y here and choose chip "M32102",
90 say N for MMU and select a no-MMU version kernel, otherwise
91 a kernel with MMU support will not work, because the M32102
92 is a microcontroller for embedded systems and it has no MMU.
93
94config PLAT_MAPPI2
95 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
96
23680863
HT
97config PLAT_MAPPI3
98 bool "Mappi-III(M3A-2170)"
99
9287d95e
HT
100config PLAT_M32104UT
101 bool "M32104UT"
e070fb74 102 select PLAT_HAS_INT1ICU
9287d95e
HT
103 help
104 The M3T-M32104UT is an reference board based on uT-Engine
105 specification. This board has a M32104 chip.
106
1da177e4
LT
107endchoice
108
109choice
110 prompt "Processor family"
111 default CHIP_M32700
112
113config CHIP_M32700
114 bool "M32700 (Chaos)"
115
116config CHIP_M32102
117 bool "M32102"
118
9287d95e
HT
119config CHIP_M32104
120 bool "M32104"
121 depends on PLAT_M32104UT
122
1da177e4
LT
123config CHIP_VDEC2
124 bool "VDEC2"
125
126config CHIP_OPSP
127 bool "OPSP"
128
129endchoice
130
131config MMU
132 bool "Support for memory management hardware"
133 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
134 default y
135
136config TLB_ENTRIES
137 int "TLB Entries"
138 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
139 default 32 if CHIP_M32700 || CHIP_OPSP
140 default 16 if CHIP_VDEC2
141
142
143config ISA_M32R
144 bool
9287d95e 145 depends on CHIP_M32102 || CHIP_M32104
1da177e4
LT
146 default y
147
148config ISA_M32R2
149 bool
150 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
151 default y
152
153config ISA_DSP_LEVEL2
154 bool
155 depends on CHIP_M32700 || CHIP_OPSP
156 default y
157
158config ISA_DUAL_ISSUE
159 bool
160 depends on CHIP_M32700 || CHIP_OPSP
161 default y
162
e070fb74
HT
163config PLAT_HAS_INT0ICU
164 bool
165 default n
166
167config PLAT_HAS_INT1ICU
168 bool
169 default n
170
171config PLAT_HAS_INT2ICU
172 bool
173 default n
174
1da177e4
LT
175config BUS_CLOCK
176 int "Bus Clock [Hz] (integer)"
177 default "70000000" if PLAT_MAPPI
178 default "25000000" if PLAT_USRV
23680863 179 default "50000000" if PLAT_MAPPI3
1da177e4
LT
180 default "50000000" if PLAT_M32700UT
181 default "50000000" if PLAT_OPSPUT
9287d95e 182 default "54000000" if PLAT_M32104UT
1da177e4
LT
183 default "33333333" if PLAT_OAKS32R
184 default "20000000" if PLAT_MAPPI2
185
186config TIMER_DIVIDE
187 int "Timer divider (integer)"
188 default "128"
189
190config CPU_LITTLE_ENDIAN
191 bool "Generate little endian code"
192 default n
193
194config MEMORY_START
195 hex "Physical memory start address (hex)"
23680863 196 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
1da177e4
LT
197 default "08000000" if PLAT_USRV
198 default "08000000" if PLAT_M32700UT
199 default "08000000" if PLAT_OPSPUT
9287d95e 200 default "04000000" if PLAT_M32104UT
1da177e4
LT
201 default "01000000" if PLAT_OAKS32R
202
203config MEMORY_SIZE
204 hex "Physical memory size (hex)"
23680863 205 default "08000000" if PLAT_MAPPI3
1da177e4
LT
206 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
207 default "02000000" if PLAT_USRV
208 default "01000000" if PLAT_M32700UT
209 default "01000000" if PLAT_OPSPUT
9287d95e 210 default "01000000" if PLAT_M32104UT
1da177e4
LT
211 default "00800000" if PLAT_OAKS32R
212
3f22ab27 213config ARCH_DISCONTIGMEM_ENABLE
1da177e4 214 bool "Internal RAM Support"
9287d95e 215 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
1da177e4
LT
216 default y
217
3f22ab27
DH
218source "mm/Kconfig"
219
1da177e4
LT
220config IRAM_START
221 hex "Internal memory start address (hex)"
9287d95e
HT
222 default "00f00000" if !CHIP_M32104
223 default "00700000" if CHIP_M32104
224 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
1da177e4
LT
225
226config IRAM_SIZE
227 hex "Internal memory size (hex)"
9287d95e 228 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
1da177e4 229 default "00080000" if CHIP_M32700
9287d95e 230 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
1da177e4
LT
231 default "00008000" if CHIP_VDEC2
232
233#
234# Define implied options from the CPU selection here
235#
236
95c354fe
NP
237config GENERIC_LOCKBREAK
238 bool
239 default y
240 depends on SMP && PREEMPT
241
1da177e4
LT
242config RWSEM_GENERIC_SPINLOCK
243 bool
244 depends on M32R
245 default y
246
247config RWSEM_XCHGADD_ALGORITHM
248 bool
249 default n
250
f0d1b0b3
DH
251config ARCH_HAS_ILOG2_U32
252 bool
253 default n
254
255config ARCH_HAS_ILOG2_U64
256 bool
257 default n
258
6d9f937b
AM
259config GENERIC_HWEIGHT
260 bool
261 default y
262
1da177e4
LT
263config GENERIC_CALIBRATE_DELAY
264 bool
265 default y
266
ae1e9130 267config SCHED_OMIT_FRAME_POINTER
43c09ce7
HT
268 bool
269 default y
270
dab16ae1 271source "kernel/Kconfig.preempt"
1da177e4 272
1da177e4
LT
273config SMP
274 bool "Symmetric multi-processing support"
7b7426c8 275 select USE_GENERIC_SMP_HELPERS
1da177e4
LT
276 ---help---
277 This enables support for systems with more than one CPU. If you have
278 a system with only one CPU, like most personal computers, say N. If
279 you have a system with more than one CPU, say Y.
280
281 If you say N here, the kernel will run on single and multiprocessor
282 machines, but will use only one CPU of a multiprocessor machine. If
283 you say Y here, the kernel will run on many, but not all,
284 singleprocessor machines. On a singleprocessor machine, the kernel
285 will run faster if you say N here.
286
287 People using multiprocessor machines who say Y here should also say
288 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
289 Management" code will be disabled if you say Y here.
290
03502faa 291 See also the SMP-HOWTO available at
50a23e6e 292 <http://tldp.org/HOWTO/SMP-HOWTO.html>.
1da177e4
LT
293
294 If you don't know what to do here, say N.
295
296config CHIP_M32700_TS1
297 bool "Workaround code for the M32700 TS1 chip's bug"
298 depends on (CHIP_M32700 && SMP)
299 default n
300
301config NR_CPUS
302 int "Maximum number of CPUs (2-32)"
303 range 2 32
304 depends on SMP
305 default "2"
306 help
307 This allows you to specify the maximum number of CPUs which this
308 kernel will support. The maximum supported value is 32 and the
309 minimum value which makes sense is 2.
310
311 This is purely to save memory - each supported CPU adds
312 approximately eight kilobytes to the kernel image.
313
314# Common NUMA Features
315config NUMA
316 bool "Numa Memory Allocation Support"
c5596b26 317 depends on SMP && BROKEN
1da177e4
LT
318 default n
319
c80d79d7
YG
320config NODES_SHIFT
321 int
322 default "1"
323 depends on NEED_MULTIPLE_NODES
324
1da177e4
LT
325endmenu
326
327
328menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
329
330config PCI
331 bool "PCI support"
c3a0f771 332 depends on BROKEN
1da177e4
LT
333 default n
334 help
335 Find out whether you have a PCI motherboard. PCI is the name of a
336 bus system, i.e. the way the CPU talks to the other stuff inside
337 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
338 VESA. If you have PCI, say Y, otherwise N.
339
1da177e4
LT
340choice
341 prompt "PCI access mode"
342 depends on PCI
343 default PCI_GOANY
344
345config PCI_GOBIOS
346 bool "BIOS"
347 ---help---
348 On PCI systems, the BIOS can be used to detect the PCI devices and
349 determine their configuration. However, some old PCI motherboards
350 have BIOS bugs and may crash if this is done. Also, some embedded
351 PCI-based systems don't have any BIOS at all. Linux can also try to
352 detect the PCI hardware directly without using the BIOS.
353
354 With this option, you can specify how Linux should detect the PCI
355 devices. If you choose "BIOS", the BIOS will be used, if you choose
356 "Direct", the BIOS won't be used, and if you choose "Any", the
357 kernel will try the direct access method and falls back to the BIOS
358 if that doesn't work. If unsure, go with the default, which is
359 "Any".
360
361config PCI_GODIRECT
362 bool "Direct"
363
364config PCI_GOANY
365 bool "Any"
366
367endchoice
368
369config PCI_BIOS
370 bool
371 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
372 default y
373
374config PCI_DIRECT
375 bool
376 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
377 default y
378
379source "drivers/pci/Kconfig"
380
381config ISA
1b20b093 382 bool
1da177e4
LT
383
384source "drivers/pcmcia/Kconfig"
385
386source "drivers/pci/hotplug/Kconfig"
387
388endmenu
389
390
391menu "Executable file formats"
392
393source "fs/Kconfig.binfmt"
394
395endmenu
396
d5950b43
SR
397source "net/Kconfig"
398
1da177e4
LT
399source "drivers/Kconfig"
400
401source "fs/Kconfig"
402
1da177e4
LT
403source "arch/m32r/Kconfig.debug"
404
405source "security/Kconfig"
406
407source "crypto/Kconfig"
408
409source "lib/Kconfig"
This page took 0.566523 seconds and 5 git commands to generate.