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
19 config GENERIC_HARDIRQS
23 config GENERIC_IRQ_PROBE
30 menu "Processor type and features"
33 prompt "Platform Type"
39 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
40 You can operate a Linux system on this board by using an M32R
41 softmacro core, which is a fully-synthesizable functional model
42 described in Verilog-HDL.
44 The Mappi-I board was the first platform, which had been used
45 to port and develop a Linux system for the M32R processor.
46 Currently, the Mappi-II, an heir to the Mappi-I, is available.
54 The M3T-M32700UT is an evaluation board based on uT-Engine
55 specification. This board has an M32700 (Chaos) evaluation chip.
56 You can say Y for SMP, because the M32700 is a single chip
62 The OPSPUT is an evaluation board based on uT-Engine
63 specification. This board has a OPSP-REP chip.
68 The OAKS32R is a tiny, inexpensive evaluation board.
69 Please note that if you say Y here and choose chip "M32102",
70 say N for MMU and select a no-MMU version kernel, otherwise
71 a kernel with MMU support will not work, because the M32102
72 is a microcontroller for embedded systems and it has no MMU.
75 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
78 bool "Mappi-III(M3A-2170)"
83 The M3T-M32104UT is an reference board based on uT-Engine
84 specification. This board has a M32104 chip.
89 prompt "Processor family"
100 depends on PLAT_M32104UT
111 bool "Support for memory management hardware"
112 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
117 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
118 default 32 if CHIP_M32700 || CHIP_OPSP
119 default 16 if CHIP_VDEC2
124 depends on CHIP_M32102 || CHIP_M32104
129 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
132 config ISA_DSP_LEVEL2
134 depends on CHIP_M32700 || CHIP_OPSP
137 config ISA_DUAL_ISSUE
139 depends on CHIP_M32700 || CHIP_OPSP
143 int "Bus Clock [Hz] (integer)"
144 default "70000000" if PLAT_MAPPI
145 default "25000000" if PLAT_USRV
146 default "50000000" if PLAT_MAPPI3
147 default "50000000" if PLAT_M32700UT
148 default "50000000" if PLAT_OPSPUT
149 default "54000000" if PLAT_M32104UT
150 default "33333333" if PLAT_OAKS32R
151 default "20000000" if PLAT_MAPPI2
154 int "Timer divider (integer)"
157 config CPU_LITTLE_ENDIAN
158 bool "Generate little endian code"
162 hex "Physical memory start address (hex)"
163 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
164 default "08000000" if PLAT_USRV
165 default "08000000" if PLAT_M32700UT
166 default "08000000" if PLAT_OPSPUT
167 default "04000000" if PLAT_M32104UT
168 default "01000000" if PLAT_OAKS32R
171 hex "Physical memory size (hex)"
172 default "08000000" if PLAT_MAPPI3
173 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
174 default "02000000" if PLAT_USRV
175 default "01000000" if PLAT_M32700UT
176 default "01000000" if PLAT_OPSPUT
177 default "01000000" if PLAT_M32104UT
178 default "00800000" if PLAT_OAKS32R
184 config ARCH_DISCONTIGMEM_ENABLE
185 bool "Internal RAM Support"
186 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
192 hex "Internal memory start address (hex)"
193 default "00f00000" if !CHIP_M32104
194 default "00700000" if CHIP_M32104
195 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
198 hex "Internal memory size (hex)"
199 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
200 default "00080000" if CHIP_M32700
201 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
202 default "00008000" if CHIP_VDEC2
205 # Define implied options from the CPU selection here
208 config RWSEM_GENERIC_SPINLOCK
213 config RWSEM_XCHGADD_ALGORITHM
217 config GENERIC_FIND_NEXT_BIT
221 config GENERIC_HWEIGHT
225 config GENERIC_CALIBRATE_DELAY
230 bool "Preemptible Kernel"
232 This option reduces the latency of the kernel when reacting to
233 real-time or interactive events by allowing a low priority process to
234 be preempted even if it is in kernel mode executing a system call.
235 This allows applications to run more reliably even when the system is
238 Say Y here if you are building a kernel for a desktop, embedded
239 or real-time system. Say N if you are unsure.
242 bool "Symmetric multi-processing support"
244 This enables support for systems with more than one CPU. If you have
245 a system with only one CPU, like most personal computers, say N. If
246 you have a system with more than one CPU, say Y.
248 If you say N here, the kernel will run on single and multiprocessor
249 machines, but will use only one CPU of a multiprocessor machine. If
250 you say Y here, the kernel will run on many, but not all,
251 singleprocessor machines. On a singleprocessor machine, the kernel
252 will run faster if you say N here.
254 People using multiprocessor machines who say Y here should also say
255 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
256 Management" code will be disabled if you say Y here.
258 See also the <file:Documentation/smp.txt>,
259 and the SMP-HOWTO available at
260 <http://www.linuxdoc.org/docs.html#howto>.
262 If you don't know what to do here, say N.
264 config CHIP_M32700_TS1
265 bool "Workaround code for the M32700 TS1 chip's bug"
266 depends on (CHIP_M32700 && SMP)
270 int "Maximum number of CPUs (2-32)"
275 This allows you to specify the maximum number of CPUs which this
276 kernel will support. The maximum supported value is 32 and the
277 minimum value which makes sense is 2.
279 This is purely to save memory - each supported CPU adds
280 approximately eight kilobytes to the kernel image.
282 # Common NUMA Features
284 bool "Numa Memory Allocation Support"
285 depends on SMP && BROKEN
288 # turning this on wastes a bunch of space.
289 # Summit needs it only when NUMA is on
298 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
305 Find out whether you have a PCI motherboard. PCI is the name of a
306 bus system, i.e. the way the CPU talks to the other stuff inside
307 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
308 VESA. If you have PCI, say Y, otherwise N.
310 The PCI-HOWTO, available from
311 <http://www.linuxdoc.org/docs.html#howto>, contains valuable
312 information about which PCI hardware does work under Linux and which
316 prompt "PCI access mode"
323 On PCI systems, the BIOS can be used to detect the PCI devices and
324 determine their configuration. However, some old PCI motherboards
325 have BIOS bugs and may crash if this is done. Also, some embedded
326 PCI-based systems don't have any BIOS at all. Linux can also try to
327 detect the PCI hardware directly without using the BIOS.
329 With this option, you can specify how Linux should detect the PCI
330 devices. If you choose "BIOS", the BIOS will be used, if you choose
331 "Direct", the BIOS won't be used, and if you choose "Any", the
332 kernel will try the direct access method and falls back to the BIOS
333 if that doesn't work. If unsure, go with the default, which is
346 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
351 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
354 source "drivers/pci/Kconfig"
359 Find out whether you have ISA slots on your motherboard. ISA is the
360 name of a bus system, i.e. the way the CPU talks to the other stuff
361 inside your box. If you have ISA, say Y, otherwise N.
363 source "drivers/pcmcia/Kconfig"
365 source "drivers/pci/hotplug/Kconfig"
370 menu "Executable file formats"
372 source "fs/Kconfig.binfmt"
378 source "drivers/Kconfig"
382 source "arch/m32r/oprofile/Kconfig"
384 source "arch/m32r/Kconfig.debug"
386 source "security/Kconfig"
388 source "crypto/Kconfig"