2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux/M32R Kernel Configuration"
16 config GENERIC_ISA_DMA
24 config GENERIC_HARDIRQS
28 config GENERIC_IRQ_PROBE
38 config ARCH_SUPPORTS_AOUT
44 menu "Processor type and features"
47 prompt "Platform Type"
53 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
54 You can operate a Linux system on this board by using an M32R
55 softmacro core, which is a fully-synthesizable functional model
56 described in Verilog-HDL.
58 The Mappi-I board was the first platform, which had been used
59 to port and develop a Linux system for the M32R processor.
60 Currently, the Mappi-II, an heir to the Mappi-I, is available.
64 select PLAT_HAS_INT1ICU
68 select PLAT_HAS_INT0ICU
69 select PLAT_HAS_INT1ICU
70 select PLAT_HAS_INT2ICU
72 The M3T-M32700UT is an evaluation board based on uT-Engine
73 specification. This board has an M32700 (Chaos) evaluation chip.
74 You can say Y for SMP, because the M32700 is a single chip
79 select PLAT_HAS_INT0ICU
80 select PLAT_HAS_INT1ICU
81 select PLAT_HAS_INT2ICU
83 The OPSPUT is an evaluation board based on uT-Engine
84 specification. This board has a OPSP-REP chip.
89 The OAKS32R is a tiny, inexpensive evaluation board.
90 Please note that if you say Y here and choose chip "M32102",
91 say N for MMU and select a no-MMU version kernel, otherwise
92 a kernel with MMU support will not work, because the M32102
93 is a microcontroller for embedded systems and it has no MMU.
96 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
99 bool "Mappi-III(M3A-2170)"
103 select PLAT_HAS_INT1ICU
105 The M3T-M32104UT is an reference board based on uT-Engine
106 specification. This board has a M32104 chip.
111 prompt "Processor family"
115 bool "M32700 (Chaos)"
122 depends on PLAT_M32104UT
133 bool "Support for memory management hardware"
134 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
139 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
140 default 32 if CHIP_M32700 || CHIP_OPSP
141 default 16 if CHIP_VDEC2
146 depends on CHIP_M32102 || CHIP_M32104
151 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
154 config ISA_DSP_LEVEL2
156 depends on CHIP_M32700 || CHIP_OPSP
159 config ISA_DUAL_ISSUE
161 depends on CHIP_M32700 || CHIP_OPSP
164 config PLAT_HAS_INT0ICU
168 config PLAT_HAS_INT1ICU
172 config PLAT_HAS_INT2ICU
177 int "Bus Clock [Hz] (integer)"
178 default "70000000" if PLAT_MAPPI
179 default "25000000" if PLAT_USRV
180 default "50000000" if PLAT_MAPPI3
181 default "50000000" if PLAT_M32700UT
182 default "50000000" if PLAT_OPSPUT
183 default "54000000" if PLAT_M32104UT
184 default "33333333" if PLAT_OAKS32R
185 default "20000000" if PLAT_MAPPI2
188 int "Timer divider (integer)"
191 config CPU_LITTLE_ENDIAN
192 bool "Generate little endian code"
196 hex "Physical memory start address (hex)"
197 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
198 default "08000000" if PLAT_USRV
199 default "08000000" if PLAT_M32700UT
200 default "08000000" if PLAT_OPSPUT
201 default "04000000" if PLAT_M32104UT
202 default "01000000" if PLAT_OAKS32R
205 hex "Physical memory size (hex)"
206 default "08000000" if PLAT_MAPPI3
207 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
208 default "02000000" if PLAT_USRV
209 default "01000000" if PLAT_M32700UT
210 default "01000000" if PLAT_OPSPUT
211 default "01000000" if PLAT_M32104UT
212 default "00800000" if PLAT_OAKS32R
218 config ARCH_DISCONTIGMEM_ENABLE
219 bool "Internal RAM Support"
220 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
226 hex "Internal memory start address (hex)"
227 default "00f00000" if !CHIP_M32104
228 default "00700000" if CHIP_M32104
229 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
232 hex "Internal memory size (hex)"
233 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
234 default "00080000" if CHIP_M32700
235 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
236 default "00008000" if CHIP_VDEC2
239 # Define implied options from the CPU selection here
242 config GENERIC_LOCKBREAK
245 depends on SMP && PREEMPT
247 config RWSEM_GENERIC_SPINLOCK
252 config RWSEM_XCHGADD_ALGORITHM
256 config ARCH_HAS_ILOG2_U32
260 config ARCH_HAS_ILOG2_U64
264 config GENERIC_FIND_NEXT_BIT
268 config GENERIC_HWEIGHT
272 config GENERIC_CALIBRATE_DELAY
276 config SCHED_NO_NO_OMIT_FRAME_POINTER
281 bool "Preemptible Kernel"
283 This option reduces the latency of the kernel when reacting to
284 real-time or interactive events by allowing a low priority process to
285 be preempted even if it is in kernel mode executing a system call.
286 This allows applications to run more reliably even when the system is
289 Say Y here if you are building a kernel for a desktop, embedded
290 or real-time system. Say N if you are unsure.
293 bool "Symmetric multi-processing support"
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.
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.
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.
309 See also the SMP-HOWTO available at
310 <http://www.linuxdoc.org/docs.html#howto>.
312 If you don't know what to do here, say N.
314 config CHIP_M32700_TS1
315 bool "Workaround code for the M32700 TS1 chip's bug"
316 depends on (CHIP_M32700 && SMP)
320 int "Maximum number of CPUs (2-32)"
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.
329 This is purely to save memory - each supported CPU adds
330 approximately eight kilobytes to the kernel image.
332 # Common NUMA Features
334 bool "Numa Memory Allocation Support"
335 depends on SMP && BROKEN
341 depends on NEED_MULTIPLE_NODES
343 # turning this on wastes a bunch of space.
344 # Summit needs it only when NUMA is on
353 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
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.
366 prompt "PCI access mode"
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.
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
396 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
401 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
404 source "drivers/pci/Kconfig"
409 Find out whether you have ISA slots on your motherboard. ISA is the
410 name of a bus system, i.e. the way the CPU talks to the other stuff
411 inside your box. If you have ISA, say Y, otherwise N.
413 source "drivers/pcmcia/Kconfig"
415 source "drivers/pci/hotplug/Kconfig"
420 menu "Executable file formats"
422 source "fs/Kconfig.binfmt"
428 source "drivers/Kconfig"
432 source "arch/m32r/Kconfig.debug"
434 source "security/Kconfig"
436 source "crypto/Kconfig"