blob: b93897d65aec531498cf293fb6487a8367f90fd6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "Linux/M32R Kernel Configuration"
7
8config M32R
9 bool
10 default y
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050011 select HAVE_OPROFILE
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
13config SBUS
14 bool
15
Linus Torvalds1da177e2005-04-16 15:20:36 -070016config GENERIC_ISA_DMA
17 bool
18 default y
19
Christoph Lameter5ac6da62007-02-10 01:43:14 -080020config ZONE_DMA
21 bool
22 default y
23
Linus Torvalds1da177e2005-04-16 15:20:36 -070024config GENERIC_HARDIRQS
25 bool
26 default y
27
28config GENERIC_IRQ_PROBE
29 bool
30 default y
31
Al Viro5ea81762007-02-11 15:41:31 +000032config NO_IOPORT
33 def_bool y
34
Dan Williams1b0fac42007-07-15 23:40:26 -070035config NO_DMA
36 def_bool y
37
Linus Torvalds1da177e2005-04-16 15:20:36 -070038source "init/Kconfig"
39
40
41menu "Processor type and features"
42
43choice
44 prompt "Platform Type"
45 default PLAT_MAPPI
46
47config PLAT_MAPPI
48 bool "Mappi-I"
49 help
50 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
51 You can operate a Linux system on this board by using an M32R
52 softmacro core, which is a fully-synthesizable functional model
53 described in Verilog-HDL.
54
55 The Mappi-I board was the first platform, which had been used
56 to port and develop a Linux system for the M32R processor.
57 Currently, the Mappi-II, an heir to the Mappi-I, is available.
58
59config PLAT_USRV
60 bool "uServer"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090061 select PLAT_HAS_INT1ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070062
63config PLAT_M32700UT
64 bool "M32700UT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090065 select PLAT_HAS_INT0ICU
66 select PLAT_HAS_INT1ICU
67 select PLAT_HAS_INT2ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070068 help
69 The M3T-M32700UT is an evaluation board based on uT-Engine
70 specification. This board has an M32700 (Chaos) evaluation chip.
71 You can say Y for SMP, because the M32700 is a single chip
72 multiprocessor.
73
74config PLAT_OPSPUT
75 bool "OPSPUT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090076 select PLAT_HAS_INT0ICU
77 select PLAT_HAS_INT1ICU
78 select PLAT_HAS_INT2ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070079 help
80 The OPSPUT is an evaluation board based on uT-Engine
81 specification. This board has a OPSP-REP chip.
82
83config PLAT_OAKS32R
84 bool "OAKS32R"
85 help
86 The OAKS32R is a tiny, inexpensive evaluation board.
87 Please note that if you say Y here and choose chip "M32102",
88 say N for MMU and select a no-MMU version kernel, otherwise
89 a kernel with MMU support will not work, because the M32102
90 is a microcontroller for embedded systems and it has no MMU.
91
92config PLAT_MAPPI2
93 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
94
Hirokazu Takata23680862005-06-21 17:16:10 -070095config PLAT_MAPPI3
96 bool "Mappi-III(M3A-2170)"
97
Hirokazu Takata9287d952006-01-06 00:18:41 -080098config PLAT_M32104UT
99 bool "M32104UT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +0900100 select PLAT_HAS_INT1ICU
Hirokazu Takata9287d952006-01-06 00:18:41 -0800101 help
102 The M3T-M32104UT is an reference board based on uT-Engine
103 specification. This board has a M32104 chip.
104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105endchoice
106
107choice
108 prompt "Processor family"
109 default CHIP_M32700
110
111config CHIP_M32700
112 bool "M32700 (Chaos)"
113
114config CHIP_M32102
115 bool "M32102"
116
Hirokazu Takata9287d952006-01-06 00:18:41 -0800117config CHIP_M32104
118 bool "M32104"
119 depends on PLAT_M32104UT
120
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121config CHIP_VDEC2
122 bool "VDEC2"
123
124config CHIP_OPSP
125 bool "OPSP"
126
127endchoice
128
129config MMU
130 bool "Support for memory management hardware"
131 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
132 default y
133
134config TLB_ENTRIES
135 int "TLB Entries"
136 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
137 default 32 if CHIP_M32700 || CHIP_OPSP
138 default 16 if CHIP_VDEC2
139
140
141config ISA_M32R
142 bool
Hirokazu Takata9287d952006-01-06 00:18:41 -0800143 depends on CHIP_M32102 || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144 default y
145
146config ISA_M32R2
147 bool
148 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
149 default y
150
151config ISA_DSP_LEVEL2
152 bool
153 depends on CHIP_M32700 || CHIP_OPSP
154 default y
155
156config ISA_DUAL_ISSUE
157 bool
158 depends on CHIP_M32700 || CHIP_OPSP
159 default y
160
Hirokazu Takatae070fb742007-08-17 17:22:15 +0900161config PLAT_HAS_INT0ICU
162 bool
163 default n
164
165config PLAT_HAS_INT1ICU
166 bool
167 default n
168
169config PLAT_HAS_INT2ICU
170 bool
171 default n
172
Linus Torvalds1da177e2005-04-16 15:20:36 -0700173config BUS_CLOCK
174 int "Bus Clock [Hz] (integer)"
175 default "70000000" if PLAT_MAPPI
176 default "25000000" if PLAT_USRV
Hirokazu Takata23680862005-06-21 17:16:10 -0700177 default "50000000" if PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178 default "50000000" if PLAT_M32700UT
179 default "50000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800180 default "54000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181 default "33333333" if PLAT_OAKS32R
182 default "20000000" if PLAT_MAPPI2
183
184config TIMER_DIVIDE
185 int "Timer divider (integer)"
186 default "128"
187
188config CPU_LITTLE_ENDIAN
189 bool "Generate little endian code"
190 default n
191
192config MEMORY_START
193 hex "Physical memory start address (hex)"
Hirokazu Takata23680862005-06-21 17:16:10 -0700194 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700195 default "08000000" if PLAT_USRV
196 default "08000000" if PLAT_M32700UT
197 default "08000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800198 default "04000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700199 default "01000000" if PLAT_OAKS32R
200
201config MEMORY_SIZE
202 hex "Physical memory size (hex)"
Hirokazu Takata23680862005-06-21 17:16:10 -0700203 default "08000000" if PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700204 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
205 default "02000000" if PLAT_USRV
206 default "01000000" if PLAT_M32700UT
207 default "01000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800208 default "01000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209 default "00800000" if PLAT_OAKS32R
210
211config NOHIGHMEM
212 bool
213 default y
214
Dave Hansen3f22ab22005-06-23 00:07:43 -0700215config ARCH_DISCONTIGMEM_ENABLE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216 bool "Internal RAM Support"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800217 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700218 default y
219
Dave Hansen3f22ab22005-06-23 00:07:43 -0700220source "mm/Kconfig"
221
Linus Torvalds1da177e2005-04-16 15:20:36 -0700222config IRAM_START
223 hex "Internal memory start address (hex)"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800224 default "00f00000" if !CHIP_M32104
225 default "00700000" if CHIP_M32104
226 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700227
228config IRAM_SIZE
229 hex "Internal memory size (hex)"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800230 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231 default "00080000" if CHIP_M32700
Hirokazu Takata9287d952006-01-06 00:18:41 -0800232 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700233 default "00008000" if CHIP_VDEC2
234
235#
236# Define implied options from the CPU selection here
237#
238
Nick Piggin95c354f2008-01-30 13:31:20 +0100239config GENERIC_LOCKBREAK
240 bool
241 default y
242 depends on SMP && PREEMPT
243
Linus Torvalds1da177e2005-04-16 15:20:36 -0700244config RWSEM_GENERIC_SPINLOCK
245 bool
246 depends on M32R
247 default y
248
249config RWSEM_XCHGADD_ALGORITHM
250 bool
251 default n
252
David Howellsf0d1b0b2006-12-08 02:37:49 -0800253config ARCH_HAS_ILOG2_U32
254 bool
255 default n
256
257config ARCH_HAS_ILOG2_U64
258 bool
259 default n
260
Akinobu Mita6d9f9372006-03-26 01:39:26 -0800261config GENERIC_FIND_NEXT_BIT
262 bool
263 default y
264
265config GENERIC_HWEIGHT
266 bool
267 default y
268
Linus Torvalds1da177e2005-04-16 15:20:36 -0700269config GENERIC_CALIBRATE_DELAY
270 bool
271 default y
272
Hirokazu Takata43c09ce2007-05-10 22:22:25 -0700273config SCHED_NO_NO_OMIT_FRAME_POINTER
274 bool
275 default y
276
Linus Torvalds1da177e2005-04-16 15:20:36 -0700277config PREEMPT
278 bool "Preemptible Kernel"
279 help
280 This option reduces the latency of the kernel when reacting to
281 real-time or interactive events by allowing a low priority process to
282 be preempted even if it is in kernel mode executing a system call.
283 This allows applications to run more reliably even when the system is
284 under load.
285
286 Say Y here if you are building a kernel for a desktop, embedded
287 or real-time system. Say N if you are unsure.
288
Linus Torvalds1da177e2005-04-16 15:20:36 -0700289config SMP
290 bool "Symmetric multi-processing support"
291 ---help---
292 This enables support for systems with more than one CPU. If you have
293 a system with only one CPU, like most personal computers, say N. If
294 you have a system with more than one CPU, say Y.
295
296 If you say N here, the kernel will run on single and multiprocessor
297 machines, but will use only one CPU of a multiprocessor machine. If
298 you say Y here, the kernel will run on many, but not all,
299 singleprocessor machines. On a singleprocessor machine, the kernel
300 will run faster if you say N here.
301
302 People using multiprocessor machines who say Y here should also say
303 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
304 Management" code will be disabled if you say Y here.
305
Arthur Othieno12c62c22005-09-10 00:26:22 -0700306 See also the <file:Documentation/smp.txt>,
307 and the SMP-HOWTO available at
Linus Torvalds1da177e2005-04-16 15:20:36 -0700308 <http://www.linuxdoc.org/docs.html#howto>.
309
310 If you don't know what to do here, say N.
311
312config CHIP_M32700_TS1
313 bool "Workaround code for the M32700 TS1 chip's bug"
314 depends on (CHIP_M32700 && SMP)
315 default n
316
317config NR_CPUS
318 int "Maximum number of CPUs (2-32)"
319 range 2 32
320 depends on SMP
321 default "2"
322 help
323 This allows you to specify the maximum number of CPUs which this
324 kernel will support. The maximum supported value is 32 and the
325 minimum value which makes sense is 2.
326
327 This is purely to save memory - each supported CPU adds
328 approximately eight kilobytes to the kernel image.
329
330# Common NUMA Features
331config NUMA
332 bool "Numa Memory Allocation Support"
Al Viroc5596b22005-08-23 22:45:11 +0100333 depends on SMP && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700334 default n
335
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700336config NODES_SHIFT
337 int
338 default "1"
339 depends on NEED_MULTIPLE_NODES
340
Linus Torvalds1da177e2005-04-16 15:20:36 -0700341# turning this on wastes a bunch of space.
342# Summit needs it only when NUMA is on
343config BOOT_IOREMAP
344 bool
345 depends on NUMA
346 default n
347
348endmenu
349
350
351menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
352
353config PCI
354 bool "PCI support"
Al Viroc3a0f772005-08-23 22:45:31 +0100355 depends on BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700356 default n
357 help
358 Find out whether you have a PCI motherboard. PCI is the name of a
359 bus system, i.e. the way the CPU talks to the other stuff inside
360 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
361 VESA. If you have PCI, say Y, otherwise N.
362
Linus Torvalds1da177e2005-04-16 15:20:36 -0700363choice
364 prompt "PCI access mode"
365 depends on PCI
366 default PCI_GOANY
367
368config PCI_GOBIOS
369 bool "BIOS"
370 ---help---
371 On PCI systems, the BIOS can be used to detect the PCI devices and
372 determine their configuration. However, some old PCI motherboards
373 have BIOS bugs and may crash if this is done. Also, some embedded
374 PCI-based systems don't have any BIOS at all. Linux can also try to
375 detect the PCI hardware directly without using the BIOS.
376
377 With this option, you can specify how Linux should detect the PCI
378 devices. If you choose "BIOS", the BIOS will be used, if you choose
379 "Direct", the BIOS won't be used, and if you choose "Any", the
380 kernel will try the direct access method and falls back to the BIOS
381 if that doesn't work. If unsure, go with the default, which is
382 "Any".
383
384config PCI_GODIRECT
385 bool "Direct"
386
387config PCI_GOANY
388 bool "Any"
389
390endchoice
391
392config PCI_BIOS
393 bool
394 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
395 default y
396
397config PCI_DIRECT
398 bool
399 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
400 default y
401
402source "drivers/pci/Kconfig"
403
404config ISA
405 bool "ISA support"
406 help
407 Find out whether you have ISA slots on your motherboard. ISA is the
408 name of a bus system, i.e. the way the CPU talks to the other stuff
409 inside your box. If you have ISA, say Y, otherwise N.
410
411source "drivers/pcmcia/Kconfig"
412
413source "drivers/pci/hotplug/Kconfig"
414
415endmenu
416
417
418menu "Executable file formats"
419
420source "fs/Kconfig.binfmt"
421
422endmenu
423
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700424source "net/Kconfig"
425
Linus Torvalds1da177e2005-04-16 15:20:36 -0700426source "drivers/Kconfig"
427
428source "fs/Kconfig"
429
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700430source "kernel/Kconfig.instrumentation"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700431
432source "arch/m32r/Kconfig.debug"
433
434source "security/Kconfig"
435
436source "crypto/Kconfig"
437
438source "lib/Kconfig"