2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux/M32R Kernel Configuration"
13 select INIT_ALL_POSSIBLE
18 config GENERIC_ISA_DMA
26 config GENERIC_HARDIRQS
30 config GENERIC_IRQ_PROBE
46 source "kernel/Kconfig.freezer"
49 menu "Processor type and features"
52 prompt "Platform Type"
58 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
59 You can operate a Linux system on this board by using an M32R
60 softmacro core, which is a fully-synthesizable functional model
61 described in Verilog-HDL.
63 The Mappi-I board was the first platform, which had been used
64 to port and develop a Linux system for the M32R processor.
65 Currently, the Mappi-II, an heir to the Mappi-I, is available.
69 select PLAT_HAS_INT1ICU
73 select PLAT_HAS_INT0ICU
74 select PLAT_HAS_INT1ICU
75 select PLAT_HAS_INT2ICU
77 The M3T-M32700UT is an evaluation board based on uT-Engine
78 specification. This board has an M32700 (Chaos) evaluation chip.
79 You can say Y for SMP, because the M32700 is a single chip
84 select PLAT_HAS_INT0ICU
85 select PLAT_HAS_INT1ICU
86 select PLAT_HAS_INT2ICU
88 The OPSPUT is an evaluation board based on uT-Engine
89 specification. This board has a OPSP-REP chip.
94 The OAKS32R is a tiny, inexpensive evaluation board.
95 Please note that if you say Y here and choose chip "M32102",
96 say N for MMU and select a no-MMU version kernel, otherwise
97 a kernel with MMU support will not work, because the M32102
98 is a microcontroller for embedded systems and it has no MMU.
101 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
104 bool "Mappi-III(M3A-2170)"
108 select PLAT_HAS_INT1ICU
110 The M3T-M32104UT is an reference board based on uT-Engine
111 specification. This board has a M32104 chip.
116 prompt "Processor family"
120 bool "M32700 (Chaos)"
127 depends on PLAT_M32104UT
138 bool "Support for memory management hardware"
139 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
144 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
145 default 32 if CHIP_M32700 || CHIP_OPSP
146 default 16 if CHIP_VDEC2
151 depends on CHIP_M32102 || CHIP_M32104
156 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
159 config ISA_DSP_LEVEL2
161 depends on CHIP_M32700 || CHIP_OPSP
164 config ISA_DUAL_ISSUE
166 depends on CHIP_M32700 || CHIP_OPSP
169 config PLAT_HAS_INT0ICU
173 config PLAT_HAS_INT1ICU
177 config PLAT_HAS_INT2ICU
182 int "Bus Clock [Hz] (integer)"
183 default "70000000" if PLAT_MAPPI
184 default "25000000" if PLAT_USRV
185 default "50000000" if PLAT_MAPPI3
186 default "50000000" if PLAT_M32700UT
187 default "50000000" if PLAT_OPSPUT
188 default "54000000" if PLAT_M32104UT
189 default "33333333" if PLAT_OAKS32R
190 default "20000000" if PLAT_MAPPI2
193 int "Timer divider (integer)"
196 config CPU_LITTLE_ENDIAN
197 bool "Generate little endian code"
201 hex "Physical memory start address (hex)"
202 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
203 default "08000000" if PLAT_USRV
204 default "08000000" if PLAT_M32700UT
205 default "08000000" if PLAT_OPSPUT
206 default "04000000" if PLAT_M32104UT
207 default "01000000" if PLAT_OAKS32R
210 hex "Physical memory size (hex)"
211 default "08000000" if PLAT_MAPPI3
212 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
213 default "02000000" if PLAT_USRV
214 default "01000000" if PLAT_M32700UT
215 default "01000000" if PLAT_OPSPUT
216 default "01000000" if PLAT_M32104UT
217 default "00800000" if PLAT_OAKS32R
219 config ARCH_DISCONTIGMEM_ENABLE
220 bool "Internal RAM Support"
221 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
227 hex "Internal memory start address (hex)"
228 default "00f00000" if !CHIP_M32104
229 default "00700000" if CHIP_M32104
230 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
233 hex "Internal memory size (hex)"
234 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
235 default "00080000" if CHIP_M32700
236 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
237 default "00008000" if CHIP_VDEC2
240 # Define implied options from the CPU selection here
243 config GENERIC_LOCKBREAK
246 depends on SMP && PREEMPT
248 config RWSEM_GENERIC_SPINLOCK
253 config RWSEM_XCHGADD_ALGORITHM
257 config ARCH_HAS_ILOG2_U32
261 config ARCH_HAS_ILOG2_U64
265 config GENERIC_FIND_NEXT_BIT
269 config GENERIC_HWEIGHT
273 config GENERIC_CALIBRATE_DELAY
277 config SCHED_OMIT_FRAME_POINTER
282 bool "Preemptible Kernel"
284 This option reduces the latency of the kernel when reacting to
285 real-time or interactive events by allowing a low priority process to
286 be preempted even if it is in kernel mode executing a system call.
287 This allows applications to run more reliably even when the system is
290 Say Y here if you are building a kernel for a desktop, embedded
291 or real-time system. Say N if you are unsure.
294 bool "Symmetric multi-processing support"
295 select USE_GENERIC_SMP_HELPERS
297 This enables support for systems with more than one CPU. If you have
298 a system with only one CPU, like most personal computers, say N. If
299 you have a system with more than one CPU, say Y.
301 If you say N here, the kernel will run on single and multiprocessor
302 machines, but will use only one CPU of a multiprocessor machine. If
303 you say Y here, the kernel will run on many, but not all,
304 singleprocessor machines. On a singleprocessor machine, the kernel
305 will run faster if you say N here.
307 People using multiprocessor machines who say Y here should also say
308 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
309 Management" code will be disabled if you say Y here.
311 See also the SMP-HOWTO available at
312 <http://www.linuxdoc.org/docs.html#howto>.
314 If you don't know what to do here, say N.
316 config CHIP_M32700_TS1
317 bool "Workaround code for the M32700 TS1 chip's bug"
318 depends on (CHIP_M32700 && SMP)
322 int "Maximum number of CPUs (2-32)"
327 This allows you to specify the maximum number of CPUs which this
328 kernel will support. The maximum supported value is 32 and the
329 minimum value which makes sense is 2.
331 This is purely to save memory - each supported CPU adds
332 approximately eight kilobytes to the kernel image.
334 # Common NUMA Features
336 bool "Numa Memory Allocation Support"
337 depends on SMP && BROKEN
343 depends on NEED_MULTIPLE_NODES
345 # turning this on wastes a bunch of space.
346 # Summit needs it only when NUMA is on
355 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
362 Find out whether you have a PCI motherboard. PCI is the name of a
363 bus system, i.e. the way the CPU talks to the other stuff inside
364 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
365 VESA. If you have PCI, say Y, otherwise N.
368 prompt "PCI access mode"
375 On PCI systems, the BIOS can be used to detect the PCI devices and
376 determine their configuration. However, some old PCI motherboards
377 have BIOS bugs and may crash if this is done. Also, some embedded
378 PCI-based systems don't have any BIOS at all. Linux can also try to
379 detect the PCI hardware directly without using the BIOS.
381 With this option, you can specify how Linux should detect the PCI
382 devices. If you choose "BIOS", the BIOS will be used, if you choose
383 "Direct", the BIOS won't be used, and if you choose "Any", the
384 kernel will try the direct access method and falls back to the BIOS
385 if that doesn't work. If unsure, go with the default, which is
398 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
403 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
406 source "drivers/pci/Kconfig"
411 source "drivers/pcmcia/Kconfig"
413 source "drivers/pci/hotplug/Kconfig"
418 menu "Executable file formats"
420 source "fs/Kconfig.binfmt"
426 source "drivers/Kconfig"
430 source "arch/m32r/Kconfig.debug"
432 source "security/Kconfig"
434 source "crypto/Kconfig"