blob: 736b808d2291bc149c7801cceb73876d50e0f46b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config M32R
2 bool
3 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +01004 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -05005 select HAVE_OPROFILE
Rusty Russell98a79d62008-12-13 21:19:41 +10306 select INIT_ALL_POSSIBLE
Hirokazu Takata337214e2009-10-15 09:21:56 +09007 select HAVE_KERNEL_GZIP
8 select HAVE_KERNEL_BZIP2
9 select HAVE_KERNEL_LZMA
Thomas Gleixner0e155b22011-01-19 19:17:10 +010010 select HAVE_GENERIC_HARDIRQS
Thomas Gleixner0e155b22011-01-19 19:17:10 +010011 select GENERIC_IRQ_PROBE
Thomas Gleixner4bdab7e2011-03-24 19:24:55 +010012 select GENERIC_IRQ_SHOW
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
14config SBUS
15 bool
16
Linus Torvalds1da177e2005-04-16 15:20:36 -070017config GENERIC_ISA_DMA
18 bool
19 default y
20
Christoph Lameter5ac6da62007-02-10 01:43:14 -080021config ZONE_DMA
22 bool
23 default y
24
Al Viro5ea81762007-02-11 15:41:31 +000025config NO_IOPORT
26 def_bool y
27
Dan Williams1b0fac42007-07-15 23:40:26 -070028config NO_DMA
29 def_bool y
30
H. Peter Anvinbdc80782008-02-08 04:21:26 -080031config HZ
32 int
33 default 100
34
john stultz95ad7592009-09-21 17:04:04 -070035config ARCH_USES_GETTIMEOFFSET
36 def_bool y
37
Linus Torvalds1da177e2005-04-16 15:20:36 -070038source "init/Kconfig"
39
Matt Helsleydc52ddc2008-10-18 20:27:21 -070040source "kernel/Kconfig.freezer"
41
Linus Torvalds1da177e2005-04-16 15:20:36 -070042
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"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090063 select PLAT_HAS_INT1ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070064
65config PLAT_M32700UT
66 bool "M32700UT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090067 select PLAT_HAS_INT0ICU
68 select PLAT_HAS_INT1ICU
69 select PLAT_HAS_INT2ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070070 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"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090078 select PLAT_HAS_INT0ICU
79 select PLAT_HAS_INT1ICU
80 select PLAT_HAS_INT2ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070081 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
Hirokazu Takata23680862005-06-21 17:16:10 -070097config PLAT_MAPPI3
98 bool "Mappi-III(M3A-2170)"
99
Hirokazu Takata9287d952006-01-06 00:18:41 -0800100config PLAT_M32104UT
101 bool "M32104UT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +0900102 select PLAT_HAS_INT1ICU
Hirokazu Takata9287d952006-01-06 00:18:41 -0800103 help
104 The M3T-M32104UT is an reference board based on uT-Engine
105 specification. This board has a M32104 chip.
106
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107endchoice
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
Hirokazu Takata9287d952006-01-06 00:18:41 -0800119config CHIP_M32104
120 bool "M32104"
121 depends on PLAT_M32104UT
122
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123config 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
Hirokazu Takata9287d952006-01-06 00:18:41 -0800145 depends on CHIP_M32102 || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146 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
Hirokazu Takatae070fb742007-08-17 17:22:15 +0900163config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700175config BUS_CLOCK
176 int "Bus Clock [Hz] (integer)"
177 default "70000000" if PLAT_MAPPI
178 default "25000000" if PLAT_USRV
Hirokazu Takata23680862005-06-21 17:16:10 -0700179 default "50000000" if PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180 default "50000000" if PLAT_M32700UT
181 default "50000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800182 default "54000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183 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)"
Hirokazu Takata23680862005-06-21 17:16:10 -0700196 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700197 default "08000000" if PLAT_USRV
198 default "08000000" if PLAT_M32700UT
199 default "08000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800200 default "04000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700201 default "01000000" if PLAT_OAKS32R
202
203config MEMORY_SIZE
204 hex "Physical memory size (hex)"
Hirokazu Takata23680862005-06-21 17:16:10 -0700205 default "08000000" if PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700206 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
Hirokazu Takata9287d952006-01-06 00:18:41 -0800210 default "01000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211 default "00800000" if PLAT_OAKS32R
212
Dave Hansen3f22ab22005-06-23 00:07:43 -0700213config ARCH_DISCONTIGMEM_ENABLE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214 bool "Internal RAM Support"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800215 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216 default y
217
Dave Hansen3f22ab22005-06-23 00:07:43 -0700218source "mm/Kconfig"
219
Linus Torvalds1da177e2005-04-16 15:20:36 -0700220config IRAM_START
221 hex "Internal memory start address (hex)"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800222 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225
226config IRAM_SIZE
227 hex "Internal memory size (hex)"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800228 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700229 default "00080000" if CHIP_M32700
Hirokazu Takata9287d952006-01-06 00:18:41 -0800230 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231 default "00008000" if CHIP_VDEC2
232
233#
234# Define implied options from the CPU selection here
235#
236
Nick Piggin95c354f2008-01-30 13:31:20 +0100237config GENERIC_LOCKBREAK
238 bool
239 default y
240 depends on SMP && PREEMPT
241
Linus Torvalds1da177e2005-04-16 15:20:36 -0700242config RWSEM_GENERIC_SPINLOCK
243 bool
244 depends on M32R
245 default y
246
247config RWSEM_XCHGADD_ALGORITHM
248 bool
249 default n
250
David Howellsf0d1b0b2006-12-08 02:37:49 -0800251config ARCH_HAS_ILOG2_U32
252 bool
253 default n
254
255config ARCH_HAS_ILOG2_U64
256 bool
257 default n
258
Akinobu Mita6d9f9372006-03-26 01:39:26 -0800259config GENERIC_FIND_NEXT_BIT
260 bool
261 default y
262
Akinobu Mita06649962011-03-23 16:41:59 -0700263config GENERIC_FIND_BIT_LE
264 bool
265 default y
266
Akinobu Mita6d9f9372006-03-26 01:39:26 -0800267config GENERIC_HWEIGHT
268 bool
269 default y
270
Linus Torvalds1da177e2005-04-16 15:20:36 -0700271config GENERIC_CALIBRATE_DELAY
272 bool
273 default y
274
Ingo Molnarae1e9132008-11-11 09:05:16 +0100275config SCHED_OMIT_FRAME_POINTER
Hirokazu Takata43c09ce2007-05-10 22:22:25 -0700276 bool
277 default y
278
Linus Torvalds1da177e2005-04-16 15:20:36 -0700279config PREEMPT
280 bool "Preemptible Kernel"
281 help
282 This option reduces the latency of the kernel when reacting to
283 real-time or interactive events by allowing a low priority process to
284 be preempted even if it is in kernel mode executing a system call.
285 This allows applications to run more reliably even when the system is
286 under load.
287
288 Say Y here if you are building a kernel for a desktop, embedded
289 or real-time system. Say N if you are unsure.
290
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291config SMP
292 bool "Symmetric multi-processing support"
Jens Axboe7b7426c2008-06-10 20:49:30 +0200293 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700294 ---help---
295 This enables support for systems with more than one CPU. If you have
296 a system with only one CPU, like most personal computers, say N. If
297 you have a system with more than one CPU, say Y.
298
299 If you say N here, the kernel will run on single and multiprocessor
300 machines, but will use only one CPU of a multiprocessor machine. If
301 you say Y here, the kernel will run on many, but not all,
302 singleprocessor machines. On a singleprocessor machine, the kernel
303 will run faster if you say N here.
304
305 People using multiprocessor machines who say Y here should also say
306 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
307 Management" code will be disabled if you say Y here.
308
Adrian Bunk03502fa2008-02-03 15:50:21 +0200309 See also the SMP-HOWTO available at
Justin P. Mattock50a23e62010-10-16 10:36:23 -0700310 <http://tldp.org/HOWTO/SMP-HOWTO.html>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700311
312 If you don't know what to do here, say N.
313
314config CHIP_M32700_TS1
315 bool "Workaround code for the M32700 TS1 chip's bug"
316 depends on (CHIP_M32700 && SMP)
317 default n
318
319config NR_CPUS
320 int "Maximum number of CPUs (2-32)"
321 range 2 32
322 depends on SMP
323 default "2"
324 help
325 This allows you to specify the maximum number of CPUs which this
326 kernel will support. The maximum supported value is 32 and the
327 minimum value which makes sense is 2.
328
329 This is purely to save memory - each supported CPU adds
330 approximately eight kilobytes to the kernel image.
331
332# Common NUMA Features
333config NUMA
334 bool "Numa Memory Allocation Support"
Al Viroc5596b22005-08-23 22:45:11 +0100335 depends on SMP && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700336 default n
337
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700338config NODES_SHIFT
339 int
340 default "1"
341 depends on NEED_MULTIPLE_NODES
342
Linus Torvalds1da177e2005-04-16 15:20:36 -0700343# turning this on wastes a bunch of space.
344# Summit needs it only when NUMA is on
345config BOOT_IOREMAP
346 bool
347 depends on NUMA
348 default n
349
350endmenu
351
352
353menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
354
355config PCI
356 bool "PCI support"
Al Viroc3a0f772005-08-23 22:45:31 +0100357 depends on BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700358 default n
359 help
360 Find out whether you have a PCI motherboard. PCI is the name of a
361 bus system, i.e. the way the CPU talks to the other stuff inside
362 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
363 VESA. If you have PCI, say Y, otherwise N.
364
Linus Torvalds1da177e2005-04-16 15:20:36 -0700365choice
366 prompt "PCI access mode"
367 depends on PCI
368 default PCI_GOANY
369
370config PCI_GOBIOS
371 bool "BIOS"
372 ---help---
373 On PCI systems, the BIOS can be used to detect the PCI devices and
374 determine their configuration. However, some old PCI motherboards
375 have BIOS bugs and may crash if this is done. Also, some embedded
376 PCI-based systems don't have any BIOS at all. Linux can also try to
377 detect the PCI hardware directly without using the BIOS.
378
379 With this option, you can specify how Linux should detect the PCI
380 devices. If you choose "BIOS", the BIOS will be used, if you choose
381 "Direct", the BIOS won't be used, and if you choose "Any", the
382 kernel will try the direct access method and falls back to the BIOS
383 if that doesn't work. If unsure, go with the default, which is
384 "Any".
385
386config PCI_GODIRECT
387 bool "Direct"
388
389config PCI_GOANY
390 bool "Any"
391
392endchoice
393
394config PCI_BIOS
395 bool
396 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
397 default y
398
399config PCI_DIRECT
400 bool
401 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
402 default y
403
404source "drivers/pci/Kconfig"
405
406config ISA
Adrian Bunk1b20b092008-09-24 14:58:54 +0900407 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700408
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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700428source "arch/m32r/Kconfig.debug"
429
430source "security/Kconfig"
431
432source "crypto/Kconfig"
433
434source "lib/Kconfig"