blob: e0118c4bc08223785b390a77cee0029823f052ae [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
11
12config SBUS
13 bool
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015config GENERIC_ISA_DMA
16 bool
17 default y
18
Christoph Lameter5ac6da62007-02-10 01:43:14 -080019config ZONE_DMA
20 bool
21 default y
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023config GENERIC_HARDIRQS
24 bool
25 default y
26
27config GENERIC_IRQ_PROBE
28 bool
29 default y
30
Al Viro5ea81762007-02-11 15:41:31 +000031config NO_IOPORT
32 def_bool y
33
Dan Williams1b0fac42007-07-15 23:40:26 -070034config NO_DMA
35 def_bool y
36
Linus Torvalds1da177e2005-04-16 15:20:36 -070037source "init/Kconfig"
38
39
40menu "Processor type and features"
41
42choice
43 prompt "Platform Type"
44 default PLAT_MAPPI
45
46config PLAT_MAPPI
47 bool "Mappi-I"
48 help
49 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
50 You can operate a Linux system on this board by using an M32R
51 softmacro core, which is a fully-synthesizable functional model
52 described in Verilog-HDL.
53
54 The Mappi-I board was the first platform, which had been used
55 to port and develop a Linux system for the M32R processor.
56 Currently, the Mappi-II, an heir to the Mappi-I, is available.
57
58config PLAT_USRV
59 bool "uServer"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090060 select PLAT_HAS_INT1ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070061
62config PLAT_M32700UT
63 bool "M32700UT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090064 select PLAT_HAS_INT0ICU
65 select PLAT_HAS_INT1ICU
66 select PLAT_HAS_INT2ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070067 help
68 The M3T-M32700UT is an evaluation board based on uT-Engine
69 specification. This board has an M32700 (Chaos) evaluation chip.
70 You can say Y for SMP, because the M32700 is a single chip
71 multiprocessor.
72
73config PLAT_OPSPUT
74 bool "OPSPUT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090075 select PLAT_HAS_INT0ICU
76 select PLAT_HAS_INT1ICU
77 select PLAT_HAS_INT2ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070078 help
79 The OPSPUT is an evaluation board based on uT-Engine
80 specification. This board has a OPSP-REP chip.
81
82config PLAT_OAKS32R
83 bool "OAKS32R"
84 help
85 The OAKS32R is a tiny, inexpensive evaluation board.
86 Please note that if you say Y here and choose chip "M32102",
87 say N for MMU and select a no-MMU version kernel, otherwise
88 a kernel with MMU support will not work, because the M32102
89 is a microcontroller for embedded systems and it has no MMU.
90
91config PLAT_MAPPI2
92 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
93
Hirokazu Takata23680862005-06-21 17:16:10 -070094config PLAT_MAPPI3
95 bool "Mappi-III(M3A-2170)"
96
Hirokazu Takata9287d952006-01-06 00:18:41 -080097config PLAT_M32104UT
98 bool "M32104UT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090099 select PLAT_HAS_INT1ICU
Hirokazu Takata9287d952006-01-06 00:18:41 -0800100 help
101 The M3T-M32104UT is an reference board based on uT-Engine
102 specification. This board has a M32104 chip.
103
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104endchoice
105
106choice
107 prompt "Processor family"
108 default CHIP_M32700
109
110config CHIP_M32700
111 bool "M32700 (Chaos)"
112
113config CHIP_M32102
114 bool "M32102"
115
Hirokazu Takata9287d952006-01-06 00:18:41 -0800116config CHIP_M32104
117 bool "M32104"
118 depends on PLAT_M32104UT
119
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120config CHIP_VDEC2
121 bool "VDEC2"
122
123config CHIP_OPSP
124 bool "OPSP"
125
126endchoice
127
128config MMU
129 bool "Support for memory management hardware"
130 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
131 default y
132
133config TLB_ENTRIES
134 int "TLB Entries"
135 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
136 default 32 if CHIP_M32700 || CHIP_OPSP
137 default 16 if CHIP_VDEC2
138
139
140config ISA_M32R
141 bool
Hirokazu Takata9287d952006-01-06 00:18:41 -0800142 depends on CHIP_M32102 || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143 default y
144
145config ISA_M32R2
146 bool
147 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
148 default y
149
150config ISA_DSP_LEVEL2
151 bool
152 depends on CHIP_M32700 || CHIP_OPSP
153 default y
154
155config ISA_DUAL_ISSUE
156 bool
157 depends on CHIP_M32700 || CHIP_OPSP
158 default y
159
Hirokazu Takatae070fb742007-08-17 17:22:15 +0900160config PLAT_HAS_INT0ICU
161 bool
162 default n
163
164config PLAT_HAS_INT1ICU
165 bool
166 default n
167
168config PLAT_HAS_INT2ICU
169 bool
170 default n
171
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172config BUS_CLOCK
173 int "Bus Clock [Hz] (integer)"
174 default "70000000" if PLAT_MAPPI
175 default "25000000" if PLAT_USRV
Hirokazu Takata23680862005-06-21 17:16:10 -0700176 default "50000000" if PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177 default "50000000" if PLAT_M32700UT
178 default "50000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800179 default "54000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180 default "33333333" if PLAT_OAKS32R
181 default "20000000" if PLAT_MAPPI2
182
183config TIMER_DIVIDE
184 int "Timer divider (integer)"
185 default "128"
186
187config CPU_LITTLE_ENDIAN
188 bool "Generate little endian code"
189 default n
190
191config MEMORY_START
192 hex "Physical memory start address (hex)"
Hirokazu Takata23680862005-06-21 17:16:10 -0700193 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700194 default "08000000" if PLAT_USRV
195 default "08000000" if PLAT_M32700UT
196 default "08000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800197 default "04000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700198 default "01000000" if PLAT_OAKS32R
199
200config MEMORY_SIZE
201 hex "Physical memory size (hex)"
Hirokazu Takata23680862005-06-21 17:16:10 -0700202 default "08000000" if PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
204 default "02000000" if PLAT_USRV
205 default "01000000" if PLAT_M32700UT
206 default "01000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800207 default "01000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700208 default "00800000" if PLAT_OAKS32R
209
210config NOHIGHMEM
211 bool
212 default y
213
Dave Hansen3f22ab22005-06-23 00:07:43 -0700214config ARCH_DISCONTIGMEM_ENABLE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215 bool "Internal RAM Support"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800216 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700217 default y
218
Dave Hansen3f22ab22005-06-23 00:07:43 -0700219source "mm/Kconfig"
220
Linus Torvalds1da177e2005-04-16 15:20:36 -0700221config IRAM_START
222 hex "Internal memory start address (hex)"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800223 default "00f00000" if !CHIP_M32104
224 default "00700000" if CHIP_M32104
225 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226
227config IRAM_SIZE
228 hex "Internal memory size (hex)"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800229 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230 default "00080000" if CHIP_M32700
Hirokazu Takata9287d952006-01-06 00:18:41 -0800231 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232 default "00008000" if CHIP_VDEC2
233
234#
235# Define implied options from the CPU selection here
236#
237
Nick Piggin95c354f2008-01-30 13:31:20 +0100238config GENERIC_LOCKBREAK
239 bool
240 default y
241 depends on SMP && PREEMPT
242
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243config RWSEM_GENERIC_SPINLOCK
244 bool
245 depends on M32R
246 default y
247
248config RWSEM_XCHGADD_ALGORITHM
249 bool
250 default n
251
David Howellsf0d1b0b2006-12-08 02:37:49 -0800252config ARCH_HAS_ILOG2_U32
253 bool
254 default n
255
256config ARCH_HAS_ILOG2_U64
257 bool
258 default n
259
Akinobu Mita6d9f9372006-03-26 01:39:26 -0800260config GENERIC_FIND_NEXT_BIT
261 bool
262 default y
263
264config GENERIC_HWEIGHT
265 bool
266 default y
267
Linus Torvalds1da177e2005-04-16 15:20:36 -0700268config GENERIC_CALIBRATE_DELAY
269 bool
270 default y
271
Hirokazu Takata43c09ce2007-05-10 22:22:25 -0700272config SCHED_NO_NO_OMIT_FRAME_POINTER
273 bool
274 default y
275
Linus Torvalds1da177e2005-04-16 15:20:36 -0700276config PREEMPT
277 bool "Preemptible Kernel"
278 help
279 This option reduces the latency of the kernel when reacting to
280 real-time or interactive events by allowing a low priority process to
281 be preempted even if it is in kernel mode executing a system call.
282 This allows applications to run more reliably even when the system is
283 under load.
284
285 Say Y here if you are building a kernel for a desktop, embedded
286 or real-time system. Say N if you are unsure.
287
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288config SMP
289 bool "Symmetric multi-processing support"
290 ---help---
291 This enables support for systems with more than one CPU. If you have
292 a system with only one CPU, like most personal computers, say N. If
293 you have a system with more than one CPU, say Y.
294
295 If you say N here, the kernel will run on single and multiprocessor
296 machines, but will use only one CPU of a multiprocessor machine. If
297 you say Y here, the kernel will run on many, but not all,
298 singleprocessor machines. On a singleprocessor machine, the kernel
299 will run faster if you say N here.
300
301 People using multiprocessor machines who say Y here should also say
302 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
303 Management" code will be disabled if you say Y here.
304
Adrian Bunk03502fa2008-02-03 15:50:21 +0200305 See also the SMP-HOWTO available at
Linus Torvalds1da177e2005-04-16 15:20:36 -0700306 <http://www.linuxdoc.org/docs.html#howto>.
307
308 If you don't know what to do here, say N.
309
310config CHIP_M32700_TS1
311 bool "Workaround code for the M32700 TS1 chip's bug"
312 depends on (CHIP_M32700 && SMP)
313 default n
314
315config NR_CPUS
316 int "Maximum number of CPUs (2-32)"
317 range 2 32
318 depends on SMP
319 default "2"
320 help
321 This allows you to specify the maximum number of CPUs which this
322 kernel will support. The maximum supported value is 32 and the
323 minimum value which makes sense is 2.
324
325 This is purely to save memory - each supported CPU adds
326 approximately eight kilobytes to the kernel image.
327
328# Common NUMA Features
329config NUMA
330 bool "Numa Memory Allocation Support"
Al Viroc5596b22005-08-23 22:45:11 +0100331 depends on SMP && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700332 default n
333
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700334config NODES_SHIFT
335 int
336 default "1"
337 depends on NEED_MULTIPLE_NODES
338
Linus Torvalds1da177e2005-04-16 15:20:36 -0700339# turning this on wastes a bunch of space.
340# Summit needs it only when NUMA is on
341config BOOT_IOREMAP
342 bool
343 depends on NUMA
344 default n
345
346endmenu
347
348
349menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
350
351config PCI
352 bool "PCI support"
Al Viroc3a0f772005-08-23 22:45:31 +0100353 depends on BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700354 default n
355 help
356 Find out whether you have a PCI motherboard. PCI is the name of a
357 bus system, i.e. the way the CPU talks to the other stuff inside
358 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
359 VESA. If you have PCI, say Y, otherwise N.
360
Linus Torvalds1da177e2005-04-16 15:20:36 -0700361choice
362 prompt "PCI access mode"
363 depends on PCI
364 default PCI_GOANY
365
366config PCI_GOBIOS
367 bool "BIOS"
368 ---help---
369 On PCI systems, the BIOS can be used to detect the PCI devices and
370 determine their configuration. However, some old PCI motherboards
371 have BIOS bugs and may crash if this is done. Also, some embedded
372 PCI-based systems don't have any BIOS at all. Linux can also try to
373 detect the PCI hardware directly without using the BIOS.
374
375 With this option, you can specify how Linux should detect the PCI
376 devices. If you choose "BIOS", the BIOS will be used, if you choose
377 "Direct", the BIOS won't be used, and if you choose "Any", the
378 kernel will try the direct access method and falls back to the BIOS
379 if that doesn't work. If unsure, go with the default, which is
380 "Any".
381
382config PCI_GODIRECT
383 bool "Direct"
384
385config PCI_GOANY
386 bool "Any"
387
388endchoice
389
390config PCI_BIOS
391 bool
392 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
393 default y
394
395config PCI_DIRECT
396 bool
397 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
398 default y
399
400source "drivers/pci/Kconfig"
401
402config ISA
403 bool "ISA support"
404 help
405 Find out whether you have ISA slots on your motherboard. ISA is the
406 name of a bus system, i.e. the way the CPU talks to the other stuff
407 inside your box. If you have ISA, say Y, otherwise N.
408
409source "drivers/pcmcia/Kconfig"
410
411source "drivers/pci/hotplug/Kconfig"
412
413endmenu
414
415
416menu "Executable file formats"
417
418source "fs/Kconfig.binfmt"
419
420endmenu
421
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700422source "net/Kconfig"
423
Linus Torvalds1da177e2005-04-16 15:20:36 -0700424source "drivers/Kconfig"
425
426source "fs/Kconfig"
427
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700428source "kernel/Kconfig.instrumentation"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700429
430source "arch/m32r/Kconfig.debug"
431
432source "security/Kconfig"
433
434source "crypto/Kconfig"
435
436source "lib/Kconfig"