2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux/M32R Kernel Configuration"
17 config GENERIC_ISA_DMA
25 config GENERIC_HARDIRQS
29 config GENERIC_IRQ_PROBE
46 menu "Processor type and features"
49 prompt "Platform Type"
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.
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.
66 select PLAT_HAS_INT1ICU
70 select PLAT_HAS_INT0ICU
71 select PLAT_HAS_INT1ICU
72 select PLAT_HAS_INT2ICU
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
81 select PLAT_HAS_INT0ICU
82 select PLAT_HAS_INT1ICU
83 select PLAT_HAS_INT2ICU
85 The OPSPUT is an evaluation board based on uT-Engine
86 specification. This board has a OPSP-REP chip.
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.
98 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
101 bool "Mappi-III(M3A-2170)"
105 select PLAT_HAS_INT1ICU
107 The M3T-M32104UT is an reference board based on uT-Engine
108 specification. This board has a M32104 chip.
113 prompt "Processor family"
117 bool "M32700 (Chaos)"
124 depends on PLAT_M32104UT
135 bool "Support for memory management hardware"
136 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
141 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
142 default 32 if CHIP_M32700 || CHIP_OPSP
143 default 16 if CHIP_VDEC2
148 depends on CHIP_M32102 || CHIP_M32104
153 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
156 config ISA_DSP_LEVEL2
158 depends on CHIP_M32700 || CHIP_OPSP
161 config ISA_DUAL_ISSUE
163 depends on CHIP_M32700 || CHIP_OPSP
166 config PLAT_HAS_INT0ICU
170 config PLAT_HAS_INT1ICU
174 config PLAT_HAS_INT2ICU
179 int "Bus Clock [Hz] (integer)"
180 default "70000000" if PLAT_MAPPI
181 default "25000000" if PLAT_USRV
182 default "50000000" if PLAT_MAPPI3
183 default "50000000" if PLAT_M32700UT
184 default "50000000" if PLAT_OPSPUT
185 default "54000000" if PLAT_M32104UT
186 default "33333333" if PLAT_OAKS32R
187 default "20000000" if PLAT_MAPPI2
190 int "Timer divider (integer)"
193 config CPU_LITTLE_ENDIAN
194 bool "Generate little endian code"
198 hex "Physical memory start address (hex)"
199 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
200 default "08000000" if PLAT_USRV
201 default "08000000" if PLAT_M32700UT
202 default "08000000" if PLAT_OPSPUT
203 default "04000000" if PLAT_M32104UT
204 default "01000000" if PLAT_OAKS32R
207 hex "Physical memory size (hex)"
208 default "08000000" if PLAT_MAPPI3
209 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
213 default "01000000" if PLAT_M32104UT
214 default "00800000" if PLAT_OAKS32R
220 config ARCH_DISCONTIGMEM_ENABLE
221 bool "Internal RAM Support"
222 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
228 hex "Internal memory start address (hex)"
229 default "00f00000" if !CHIP_M32104
230 default "00700000" if CHIP_M32104
231 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
234 hex "Internal memory size (hex)"
235 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
236 default "00080000" if CHIP_M32700
237 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
238 default "00008000" if CHIP_VDEC2
241 # Define implied options from the CPU selection here
244 config GENERIC_LOCKBREAK
247 depends on SMP && PREEMPT
249 config RWSEM_GENERIC_SPINLOCK
254 config RWSEM_XCHGADD_ALGORITHM
258 config ARCH_HAS_ILOG2_U32
262 config ARCH_HAS_ILOG2_U64
266 config GENERIC_FIND_NEXT_BIT
270 config GENERIC_HWEIGHT
274 config GENERIC_CALIBRATE_DELAY
278 config SCHED_NO_NO_OMIT_FRAME_POINTER
283 bool "Preemptible Kernel"
285 This option reduces the latency of the kernel when reacting to
286 real-time or interactive events by allowing a low priority process to
287 be preempted even if it is in kernel mode executing a system call.
288 This allows applications to run more reliably even when the system is
291 Say Y here if you are building a kernel for a desktop, embedded
292 or real-time system. Say N if you are unsure.
295 bool "Symmetric multi-processing support"
296 select USE_GENERIC_SMP_HELPERS
298 This enables support for systems with more than one CPU. If you have
299 a system with only one CPU, like most personal computers, say N. If
300 you have a system with more than one CPU, say Y.
302 If you say N here, the kernel will run on single and multiprocessor
303 machines, but will use only one CPU of a multiprocessor machine. If
304 you say Y here, the kernel will run on many, but not all,
305 singleprocessor machines. On a singleprocessor machine, the kernel
306 will run faster if you say N here.
308 People using multiprocessor machines who say Y here should also say
309 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
310 Management" code will be disabled if you say Y here.
312 See also the SMP-HOWTO available at
313 <http://www.linuxdoc.org/docs.html#howto>.
315 If you don't know what to do here, say N.
317 config CHIP_M32700_TS1
318 bool "Workaround code for the M32700 TS1 chip's bug"
319 depends on (CHIP_M32700 && SMP)
323 int "Maximum number of CPUs (2-32)"
328 This allows you to specify the maximum number of CPUs which this
329 kernel will support. The maximum supported value is 32 and the
330 minimum value which makes sense is 2.
332 This is purely to save memory - each supported CPU adds
333 approximately eight kilobytes to the kernel image.
335 # Common NUMA Features
337 bool "Numa Memory Allocation Support"
338 depends on SMP && BROKEN
344 depends on NEED_MULTIPLE_NODES
346 # turning this on wastes a bunch of space.
347 # Summit needs it only when NUMA is on
356 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
363 Find out whether you have a PCI motherboard. PCI is the name of a
364 bus system, i.e. the way the CPU talks to the other stuff inside
365 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
366 VESA. If you have PCI, say Y, otherwise N.
369 prompt "PCI access mode"
376 On PCI systems, the BIOS can be used to detect the PCI devices and
377 determine their configuration. However, some old PCI motherboards
378 have BIOS bugs and may crash if this is done. Also, some embedded
379 PCI-based systems don't have any BIOS at all. Linux can also try to
380 detect the PCI hardware directly without using the BIOS.
382 With this option, you can specify how Linux should detect the PCI
383 devices. If you choose "BIOS", the BIOS will be used, if you choose
384 "Direct", the BIOS won't be used, and if you choose "Any", the
385 kernel will try the direct access method and falls back to the BIOS
386 if that doesn't work. If unsure, go with the default, which is
399 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
404 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
407 source "drivers/pci/Kconfig"
412 Find out whether you have ISA slots on your motherboard. ISA is the
413 name of a bus system, i.e. the way the CPU talks to the other stuff
414 inside your box. If you have ISA, say Y, otherwise N.
416 source "drivers/pcmcia/Kconfig"
418 source "drivers/pci/hotplug/Kconfig"
423 menu "Executable file formats"
425 source "fs/Kconfig.binfmt"
431 source "drivers/Kconfig"
435 source "arch/m32r/Kconfig.debug"
437 source "security/Kconfig"
439 source "crypto/Kconfig"