2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux/M32R Kernel Configuration"
15 config GENERIC_ISA_DMA
23 config GENERIC_HARDIRQS
27 config GENERIC_IRQ_PROBE
40 menu "Processor type and features"
43 prompt "Platform Type"
49 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
50 You can operate a Linux system on this board by using an M32R
51 softmacro core, which is a fully-synthesizable functional model
52 described in Verilog-HDL.
54 The Mappi-I board was the first platform, which had been used
55 to port and develop a Linux system for the M32R processor.
56 Currently, the Mappi-II, an heir to the Mappi-I, is available.
60 select PLAT_HAS_INT1ICU
64 select PLAT_HAS_INT0ICU
65 select PLAT_HAS_INT1ICU
66 select PLAT_HAS_INT2ICU
68 The M3T-M32700UT is an evaluation board based on uT-Engine
69 specification. This board has an M32700 (Chaos) evaluation chip.
70 You can say Y for SMP, because the M32700 is a single chip
75 select PLAT_HAS_INT0ICU
76 select PLAT_HAS_INT1ICU
77 select PLAT_HAS_INT2ICU
79 The OPSPUT is an evaluation board based on uT-Engine
80 specification. This board has a OPSP-REP chip.
85 The OAKS32R is a tiny, inexpensive evaluation board.
86 Please note that if you say Y here and choose chip "M32102",
87 say N for MMU and select a no-MMU version kernel, otherwise
88 a kernel with MMU support will not work, because the M32102
89 is a microcontroller for embedded systems and it has no MMU.
92 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
95 bool "Mappi-III(M3A-2170)"
99 select PLAT_HAS_INT1ICU
101 The M3T-M32104UT is an reference board based on uT-Engine
102 specification. This board has a M32104 chip.
107 prompt "Processor family"
111 bool "M32700 (Chaos)"
118 depends on PLAT_M32104UT
129 bool "Support for memory management hardware"
130 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
135 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
136 default 32 if CHIP_M32700 || CHIP_OPSP
137 default 16 if CHIP_VDEC2
142 depends on CHIP_M32102 || CHIP_M32104
147 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
150 config ISA_DSP_LEVEL2
152 depends on CHIP_M32700 || CHIP_OPSP
155 config ISA_DUAL_ISSUE
157 depends on CHIP_M32700 || CHIP_OPSP
160 config PLAT_HAS_INT0ICU
164 config PLAT_HAS_INT1ICU
168 config PLAT_HAS_INT2ICU
173 int "Bus Clock [Hz] (integer)"
174 default "70000000" if PLAT_MAPPI
175 default "25000000" if PLAT_USRV
176 default "50000000" if PLAT_MAPPI3
177 default "50000000" if PLAT_M32700UT
178 default "50000000" if PLAT_OPSPUT
179 default "54000000" if PLAT_M32104UT
180 default "33333333" if PLAT_OAKS32R
181 default "20000000" if PLAT_MAPPI2
184 int "Timer divider (integer)"
187 config CPU_LITTLE_ENDIAN
188 bool "Generate little endian code"
192 hex "Physical memory start address (hex)"
193 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
194 default "08000000" if PLAT_USRV
195 default "08000000" if PLAT_M32700UT
196 default "08000000" if PLAT_OPSPUT
197 default "04000000" if PLAT_M32104UT
198 default "01000000" if PLAT_OAKS32R
201 hex "Physical memory size (hex)"
202 default "08000000" if PLAT_MAPPI3
203 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
204 default "02000000" if PLAT_USRV
205 default "01000000" if PLAT_M32700UT
206 default "01000000" if PLAT_OPSPUT
207 default "01000000" if PLAT_M32104UT
208 default "00800000" if PLAT_OAKS32R
214 config ARCH_DISCONTIGMEM_ENABLE
215 bool "Internal RAM Support"
216 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
222 hex "Internal memory start address (hex)"
223 default "00f00000" if !CHIP_M32104
224 default "00700000" if CHIP_M32104
225 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
228 hex "Internal memory size (hex)"
229 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
230 default "00080000" if CHIP_M32700
231 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
232 default "00008000" if CHIP_VDEC2
235 # Define implied options from the CPU selection here
238 config RWSEM_GENERIC_SPINLOCK
243 config RWSEM_XCHGADD_ALGORITHM
247 config ARCH_HAS_ILOG2_U32
251 config ARCH_HAS_ILOG2_U64
255 config GENERIC_FIND_NEXT_BIT
259 config GENERIC_HWEIGHT
263 config GENERIC_CALIBRATE_DELAY
267 config SCHED_NO_NO_OMIT_FRAME_POINTER
272 bool "Preemptible Kernel"
274 This option reduces the latency of the kernel when reacting to
275 real-time or interactive events by allowing a low priority process to
276 be preempted even if it is in kernel mode executing a system call.
277 This allows applications to run more reliably even when the system is
280 Say Y here if you are building a kernel for a desktop, embedded
281 or real-time system. Say N if you are unsure.
284 bool "Symmetric multi-processing support"
286 This enables support for systems with more than one CPU. If you have
287 a system with only one CPU, like most personal computers, say N. If
288 you have a system with more than one CPU, say Y.
290 If you say N here, the kernel will run on single and multiprocessor
291 machines, but will use only one CPU of a multiprocessor machine. If
292 you say Y here, the kernel will run on many, but not all,
293 singleprocessor machines. On a singleprocessor machine, the kernel
294 will run faster if you say N here.
296 People using multiprocessor machines who say Y here should also say
297 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
298 Management" code will be disabled if you say Y here.
300 See also the <file:Documentation/smp.txt>,
301 and the SMP-HOWTO available at
302 <http://www.linuxdoc.org/docs.html#howto>.
304 If you don't know what to do here, say N.
306 config CHIP_M32700_TS1
307 bool "Workaround code for the M32700 TS1 chip's bug"
308 depends on (CHIP_M32700 && SMP)
312 int "Maximum number of CPUs (2-32)"
317 This allows you to specify the maximum number of CPUs which this
318 kernel will support. The maximum supported value is 32 and the
319 minimum value which makes sense is 2.
321 This is purely to save memory - each supported CPU adds
322 approximately eight kilobytes to the kernel image.
324 # Common NUMA Features
326 bool "Numa Memory Allocation Support"
327 depends on SMP && BROKEN
333 depends on NEED_MULTIPLE_NODES
335 # turning this on wastes a bunch of space.
336 # Summit needs it only when NUMA is on
345 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
352 Find out whether you have a PCI motherboard. PCI is the name of a
353 bus system, i.e. the way the CPU talks to the other stuff inside
354 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
355 VESA. If you have PCI, say Y, otherwise N.
357 The PCI-HOWTO, available from
358 <http://www.linuxdoc.org/docs.html#howto>, contains valuable
359 information about which PCI hardware does work under Linux and which
363 prompt "PCI access mode"
370 On PCI systems, the BIOS can be used to detect the PCI devices and
371 determine their configuration. However, some old PCI motherboards
372 have BIOS bugs and may crash if this is done. Also, some embedded
373 PCI-based systems don't have any BIOS at all. Linux can also try to
374 detect the PCI hardware directly without using the BIOS.
376 With this option, you can specify how Linux should detect the PCI
377 devices. If you choose "BIOS", the BIOS will be used, if you choose
378 "Direct", the BIOS won't be used, and if you choose "Any", the
379 kernel will try the direct access method and falls back to the BIOS
380 if that doesn't work. If unsure, go with the default, which is
393 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
398 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
401 source "drivers/pci/Kconfig"
406 Find out whether you have ISA slots on your motherboard. ISA is the
407 name of a bus system, i.e. the way the CPU talks to the other stuff
408 inside your box. If you have ISA, say Y, otherwise N.
410 source "drivers/pcmcia/Kconfig"
412 source "drivers/pci/hotplug/Kconfig"
417 menu "Executable file formats"
419 source "fs/Kconfig.binfmt"
425 source "drivers/Kconfig"
429 source "arch/m32r/oprofile/Kconfig"
431 source "arch/m32r/Kconfig.debug"
433 source "security/Kconfig"
435 source "crypto/Kconfig"