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
45 source "kernel/Kconfig.freezer"
48 menu "Processor type and features"
51 prompt "Platform Type"
57 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
58 You can operate a Linux system on this board by using an M32R
59 softmacro core, which is a fully-synthesizable functional model
60 described in Verilog-HDL.
62 The Mappi-I board was the first platform, which had been used
63 to port and develop a Linux system for the M32R processor.
64 Currently, the Mappi-II, an heir to the Mappi-I, is available.
68 select PLAT_HAS_INT1ICU
72 select PLAT_HAS_INT0ICU
73 select PLAT_HAS_INT1ICU
74 select PLAT_HAS_INT2ICU
76 The M3T-M32700UT is an evaluation board based on uT-Engine
77 specification. This board has an M32700 (Chaos) evaluation chip.
78 You can say Y for SMP, because the M32700 is a single chip
83 select PLAT_HAS_INT0ICU
84 select PLAT_HAS_INT1ICU
85 select PLAT_HAS_INT2ICU
87 The OPSPUT is an evaluation board based on uT-Engine
88 specification. This board has a OPSP-REP chip.
93 The OAKS32R is a tiny, inexpensive evaluation board.
94 Please note that if you say Y here and choose chip "M32102",
95 say N for MMU and select a no-MMU version kernel, otherwise
96 a kernel with MMU support will not work, because the M32102
97 is a microcontroller for embedded systems and it has no MMU.
100 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
103 bool "Mappi-III(M3A-2170)"
107 select PLAT_HAS_INT1ICU
109 The M3T-M32104UT is an reference board based on uT-Engine
110 specification. This board has a M32104 chip.
115 prompt "Processor family"
119 bool "M32700 (Chaos)"
126 depends on PLAT_M32104UT
137 bool "Support for memory management hardware"
138 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
143 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
144 default 32 if CHIP_M32700 || CHIP_OPSP
145 default 16 if CHIP_VDEC2
150 depends on CHIP_M32102 || CHIP_M32104
155 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
158 config ISA_DSP_LEVEL2
160 depends on CHIP_M32700 || CHIP_OPSP
163 config ISA_DUAL_ISSUE
165 depends on CHIP_M32700 || CHIP_OPSP
168 config PLAT_HAS_INT0ICU
172 config PLAT_HAS_INT1ICU
176 config PLAT_HAS_INT2ICU
181 int "Bus Clock [Hz] (integer)"
182 default "70000000" if PLAT_MAPPI
183 default "25000000" if PLAT_USRV
184 default "50000000" if PLAT_MAPPI3
185 default "50000000" if PLAT_M32700UT
186 default "50000000" if PLAT_OPSPUT
187 default "54000000" if PLAT_M32104UT
188 default "33333333" if PLAT_OAKS32R
189 default "20000000" if PLAT_MAPPI2
192 int "Timer divider (integer)"
195 config CPU_LITTLE_ENDIAN
196 bool "Generate little endian code"
200 hex "Physical memory start address (hex)"
201 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
202 default "08000000" if PLAT_USRV
203 default "08000000" if PLAT_M32700UT
204 default "08000000" if PLAT_OPSPUT
205 default "04000000" if PLAT_M32104UT
206 default "01000000" if PLAT_OAKS32R
209 hex "Physical memory size (hex)"
210 default "08000000" if PLAT_MAPPI3
211 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
212 default "02000000" if PLAT_USRV
213 default "01000000" if PLAT_M32700UT
214 default "01000000" if PLAT_OPSPUT
215 default "01000000" if PLAT_M32104UT
216 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"
294 select USE_GENERIC_SMP_HELPERS
296 This enables support for systems with more than one CPU. If you have
297 a system with only one CPU, like most personal computers, say N. If
298 you have a system with more than one CPU, say Y.
300 If you say N here, the kernel will run on single and multiprocessor
301 machines, but will use only one CPU of a multiprocessor machine. If
302 you say Y here, the kernel will run on many, but not all,
303 singleprocessor machines. On a singleprocessor machine, the kernel
304 will run faster if you say N here.
306 People using multiprocessor machines who say Y here should also say
307 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
308 Management" code will be disabled if you say Y here.
310 See also the SMP-HOWTO available at
311 <http://www.linuxdoc.org/docs.html#howto>.
313 If you don't know what to do here, say N.
315 config CHIP_M32700_TS1
316 bool "Workaround code for the M32700 TS1 chip's bug"
317 depends on (CHIP_M32700 && SMP)
321 int "Maximum number of CPUs (2-32)"
326 This allows you to specify the maximum number of CPUs which this
327 kernel will support. The maximum supported value is 32 and the
328 minimum value which makes sense is 2.
330 This is purely to save memory - each supported CPU adds
331 approximately eight kilobytes to the kernel image.
333 # Common NUMA Features
335 bool "Numa Memory Allocation Support"
336 depends on SMP && BROKEN
342 depends on NEED_MULTIPLE_NODES
344 # turning this on wastes a bunch of space.
345 # Summit needs it only when NUMA is on
354 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
361 Find out whether you have a PCI motherboard. PCI is the name of a
362 bus system, i.e. the way the CPU talks to the other stuff inside
363 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
364 VESA. If you have PCI, say Y, otherwise N.
367 prompt "PCI access mode"
374 On PCI systems, the BIOS can be used to detect the PCI devices and
375 determine their configuration. However, some old PCI motherboards
376 have BIOS bugs and may crash if this is done. Also, some embedded
377 PCI-based systems don't have any BIOS at all. Linux can also try to
378 detect the PCI hardware directly without using the BIOS.
380 With this option, you can specify how Linux should detect the PCI
381 devices. If you choose "BIOS", the BIOS will be used, if you choose
382 "Direct", the BIOS won't be used, and if you choose "Any", the
383 kernel will try the direct access method and falls back to the BIOS
384 if that doesn't work. If unsure, go with the default, which is
397 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
402 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
405 source "drivers/pci/Kconfig"
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/Kconfig.debug"
431 source "security/Kconfig"
433 source "crypto/Kconfig"