blob: ca4504424dae7e9f38cf8f59c953a0cda2570c12 [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
Will Deaconc1d7e012012-07-30 14:42:46 -070010 select ARCH_WANT_IPC_PARSE_VERSION
Catalin Marinas9b2a60c2012-10-08 16:28:13 -070011 select HAVE_DEBUG_BUGVERBOSE
Stephen Rothwell4febd952013-03-07 15:48:16 +110012 select VIRT_TO_BUS
Thomas Gleixner0e155b22011-01-19 19:17:10 +010013 select GENERIC_IRQ_PROBE
Thomas Gleixner4bdab7e2011-03-24 19:24:55 +010014 select GENERIC_IRQ_SHOW
Steven Rostedtabcefec2011-10-13 10:40:16 -040015 select GENERIC_ATOMIC64
Anna-Maria Gleixner97a1c1e2012-05-18 16:45:48 +000016 select ARCH_USES_GETTIMEOFFSET
David Howells786d35d2012-09-28 14:31:03 +093017 select MODULES_USE_ELF_RELA
Dave Hansend1a1dc02013-07-01 13:04:42 -070018 select HAVE_DEBUG_STACKOVERFLOW
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
20config SBUS
21 bool
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023config GENERIC_ISA_DMA
24 bool
25 default y
26
Christoph Lameter5ac6da62007-02-10 01:43:14 -080027config ZONE_DMA
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
H. Peter Anvinbdc80782008-02-08 04:21:26 -080037config HZ
38 int
39 default 100
40
Linus Torvalds1da177e2005-04-16 15:20:36 -070041source "init/Kconfig"
42
Matt Helsleydc52ddc2008-10-18 20:27:21 -070043source "kernel/Kconfig.freezer"
44
Linus Torvalds1da177e2005-04-16 15:20:36 -070045
46menu "Processor type and features"
47
48choice
49 prompt "Platform Type"
50 default PLAT_MAPPI
51
52config PLAT_MAPPI
53 bool "Mappi-I"
54 help
55 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
56 You can operate a Linux system on this board by using an M32R
57 softmacro core, which is a fully-synthesizable functional model
58 described in Verilog-HDL.
59
60 The Mappi-I board was the first platform, which had been used
61 to port and develop a Linux system for the M32R processor.
62 Currently, the Mappi-II, an heir to the Mappi-I, is available.
63
64config PLAT_USRV
65 bool "uServer"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090066 select PLAT_HAS_INT1ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070067
68config PLAT_M32700UT
69 bool "M32700UT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090070 select PLAT_HAS_INT0ICU
71 select PLAT_HAS_INT1ICU
72 select PLAT_HAS_INT2ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070073 help
74 The M3T-M32700UT is an evaluation board based on uT-Engine
75 specification. This board has an M32700 (Chaos) evaluation chip.
76 You can say Y for SMP, because the M32700 is a single chip
77 multiprocessor.
78
79config PLAT_OPSPUT
80 bool "OPSPUT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090081 select PLAT_HAS_INT0ICU
82 select PLAT_HAS_INT1ICU
83 select PLAT_HAS_INT2ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070084 help
85 The OPSPUT is an evaluation board based on uT-Engine
86 specification. This board has a OPSP-REP chip.
87
88config PLAT_OAKS32R
89 bool "OAKS32R"
90 help
91 The OAKS32R is a tiny, inexpensive evaluation board.
92 Please note that if you say Y here and choose chip "M32102",
93 say N for MMU and select a no-MMU version kernel, otherwise
94 a kernel with MMU support will not work, because the M32102
95 is a microcontroller for embedded systems and it has no MMU.
96
97config PLAT_MAPPI2
98 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
99
Hirokazu Takata23680862005-06-21 17:16:10 -0700100config PLAT_MAPPI3
101 bool "Mappi-III(M3A-2170)"
102
Hirokazu Takata9287d952006-01-06 00:18:41 -0800103config PLAT_M32104UT
104 bool "M32104UT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +0900105 select PLAT_HAS_INT1ICU
Hirokazu Takata9287d952006-01-06 00:18:41 -0800106 help
107 The M3T-M32104UT is an reference board based on uT-Engine
108 specification. This board has a M32104 chip.
109
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110endchoice
111
112choice
113 prompt "Processor family"
114 default CHIP_M32700
115
116config CHIP_M32700
117 bool "M32700 (Chaos)"
118
119config CHIP_M32102
120 bool "M32102"
121
Hirokazu Takata9287d952006-01-06 00:18:41 -0800122config CHIP_M32104
123 bool "M32104"
124 depends on PLAT_M32104UT
125
Linus Torvalds1da177e2005-04-16 15:20:36 -0700126config CHIP_VDEC2
127 bool "VDEC2"
128
129config CHIP_OPSP
130 bool "OPSP"
131
132endchoice
133
134config MMU
135 bool "Support for memory management hardware"
136 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
137 default y
138
139config TLB_ENTRIES
140 int "TLB Entries"
141 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
142 default 32 if CHIP_M32700 || CHIP_OPSP
143 default 16 if CHIP_VDEC2
144
145
146config ISA_M32R
147 bool
Hirokazu Takata9287d952006-01-06 00:18:41 -0800148 depends on CHIP_M32102 || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149 default y
150
151config ISA_M32R2
152 bool
153 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
154 default y
155
156config ISA_DSP_LEVEL2
157 bool
158 depends on CHIP_M32700 || CHIP_OPSP
159 default y
160
161config ISA_DUAL_ISSUE
162 bool
163 depends on CHIP_M32700 || CHIP_OPSP
164 default y
165
Hirokazu Takatae070fb742007-08-17 17:22:15 +0900166config PLAT_HAS_INT0ICU
167 bool
168 default n
169
170config PLAT_HAS_INT1ICU
171 bool
172 default n
173
174config PLAT_HAS_INT2ICU
175 bool
176 default n
177
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178config BUS_CLOCK
179 int "Bus Clock [Hz] (integer)"
180 default "70000000" if PLAT_MAPPI
181 default "25000000" if PLAT_USRV
Hirokazu Takata23680862005-06-21 17:16:10 -0700182 default "50000000" if PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183 default "50000000" if PLAT_M32700UT
184 default "50000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800185 default "54000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700186 default "33333333" if PLAT_OAKS32R
187 default "20000000" if PLAT_MAPPI2
188
189config TIMER_DIVIDE
190 int "Timer divider (integer)"
191 default "128"
192
193config CPU_LITTLE_ENDIAN
194 bool "Generate little endian code"
195 default n
196
197config MEMORY_START
198 hex "Physical memory start address (hex)"
Hirokazu Takata23680862005-06-21 17:16:10 -0700199 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700200 default "08000000" if PLAT_USRV
201 default "08000000" if PLAT_M32700UT
202 default "08000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800203 default "04000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700204 default "01000000" if PLAT_OAKS32R
205
206config MEMORY_SIZE
207 hex "Physical memory size (hex)"
Hirokazu Takata23680862005-06-21 17:16:10 -0700208 default "08000000" if PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
210 default "02000000" if PLAT_USRV
211 default "01000000" if PLAT_M32700UT
212 default "01000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800213 default "01000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214 default "00800000" if PLAT_OAKS32R
215
Dave Hansen3f22ab22005-06-23 00:07:43 -0700216config ARCH_DISCONTIGMEM_ENABLE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700217 bool "Internal RAM Support"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800218 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219 default y
220
Dave Hansen3f22ab22005-06-23 00:07:43 -0700221source "mm/Kconfig"
222
Linus Torvalds1da177e2005-04-16 15:20:36 -0700223config IRAM_START
224 hex "Internal memory start address (hex)"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800225 default "00f00000" if !CHIP_M32104
226 default "00700000" if CHIP_M32104
227 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228
229config IRAM_SIZE
230 hex "Internal memory size (hex)"
Hirokazu Takata9287d952006-01-06 00:18:41 -0800231 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232 default "00080000" if CHIP_M32700
Hirokazu Takata9287d952006-01-06 00:18:41 -0800233 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700234 default "00008000" if CHIP_VDEC2
235
236#
237# Define implied options from the CPU selection here
238#
239
Nick Piggin95c354f2008-01-30 13:31:20 +0100240config GENERIC_LOCKBREAK
241 bool
242 default y
243 depends on SMP && PREEMPT
244
Linus Torvalds1da177e2005-04-16 15:20:36 -0700245config RWSEM_GENERIC_SPINLOCK
246 bool
247 depends on M32R
248 default y
249
250config RWSEM_XCHGADD_ALGORITHM
251 bool
252 default n
253
David Howellsf0d1b0b2006-12-08 02:37:49 -0800254config ARCH_HAS_ILOG2_U32
255 bool
256 default n
257
258config ARCH_HAS_ILOG2_U64
259 bool
260 default n
261
Akinobu Mita6d9f9372006-03-26 01:39:26 -0800262config GENERIC_HWEIGHT
263 bool
264 default y
265
Linus Torvalds1da177e2005-04-16 15:20:36 -0700266config GENERIC_CALIBRATE_DELAY
267 bool
268 default y
269
Ingo Molnarae1e9132008-11-11 09:05:16 +0100270config SCHED_OMIT_FRAME_POINTER
Hirokazu Takata43c09ce2007-05-10 22:22:25 -0700271 bool
272 default y
273
Frederic Weisbeckerdab16ae2011-07-05 16:29:40 +0200274source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700275
Linus Torvalds1da177e2005-04-16 15:20:36 -0700276config SMP
277 bool "Symmetric multi-processing support"
278 ---help---
279 This enables support for systems with more than one CPU. If you have
Robert Graffham4a474152014-01-23 15:55:29 -0800280 a system with only one CPU, say N. If you have a system with more
281 than one CPU, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700282
Robert Graffham4a474152014-01-23 15:55:29 -0800283 If you say N here, the kernel will run on uni- and multiprocessor
Linus Torvalds1da177e2005-04-16 15:20:36 -0700284 machines, but will use only one CPU of a multiprocessor machine. If
285 you say Y here, the kernel will run on many, but not all,
Robert Graffham4a474152014-01-23 15:55:29 -0800286 uniprocessor machines. On a uniprocessor machine, the kernel
Linus Torvalds1da177e2005-04-16 15:20:36 -0700287 will run faster if you say N here.
288
289 People using multiprocessor machines who say Y here should also say
290 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
291 Management" code will be disabled if you say Y here.
292
Adrian Bunk03502fa2008-02-03 15:50:21 +0200293 See also the SMP-HOWTO available at
Justin P. Mattock50a23e62010-10-16 10:36:23 -0700294 <http://tldp.org/HOWTO/SMP-HOWTO.html>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700295
296 If you don't know what to do here, say N.
297
298config CHIP_M32700_TS1
299 bool "Workaround code for the M32700 TS1 chip's bug"
300 depends on (CHIP_M32700 && SMP)
301 default n
302
303config NR_CPUS
304 int "Maximum number of CPUs (2-32)"
305 range 2 32
306 depends on SMP
307 default "2"
308 help
309 This allows you to specify the maximum number of CPUs which this
310 kernel will support. The maximum supported value is 32 and the
311 minimum value which makes sense is 2.
312
313 This is purely to save memory - each supported CPU adds
314 approximately eight kilobytes to the kernel image.
315
316# Common NUMA Features
317config NUMA
318 bool "Numa Memory Allocation Support"
Al Viroc5596b22005-08-23 22:45:11 +0100319 depends on SMP && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700320 default n
321
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700322config NODES_SHIFT
323 int
324 default "1"
325 depends on NEED_MULTIPLE_NODES
326
Linus Torvalds1da177e2005-04-16 15:20:36 -0700327endmenu
328
329
330menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
331
332config PCI
333 bool "PCI support"
Al Viroc3a0f772005-08-23 22:45:31 +0100334 depends on BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700335 default n
336 help
337 Find out whether you have a PCI motherboard. PCI is the name of a
338 bus system, i.e. the way the CPU talks to the other stuff inside
339 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
340 VESA. If you have PCI, say Y, otherwise N.
341
Linus Torvalds1da177e2005-04-16 15:20:36 -0700342choice
343 prompt "PCI access mode"
344 depends on PCI
345 default PCI_GOANY
346
347config PCI_GOBIOS
348 bool "BIOS"
349 ---help---
350 On PCI systems, the BIOS can be used to detect the PCI devices and
351 determine their configuration. However, some old PCI motherboards
352 have BIOS bugs and may crash if this is done. Also, some embedded
353 PCI-based systems don't have any BIOS at all. Linux can also try to
354 detect the PCI hardware directly without using the BIOS.
355
356 With this option, you can specify how Linux should detect the PCI
357 devices. If you choose "BIOS", the BIOS will be used, if you choose
358 "Direct", the BIOS won't be used, and if you choose "Any", the
359 kernel will try the direct access method and falls back to the BIOS
360 if that doesn't work. If unsure, go with the default, which is
361 "Any".
362
363config PCI_GODIRECT
364 bool "Direct"
365
366config PCI_GOANY
367 bool "Any"
368
369endchoice
370
371config PCI_BIOS
372 bool
373 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
374 default y
375
376config PCI_DIRECT
377 bool
378 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
379 default y
380
381source "drivers/pci/Kconfig"
382
383config ISA
Adrian Bunk1b20b092008-09-24 14:58:54 +0900384 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700385
386source "drivers/pcmcia/Kconfig"
387
388source "drivers/pci/hotplug/Kconfig"
389
390endmenu
391
392
393menu "Executable file formats"
394
395source "fs/Kconfig.binfmt"
396
397endmenu
398
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700399source "net/Kconfig"
400
Linus Torvalds1da177e2005-04-16 15:20:36 -0700401source "drivers/Kconfig"
402
403source "fs/Kconfig"
404
Linus Torvalds1da177e2005-04-16 15:20:36 -0700405source "arch/m32r/Kconfig.debug"
406
407source "security/Kconfig"
408
409source "crypto/Kconfig"
410
411source "lib/Kconfig"