Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | config M32R |
2 | bool | |
3 | default y | |
ec7748b5 | 4 | select HAVE_IDE |
42d4b839 | 5 | select HAVE_OPROFILE |
98a79d6a | 6 | select INIT_ALL_POSSIBLE |
337214e8 HT |
7 | select HAVE_KERNEL_GZIP |
8 | select HAVE_KERNEL_BZIP2 | |
9 | select HAVE_KERNEL_LZMA | |
c1d7e01d | 10 | select ARCH_WANT_IPC_PARSE_VERSION |
9b2a60c4 | 11 | select HAVE_DEBUG_BUGVERBOSE |
4febd95a | 12 | select VIRT_TO_BUS |
0e155b2c | 13 | select GENERIC_IRQ_PROBE |
4bdab7e0 | 14 | select GENERIC_IRQ_SHOW |
abcefec3 | 15 | select GENERIC_ATOMIC64 |
21266be9 | 16 | select ARCH_HAS_DEVMEM_IS_ALLOWED |
97a1c1e9 | 17 | select ARCH_USES_GETTIMEOFFSET |
786d35d4 | 18 | select MODULES_USE_ELF_RELA |
d1a1dc0b | 19 | select HAVE_DEBUG_STACKOVERFLOW |
1da177e4 LT |
20 | |
21 | config SBUS | |
22 | bool | |
23 | ||
1da177e4 LT |
24 | config GENERIC_ISA_DMA |
25 | bool | |
26 | default y | |
27 | ||
5ac6da66 CL |
28 | config ZONE_DMA |
29 | bool | |
30 | default y | |
31 | ||
ce816fa8 | 32 | config NO_IOPORT_MAP |
5ea81769 AV |
33 | def_bool y |
34 | ||
1b0fac45 DW |
35 | config NO_DMA |
36 | def_bool y | |
37 | ||
bdc80787 PA |
38 | config HZ |
39 | int | |
40 | default 100 | |
41 | ||
1da177e4 LT |
42 | source "init/Kconfig" |
43 | ||
dc52ddc0 MH |
44 | source "kernel/Kconfig.freezer" |
45 | ||
1da177e4 LT |
46 | |
47 | menu "Processor type and features" | |
48 | ||
49 | choice | |
50 | prompt "Platform Type" | |
51 | default PLAT_MAPPI | |
52 | ||
53 | config PLAT_MAPPI | |
54 | bool "Mappi-I" | |
55 | help | |
56 | The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping. | |
57 | You can operate a Linux system on this board by using an M32R | |
58 | softmacro core, which is a fully-synthesizable functional model | |
59 | described in Verilog-HDL. | |
60 | ||
61 | The Mappi-I board was the first platform, which had been used | |
62 | to port and develop a Linux system for the M32R processor. | |
63 | Currently, the Mappi-II, an heir to the Mappi-I, is available. | |
64 | ||
65 | config PLAT_USRV | |
66 | bool "uServer" | |
e070fb74 | 67 | select PLAT_HAS_INT1ICU |
1da177e4 LT |
68 | |
69 | config PLAT_M32700UT | |
70 | bool "M32700UT" | |
e070fb74 HT |
71 | select PLAT_HAS_INT0ICU |
72 | select PLAT_HAS_INT1ICU | |
73 | select PLAT_HAS_INT2ICU | |
1da177e4 LT |
74 | help |
75 | The M3T-M32700UT is an evaluation board based on uT-Engine | |
76 | specification. This board has an M32700 (Chaos) evaluation chip. | |
77 | You can say Y for SMP, because the M32700 is a single chip | |
78 | multiprocessor. | |
79 | ||
80 | config PLAT_OPSPUT | |
81 | bool "OPSPUT" | |
e070fb74 HT |
82 | select PLAT_HAS_INT0ICU |
83 | select PLAT_HAS_INT1ICU | |
84 | select PLAT_HAS_INT2ICU | |
1da177e4 LT |
85 | help |
86 | The OPSPUT is an evaluation board based on uT-Engine | |
87 | specification. This board has a OPSP-REP chip. | |
88 | ||
89 | config PLAT_OAKS32R | |
90 | bool "OAKS32R" | |
91 | help | |
92 | The OAKS32R is a tiny, inexpensive evaluation board. | |
93 | Please note that if you say Y here and choose chip "M32102", | |
94 | say N for MMU and select a no-MMU version kernel, otherwise | |
95 | a kernel with MMU support will not work, because the M32102 | |
96 | is a microcontroller for embedded systems and it has no MMU. | |
97 | ||
98 | config PLAT_MAPPI2 | |
99 | bool "Mappi-II(M3A-ZA36/M3A-ZA52)" | |
100 | ||
23680863 HT |
101 | config PLAT_MAPPI3 |
102 | bool "Mappi-III(M3A-2170)" | |
103 | ||
9287d95e HT |
104 | config PLAT_M32104UT |
105 | bool "M32104UT" | |
e070fb74 | 106 | select PLAT_HAS_INT1ICU |
9287d95e HT |
107 | help |
108 | The M3T-M32104UT is an reference board based on uT-Engine | |
109 | specification. This board has a M32104 chip. | |
110 | ||
1da177e4 LT |
111 | endchoice |
112 | ||
113 | choice | |
114 | prompt "Processor family" | |
115 | default CHIP_M32700 | |
116 | ||
117 | config CHIP_M32700 | |
118 | bool "M32700 (Chaos)" | |
119 | ||
120 | config CHIP_M32102 | |
121 | bool "M32102" | |
122 | ||
9287d95e HT |
123 | config CHIP_M32104 |
124 | bool "M32104" | |
125 | depends on PLAT_M32104UT | |
126 | ||
1da177e4 LT |
127 | config CHIP_VDEC2 |
128 | bool "VDEC2" | |
129 | ||
130 | config CHIP_OPSP | |
131 | bool "OPSP" | |
132 | ||
133 | endchoice | |
134 | ||
135 | config MMU | |
136 | bool "Support for memory management hardware" | |
137 | depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP | |
138 | default y | |
139 | ||
140 | config TLB_ENTRIES | |
141 | int "TLB Entries" | |
142 | depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP | |
143 | default 32 if CHIP_M32700 || CHIP_OPSP | |
144 | default 16 if CHIP_VDEC2 | |
145 | ||
146 | ||
147 | config ISA_M32R | |
148 | bool | |
9287d95e | 149 | depends on CHIP_M32102 || CHIP_M32104 |
1da177e4 LT |
150 | default y |
151 | ||
152 | config ISA_M32R2 | |
153 | bool | |
154 | depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP | |
155 | default y | |
156 | ||
157 | config ISA_DSP_LEVEL2 | |
158 | bool | |
159 | depends on CHIP_M32700 || CHIP_OPSP | |
160 | default y | |
161 | ||
162 | config ISA_DUAL_ISSUE | |
163 | bool | |
164 | depends on CHIP_M32700 || CHIP_OPSP | |
165 | default y | |
166 | ||
e070fb74 HT |
167 | config PLAT_HAS_INT0ICU |
168 | bool | |
169 | default n | |
170 | ||
171 | config PLAT_HAS_INT1ICU | |
172 | bool | |
173 | default n | |
174 | ||
175 | config PLAT_HAS_INT2ICU | |
176 | bool | |
177 | default n | |
178 | ||
1da177e4 LT |
179 | config BUS_CLOCK |
180 | int "Bus Clock [Hz] (integer)" | |
181 | default "70000000" if PLAT_MAPPI | |
182 | default "25000000" if PLAT_USRV | |
23680863 | 183 | default "50000000" if PLAT_MAPPI3 |
1da177e4 LT |
184 | default "50000000" if PLAT_M32700UT |
185 | default "50000000" if PLAT_OPSPUT | |
9287d95e | 186 | default "54000000" if PLAT_M32104UT |
1da177e4 LT |
187 | default "33333333" if PLAT_OAKS32R |
188 | default "20000000" if PLAT_MAPPI2 | |
189 | ||
190 | config TIMER_DIVIDE | |
191 | int "Timer divider (integer)" | |
192 | default "128" | |
193 | ||
194 | config CPU_LITTLE_ENDIAN | |
195 | bool "Generate little endian code" | |
196 | default n | |
197 | ||
198 | config MEMORY_START | |
199 | hex "Physical memory start address (hex)" | |
23680863 | 200 | default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3 |
1da177e4 LT |
201 | default "08000000" if PLAT_USRV |
202 | default "08000000" if PLAT_M32700UT | |
203 | default "08000000" if PLAT_OPSPUT | |
9287d95e | 204 | default "04000000" if PLAT_M32104UT |
1da177e4 LT |
205 | default "01000000" if PLAT_OAKS32R |
206 | ||
207 | config MEMORY_SIZE | |
208 | hex "Physical memory size (hex)" | |
23680863 | 209 | default "08000000" if PLAT_MAPPI3 |
1da177e4 LT |
210 | default "04000000" if PLAT_MAPPI || PLAT_MAPPI2 |
211 | default "02000000" if PLAT_USRV | |
212 | default "01000000" if PLAT_M32700UT | |
213 | default "01000000" if PLAT_OPSPUT | |
9287d95e | 214 | default "01000000" if PLAT_M32104UT |
1da177e4 LT |
215 | default "00800000" if PLAT_OAKS32R |
216 | ||
3f22ab27 | 217 | config ARCH_DISCONTIGMEM_ENABLE |
1da177e4 | 218 | bool "Internal RAM Support" |
9287d95e | 219 | depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104 |
1da177e4 LT |
220 | default y |
221 | ||
3f22ab27 DH |
222 | source "mm/Kconfig" |
223 | ||
1da177e4 LT |
224 | config IRAM_START |
225 | hex "Internal memory start address (hex)" | |
9287d95e HT |
226 | default "00f00000" if !CHIP_M32104 |
227 | default "00700000" if CHIP_M32104 | |
228 | depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM | |
1da177e4 LT |
229 | |
230 | config IRAM_SIZE | |
231 | hex "Internal memory size (hex)" | |
9287d95e | 232 | depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM |
1da177e4 | 233 | default "00080000" if CHIP_M32700 |
9287d95e | 234 | default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104 |
1da177e4 LT |
235 | default "00008000" if CHIP_VDEC2 |
236 | ||
237 | # | |
238 | # Define implied options from the CPU selection here | |
239 | # | |
240 | ||
95c354fe NP |
241 | config GENERIC_LOCKBREAK |
242 | bool | |
243 | default y | |
244 | depends on SMP && PREEMPT | |
245 | ||
1da177e4 LT |
246 | config RWSEM_GENERIC_SPINLOCK |
247 | bool | |
248 | depends on M32R | |
249 | default y | |
250 | ||
251 | config RWSEM_XCHGADD_ALGORITHM | |
252 | bool | |
253 | default n | |
254 | ||
f0d1b0b3 DH |
255 | config ARCH_HAS_ILOG2_U32 |
256 | bool | |
257 | default n | |
258 | ||
259 | config ARCH_HAS_ILOG2_U64 | |
260 | bool | |
261 | default n | |
262 | ||
6d9f937b AM |
263 | config GENERIC_HWEIGHT |
264 | bool | |
265 | default y | |
266 | ||
1da177e4 LT |
267 | config GENERIC_CALIBRATE_DELAY |
268 | bool | |
269 | default y | |
270 | ||
ae1e9130 | 271 | config SCHED_OMIT_FRAME_POINTER |
43c09ce7 HT |
272 | bool |
273 | default y | |
274 | ||
dab16ae1 | 275 | source "kernel/Kconfig.preempt" |
1da177e4 | 276 | |
1da177e4 LT |
277 | config SMP |
278 | bool "Symmetric multi-processing support" | |
279 | ---help--- | |
280 | This enables support for systems with more than one CPU. If you have | |
4a474157 RG |
281 | a system with only one CPU, say N. If you have a system with more |
282 | than one CPU, say Y. | |
1da177e4 | 283 | |
4a474157 | 284 | If you say N here, the kernel will run on uni- and multiprocessor |
1da177e4 LT |
285 | machines, but will use only one CPU of a multiprocessor machine. If |
286 | you say Y here, the kernel will run on many, but not all, | |
4a474157 | 287 | uniprocessor machines. On a uniprocessor machine, the kernel |
1da177e4 LT |
288 | will run faster if you say N here. |
289 | ||
290 | People using multiprocessor machines who say Y here should also say | |
291 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power | |
292 | Management" code will be disabled if you say Y here. | |
293 | ||
03502faa | 294 | See also the SMP-HOWTO available at |
50a23e6e | 295 | <http://tldp.org/HOWTO/SMP-HOWTO.html>. |
1da177e4 LT |
296 | |
297 | If you don't know what to do here, say N. | |
298 | ||
299 | config CHIP_M32700_TS1 | |
300 | bool "Workaround code for the M32700 TS1 chip's bug" | |
301 | depends on (CHIP_M32700 && SMP) | |
302 | default n | |
303 | ||
304 | config NR_CPUS | |
305 | int "Maximum number of CPUs (2-32)" | |
306 | range 2 32 | |
307 | depends on SMP | |
308 | default "2" | |
309 | help | |
310 | This allows you to specify the maximum number of CPUs which this | |
311 | kernel will support. The maximum supported value is 32 and the | |
312 | minimum value which makes sense is 2. | |
313 | ||
314 | This is purely to save memory - each supported CPU adds | |
315 | approximately eight kilobytes to the kernel image. | |
316 | ||
317 | # Common NUMA Features | |
318 | config NUMA | |
319 | bool "Numa Memory Allocation Support" | |
c5596b26 | 320 | depends on SMP && BROKEN |
1da177e4 LT |
321 | default n |
322 | ||
c80d79d7 YG |
323 | config NODES_SHIFT |
324 | int | |
325 | default "1" | |
326 | depends on NEED_MULTIPLE_NODES | |
327 | ||
1da177e4 LT |
328 | endmenu |
329 | ||
330 | ||
331 | menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" | |
332 | ||
333 | config PCI | |
334 | bool "PCI support" | |
c3a0f771 | 335 | depends on BROKEN |
1da177e4 LT |
336 | default n |
337 | help | |
338 | Find out whether you have a PCI motherboard. PCI is the name of a | |
339 | bus system, i.e. the way the CPU talks to the other stuff inside | |
340 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or | |
341 | VESA. If you have PCI, say Y, otherwise N. | |
342 | ||
1da177e4 LT |
343 | choice |
344 | prompt "PCI access mode" | |
345 | depends on PCI | |
346 | default PCI_GOANY | |
347 | ||
348 | config PCI_GOBIOS | |
349 | bool "BIOS" | |
350 | ---help--- | |
351 | On PCI systems, the BIOS can be used to detect the PCI devices and | |
352 | determine their configuration. However, some old PCI motherboards | |
353 | have BIOS bugs and may crash if this is done. Also, some embedded | |
354 | PCI-based systems don't have any BIOS at all. Linux can also try to | |
355 | detect the PCI hardware directly without using the BIOS. | |
356 | ||
357 | With this option, you can specify how Linux should detect the PCI | |
358 | devices. If you choose "BIOS", the BIOS will be used, if you choose | |
359 | "Direct", the BIOS won't be used, and if you choose "Any", the | |
360 | kernel will try the direct access method and falls back to the BIOS | |
361 | if that doesn't work. If unsure, go with the default, which is | |
362 | "Any". | |
363 | ||
364 | config PCI_GODIRECT | |
365 | bool "Direct" | |
366 | ||
367 | config PCI_GOANY | |
368 | bool "Any" | |
369 | ||
370 | endchoice | |
371 | ||
372 | config PCI_BIOS | |
373 | bool | |
374 | depends on PCI && (PCI_GOBIOS || PCI_GOANY) | |
375 | default y | |
376 | ||
377 | config PCI_DIRECT | |
378 | bool | |
379 | depends on PCI && (PCI_GODIRECT || PCI_GOANY) | |
380 | default y | |
381 | ||
382 | source "drivers/pci/Kconfig" | |
383 | ||
384 | config ISA | |
1b20b093 | 385 | bool |
1da177e4 LT |
386 | |
387 | source "drivers/pcmcia/Kconfig" | |
388 | ||
389 | source "drivers/pci/hotplug/Kconfig" | |
390 | ||
391 | endmenu | |
392 | ||
393 | ||
394 | menu "Executable file formats" | |
395 | ||
396 | source "fs/Kconfig.binfmt" | |
397 | ||
398 | endmenu | |
399 | ||
d5950b43 SR |
400 | source "net/Kconfig" |
401 | ||
1da177e4 LT |
402 | source "drivers/Kconfig" |
403 | ||
404 | source "fs/Kconfig" | |
405 | ||
1da177e4 LT |
406 | source "arch/m32r/Kconfig.debug" |
407 | ||
408 | source "security/Kconfig" | |
409 | ||
410 | source "crypto/Kconfig" | |
411 | ||
412 | source "lib/Kconfig" |