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
14 select HAVE_KERNEL_GZIP
15 select HAVE_KERNEL_BZIP2
16 select HAVE_KERNEL_LZMA
21 config GENERIC_ISA_DMA
29 config GENERIC_HARDIRQS
33 config GENERIC_IRQ_PROBE
50 config ARCH_USES_GETTIMEOFFSET
55 source "kernel/Kconfig.freezer"
58 menu "Processor type and features"
61 prompt "Platform Type"
67 The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
68 You can operate a Linux system on this board by using an M32R
69 softmacro core, which is a fully-synthesizable functional model
70 described in Verilog-HDL.
72 The Mappi-I board was the first platform, which had been used
73 to port and develop a Linux system for the M32R processor.
74 Currently, the Mappi-II, an heir to the Mappi-I, is available.
78 select PLAT_HAS_INT1ICU
82 select PLAT_HAS_INT0ICU
83 select PLAT_HAS_INT1ICU
84 select PLAT_HAS_INT2ICU
86 The M3T-M32700UT is an evaluation board based on uT-Engine
87 specification. This board has an M32700 (Chaos) evaluation chip.
88 You can say Y for SMP, because the M32700 is a single chip
93 select PLAT_HAS_INT0ICU
94 select PLAT_HAS_INT1ICU
95 select PLAT_HAS_INT2ICU
97 The OPSPUT is an evaluation board based on uT-Engine
98 specification. This board has a OPSP-REP chip.
103 The OAKS32R is a tiny, inexpensive evaluation board.
104 Please note that if you say Y here and choose chip "M32102",
105 say N for MMU and select a no-MMU version kernel, otherwise
106 a kernel with MMU support will not work, because the M32102
107 is a microcontroller for embedded systems and it has no MMU.
110 bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
113 bool "Mappi-III(M3A-2170)"
117 select PLAT_HAS_INT1ICU
119 The M3T-M32104UT is an reference board based on uT-Engine
120 specification. This board has a M32104 chip.
125 prompt "Processor family"
129 bool "M32700 (Chaos)"
136 depends on PLAT_M32104UT
147 bool "Support for memory management hardware"
148 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
153 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
154 default 32 if CHIP_M32700 || CHIP_OPSP
155 default 16 if CHIP_VDEC2
160 depends on CHIP_M32102 || CHIP_M32104
165 depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
168 config ISA_DSP_LEVEL2
170 depends on CHIP_M32700 || CHIP_OPSP
173 config ISA_DUAL_ISSUE
175 depends on CHIP_M32700 || CHIP_OPSP
178 config PLAT_HAS_INT0ICU
182 config PLAT_HAS_INT1ICU
186 config PLAT_HAS_INT2ICU
191 int "Bus Clock [Hz] (integer)"
192 default "70000000" if PLAT_MAPPI
193 default "25000000" if PLAT_USRV
194 default "50000000" if PLAT_MAPPI3
195 default "50000000" if PLAT_M32700UT
196 default "50000000" if PLAT_OPSPUT
197 default "54000000" if PLAT_M32104UT
198 default "33333333" if PLAT_OAKS32R
199 default "20000000" if PLAT_MAPPI2
202 int "Timer divider (integer)"
205 config CPU_LITTLE_ENDIAN
206 bool "Generate little endian code"
210 hex "Physical memory start address (hex)"
211 default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
212 default "08000000" if PLAT_USRV
213 default "08000000" if PLAT_M32700UT
214 default "08000000" if PLAT_OPSPUT
215 default "04000000" if PLAT_M32104UT
216 default "01000000" if PLAT_OAKS32R
219 hex "Physical memory size (hex)"
220 default "08000000" if PLAT_MAPPI3
221 default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
222 default "02000000" if PLAT_USRV
223 default "01000000" if PLAT_M32700UT
224 default "01000000" if PLAT_OPSPUT
225 default "01000000" if PLAT_M32104UT
226 default "00800000" if PLAT_OAKS32R
228 config ARCH_DISCONTIGMEM_ENABLE
229 bool "Internal RAM Support"
230 depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
236 hex "Internal memory start address (hex)"
237 default "00f00000" if !CHIP_M32104
238 default "00700000" if CHIP_M32104
239 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
242 hex "Internal memory size (hex)"
243 depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
244 default "00080000" if CHIP_M32700
245 default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
246 default "00008000" if CHIP_VDEC2
249 # Define implied options from the CPU selection here
252 config GENERIC_LOCKBREAK
255 depends on SMP && PREEMPT
257 config RWSEM_GENERIC_SPINLOCK
262 config RWSEM_XCHGADD_ALGORITHM
266 config ARCH_HAS_ILOG2_U32
270 config ARCH_HAS_ILOG2_U64
274 config GENERIC_FIND_NEXT_BIT
278 config GENERIC_HWEIGHT
282 config GENERIC_CALIBRATE_DELAY
286 config SCHED_OMIT_FRAME_POINTER
291 bool "Preemptible Kernel"
293 This option reduces the latency of the kernel when reacting to
294 real-time or interactive events by allowing a low priority process to
295 be preempted even if it is in kernel mode executing a system call.
296 This allows applications to run more reliably even when the system is
299 Say Y here if you are building a kernel for a desktop, embedded
300 or real-time system. Say N if you are unsure.
303 bool "Symmetric multi-processing support"
304 select USE_GENERIC_SMP_HELPERS
306 This enables support for systems with more than one CPU. If you have
307 a system with only one CPU, like most personal computers, say N. If
308 you have a system with more than one CPU, say Y.
310 If you say N here, the kernel will run on single and multiprocessor
311 machines, but will use only one CPU of a multiprocessor machine. If
312 you say Y here, the kernel will run on many, but not all,
313 singleprocessor machines. On a singleprocessor machine, the kernel
314 will run faster if you say N here.
316 People using multiprocessor machines who say Y here should also say
317 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
318 Management" code will be disabled if you say Y here.
320 See also the SMP-HOWTO available at
321 <http://www.linuxdoc.org/docs.html#howto>.
323 If you don't know what to do here, say N.
325 config CHIP_M32700_TS1
326 bool "Workaround code for the M32700 TS1 chip's bug"
327 depends on (CHIP_M32700 && SMP)
331 int "Maximum number of CPUs (2-32)"
336 This allows you to specify the maximum number of CPUs which this
337 kernel will support. The maximum supported value is 32 and the
338 minimum value which makes sense is 2.
340 This is purely to save memory - each supported CPU adds
341 approximately eight kilobytes to the kernel image.
343 # Common NUMA Features
345 bool "Numa Memory Allocation Support"
346 depends on SMP && BROKEN
352 depends on NEED_MULTIPLE_NODES
354 # turning this on wastes a bunch of space.
355 # Summit needs it only when NUMA is on
364 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
371 Find out whether you have a PCI motherboard. PCI is the name of a
372 bus system, i.e. the way the CPU talks to the other stuff inside
373 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
374 VESA. If you have PCI, say Y, otherwise N.
377 prompt "PCI access mode"
384 On PCI systems, the BIOS can be used to detect the PCI devices and
385 determine their configuration. However, some old PCI motherboards
386 have BIOS bugs and may crash if this is done. Also, some embedded
387 PCI-based systems don't have any BIOS at all. Linux can also try to
388 detect the PCI hardware directly without using the BIOS.
390 With this option, you can specify how Linux should detect the PCI
391 devices. If you choose "BIOS", the BIOS will be used, if you choose
392 "Direct", the BIOS won't be used, and if you choose "Any", the
393 kernel will try the direct access method and falls back to the BIOS
394 if that doesn't work. If unsure, go with the default, which is
407 depends on PCI && (PCI_GOBIOS || PCI_GOANY)
412 depends on PCI && (PCI_GODIRECT || PCI_GOANY)
415 source "drivers/pci/Kconfig"
420 source "drivers/pcmcia/Kconfig"
422 source "drivers/pci/hotplug/Kconfig"
427 menu "Executable file formats"
429 source "fs/Kconfig.binfmt"
435 source "drivers/Kconfig"
439 source "arch/m32r/Kconfig.debug"
441 source "security/Kconfig"
443 source "crypto/Kconfig"