blob: f807721e19a52ee1f5b619cd0a742328e4515f46 [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
Thomas Gleixner0e155b22011-01-19 19:17:10 +010012 select HAVE_GENERIC_HARDIRQS
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
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
19config SBUS
20 bool
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022config GENERIC_ISA_DMA
23 bool
24 default y
25
Christoph Lameter5ac6da62007-02-10 01:43:14 -080026config ZONE_DMA
27 bool
28 default y
29
Al Viro5ea81762007-02-11 15:41:31 +000030config NO_IOPORT
31 def_bool y
32
Dan Williams1b0fac42007-07-15 23:40:26 -070033config NO_DMA
34 def_bool y
35
H. Peter Anvinbdc80782008-02-08 04:21:26 -080036config HZ
37 int
38 default 100
39
Linus Torvalds1da177e2005-04-16 15:20:36 -070040source "init/Kconfig"
41
Matt Helsleydc52ddc2008-10-18 20:27:21 -070042source "kernel/Kconfig.freezer"
43
Linus Torvalds1da177e2005-04-16 15:20:36 -070044
45menu "Processor type and features"
46
47choice
48 prompt "Platform Type"
49 default PLAT_MAPPI
50
51config PLAT_MAPPI
52 bool "Mappi-I"
53 help
54 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
55 You can operate a Linux system on this board by using an M32R
56 softmacro core, which is a fully-synthesizable functional model
57 described in Verilog-HDL.
58
59 The Mappi-I board was the first platform, which had been used
60 to port and develop a Linux system for the M32R processor.
61 Currently, the Mappi-II, an heir to the Mappi-I, is available.
62
63config PLAT_USRV
64 bool "uServer"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090065 select PLAT_HAS_INT1ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070066
67config PLAT_M32700UT
68 bool "M32700UT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090069 select PLAT_HAS_INT0ICU
70 select PLAT_HAS_INT1ICU
71 select PLAT_HAS_INT2ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070072 help
73 The M3T-M32700UT is an evaluation board based on uT-Engine
74 specification. This board has an M32700 (Chaos) evaluation chip.
75 You can say Y for SMP, because the M32700 is a single chip
76 multiprocessor.
77
78config PLAT_OPSPUT
79 bool "OPSPUT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +090080 select PLAT_HAS_INT0ICU
81 select PLAT_HAS_INT1ICU
82 select PLAT_HAS_INT2ICU
Linus Torvalds1da177e2005-04-16 15:20:36 -070083 help
84 The OPSPUT is an evaluation board based on uT-Engine
85 specification. This board has a OPSP-REP chip.
86
87config PLAT_OAKS32R
88 bool "OAKS32R"
89 help
90 The OAKS32R is a tiny, inexpensive evaluation board.
91 Please note that if you say Y here and choose chip "M32102",
92 say N for MMU and select a no-MMU version kernel, otherwise
93 a kernel with MMU support will not work, because the M32102
94 is a microcontroller for embedded systems and it has no MMU.
95
96config PLAT_MAPPI2
97 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
98
Hirokazu Takata23680862005-06-21 17:16:10 -070099config PLAT_MAPPI3
100 bool "Mappi-III(M3A-2170)"
101
Hirokazu Takata9287d952006-01-06 00:18:41 -0800102config PLAT_M32104UT
103 bool "M32104UT"
Hirokazu Takatae070fb742007-08-17 17:22:15 +0900104 select PLAT_HAS_INT1ICU
Hirokazu Takata9287d952006-01-06 00:18:41 -0800105 help
106 The M3T-M32104UT is an reference board based on uT-Engine
107 specification. This board has a M32104 chip.
108
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109endchoice
110
111choice
112 prompt "Processor family"
113 default CHIP_M32700
114
115config CHIP_M32700
116 bool "M32700 (Chaos)"
117
118config CHIP_M32102
119 bool "M32102"
120
Hirokazu Takata9287d952006-01-06 00:18:41 -0800121config CHIP_M32104
122 bool "M32104"
123 depends on PLAT_M32104UT
124
Linus Torvalds1da177e2005-04-16 15:20:36 -0700125config CHIP_VDEC2
126 bool "VDEC2"
127
128config CHIP_OPSP
129 bool "OPSP"
130
131endchoice
132
133config MMU
134 bool "Support for memory management hardware"
135 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
136 default y
137
138config TLB_ENTRIES
139 int "TLB Entries"
140 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
141 default 32 if CHIP_M32700 || CHIP_OPSP
142 default 16 if CHIP_VDEC2
143
144
145config ISA_M32R
146 bool
Hirokazu Takata9287d952006-01-06 00:18:41 -0800147 depends on CHIP_M32102 || CHIP_M32104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700148 default y
149
150config ISA_M32R2
151 bool
152 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
153 default y
154
155config ISA_DSP_LEVEL2
156 bool
157 depends on CHIP_M32700 || CHIP_OPSP
158 default y
159
160config ISA_DUAL_ISSUE
161 bool
162 depends on CHIP_M32700 || CHIP_OPSP
163 default y
164
Hirokazu Takatae070fb742007-08-17 17:22:15 +0900165config PLAT_HAS_INT0ICU
166 bool
167 default n
168
169config PLAT_HAS_INT1ICU
170 bool
171 default n
172
173config PLAT_HAS_INT2ICU
174 bool
175 default n
176
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177config BUS_CLOCK
178 int "Bus Clock [Hz] (integer)"
179 default "70000000" if PLAT_MAPPI
180 default "25000000" if PLAT_USRV
Hirokazu Takata23680862005-06-21 17:16:10 -0700181 default "50000000" if PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700182 default "50000000" if PLAT_M32700UT
183 default "50000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800184 default "54000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700185 default "33333333" if PLAT_OAKS32R
186 default "20000000" if PLAT_MAPPI2
187
188config TIMER_DIVIDE
189 int "Timer divider (integer)"
190 default "128"
191
192config CPU_LITTLE_ENDIAN
193 bool "Generate little endian code"
194 default n
195
196config MEMORY_START
197 hex "Physical memory start address (hex)"
Hirokazu Takata23680862005-06-21 17:16:10 -0700198 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700199 default "08000000" if PLAT_USRV
200 default "08000000" if PLAT_M32700UT
201 default "08000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800202 default "04000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203 default "01000000" if PLAT_OAKS32R
204
205config MEMORY_SIZE
206 hex "Physical memory size (hex)"
Hirokazu Takata23680862005-06-21 17:16:10 -0700207 default "08000000" if PLAT_MAPPI3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700208 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
209 default "02000000" if PLAT_USRV
210 default "01000000" if PLAT_M32700UT
211 default "01000000" if PLAT_OPSPUT
Hirokazu Takata9287d952006-01-06 00:18:41 -0800212 default "01000000" if PLAT_M32104UT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213 default "00800000" if PLAT_OAKS32R
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_HWEIGHT
262 bool
263 default y
264
Linus Torvalds1da177e2005-04-16 15:20:36 -0700265config GENERIC_CALIBRATE_DELAY
266 bool
267 default y
268
Ingo Molnarae1e9132008-11-11 09:05:16 +0100269config SCHED_OMIT_FRAME_POINTER
Hirokazu Takata43c09ce2007-05-10 22:22:25 -0700270 bool
271 default y
272
Frederic Weisbeckerdab16ae2011-07-05 16:29:40 +0200273source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700274
Linus Torvalds1da177e2005-04-16 15:20:36 -0700275config SMP
276 bool "Symmetric multi-processing support"
Jens Axboe7b7426c2008-06-10 20:49:30 +0200277 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700278 ---help---
279 This enables support for systems with more than one CPU. If you have
280 a system with only one CPU, like most personal computers, say N. If
281 you have a system with more than one CPU, say Y.
282
283 If you say N here, the kernel will run on single and multiprocessor
284 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,
286 singleprocessor machines. On a singleprocessor machine, the kernel
287 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"