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