watchdog: fix typo in omap_wdt.c
[pandora-kernel.git] / arch / m32r / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux/M32R Kernel Configuration"
7
8 config M32R
9         bool
10         default y
11         select HAVE_IDE
12         select HAVE_OPROFILE
13
14 config SBUS
15         bool
16
17 config GENERIC_ISA_DMA
18         bool
19         default y
20
21 config ZONE_DMA
22         bool
23         default y
24
25 config GENERIC_HARDIRQS
26         bool
27         default y
28
29 config GENERIC_IRQ_PROBE
30         bool
31         default y
32
33 config NO_IOPORT
34         def_bool y
35
36 config NO_DMA
37         def_bool y
38
39 config ARCH_SUPPORTS_AOUT
40         def_bool y
41
42 config HZ
43         int
44         default 100
45
46 source "init/Kconfig"
47
48
49 menu "Processor type and features"
50
51 choice
52         prompt "Platform Type"
53         default PLAT_MAPPI
54
55 config PLAT_MAPPI
56         bool "Mappi-I"
57         help
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.
62
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.
66
67 config PLAT_USRV
68         bool "uServer"
69         select PLAT_HAS_INT1ICU
70
71 config PLAT_M32700UT
72         bool "M32700UT"
73         select PLAT_HAS_INT0ICU
74         select PLAT_HAS_INT1ICU
75         select PLAT_HAS_INT2ICU
76         help
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
80           multiprocessor.
81
82 config PLAT_OPSPUT
83         bool "OPSPUT"
84         select PLAT_HAS_INT0ICU
85         select PLAT_HAS_INT1ICU
86         select PLAT_HAS_INT2ICU
87         help
88           The OPSPUT is an evaluation board based on uT-Engine
89           specification.  This board has a OPSP-REP chip.
90
91 config PLAT_OAKS32R
92         bool "OAKS32R"
93         help
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.
99
100 config PLAT_MAPPI2
101        bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
102
103 config PLAT_MAPPI3
104        bool "Mappi-III(M3A-2170)"
105
106 config PLAT_M32104UT
107         bool "M32104UT"
108         select PLAT_HAS_INT1ICU
109         help
110           The M3T-M32104UT is an reference board based on uT-Engine
111           specification.  This board has a M32104 chip.
112
113 endchoice
114
115 choice
116         prompt "Processor family"
117         default CHIP_M32700
118
119 config CHIP_M32700
120         bool "M32700 (Chaos)"
121
122 config CHIP_M32102
123         bool "M32102"
124
125 config CHIP_M32104
126         bool "M32104"
127         depends on PLAT_M32104UT
128
129 config CHIP_VDEC2
130        bool "VDEC2"
131
132 config CHIP_OPSP
133        bool "OPSP"
134
135 endchoice
136
137 config MMU
138         bool "Support for memory management hardware"
139         depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
140         default y
141
142 config TLB_ENTRIES
143        int "TLB Entries"
144        depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
145        default 32 if CHIP_M32700 || CHIP_OPSP
146        default 16 if CHIP_VDEC2
147
148
149 config ISA_M32R
150         bool
151         depends on CHIP_M32102 || CHIP_M32104
152         default y
153
154 config ISA_M32R2
155         bool
156         depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
157         default y
158
159 config ISA_DSP_LEVEL2
160         bool
161         depends on CHIP_M32700 || CHIP_OPSP
162         default y
163
164 config ISA_DUAL_ISSUE
165         bool
166         depends on CHIP_M32700 || CHIP_OPSP
167         default y
168
169 config PLAT_HAS_INT0ICU
170         bool
171         default n
172
173 config PLAT_HAS_INT1ICU
174         bool
175         default n
176
177 config PLAT_HAS_INT2ICU
178         bool
179         default n
180
181 config BUS_CLOCK
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
191
192 config TIMER_DIVIDE
193         int "Timer divider (integer)"
194         default "128"
195
196 config CPU_LITTLE_ENDIAN
197         bool "Generate little endian code"
198         default n
199
200 config MEMORY_START
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
208
209 config MEMORY_SIZE
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
218
219 config NOHIGHMEM
220         bool
221         default y
222
223 config ARCH_DISCONTIGMEM_ENABLE
224         bool "Internal RAM Support"
225         depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
226         default y
227
228 source "mm/Kconfig"
229
230 config IRAM_START
231         hex "Internal memory start address (hex)"
232         default "00f00000" if !CHIP_M32104
233         default "00700000" if CHIP_M32104
234         depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
235
236 config IRAM_SIZE
237         hex "Internal memory size (hex)"
238         depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
239         default "00080000" if CHIP_M32700
240         default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
241         default "00008000" if CHIP_VDEC2
242
243 #
244 # Define implied options from the CPU selection here
245 #
246
247 config GENERIC_LOCKBREAK
248         bool
249         default y
250         depends on SMP && PREEMPT
251
252 config RWSEM_GENERIC_SPINLOCK
253         bool
254         depends on M32R
255         default y
256
257 config RWSEM_XCHGADD_ALGORITHM
258         bool
259         default n
260
261 config ARCH_HAS_ILOG2_U32
262         bool
263         default n
264
265 config ARCH_HAS_ILOG2_U64
266         bool
267         default n
268
269 config GENERIC_FIND_NEXT_BIT
270         bool
271         default y
272
273 config GENERIC_HWEIGHT
274         bool
275         default y
276
277 config GENERIC_CALIBRATE_DELAY
278         bool
279         default y
280
281 config SCHED_NO_NO_OMIT_FRAME_POINTER
282         bool
283         default y
284
285 config PREEMPT
286         bool "Preemptible Kernel"
287         help
288           This option reduces the latency of the kernel when reacting to
289           real-time or interactive events by allowing a low priority process to
290           be preempted even if it is in kernel mode executing a system call.
291           This allows applications to run more reliably even when the system is
292           under load.
293
294           Say Y here if you are building a kernel for a desktop, embedded
295           or real-time system.  Say N if you are unsure.
296
297 config SMP
298         bool "Symmetric multi-processing support"
299         select USE_GENERIC_SMP_HELPERS
300         ---help---
301           This enables support for systems with more than one CPU. If you have
302           a system with only one CPU, like most personal computers, say N. If
303           you have a system with more than one CPU, say Y.
304
305           If you say N here, the kernel will run on single and multiprocessor
306           machines, but will use only one CPU of a multiprocessor machine. If
307           you say Y here, the kernel will run on many, but not all,
308           singleprocessor machines. On a singleprocessor machine, the kernel
309           will run faster if you say N here.
310
311           People using multiprocessor machines who say Y here should also say
312           Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
313           Management" code will be disabled if you say Y here.
314
315           See also the SMP-HOWTO available at
316           <http://www.linuxdoc.org/docs.html#howto>.
317
318           If you don't know what to do here, say N.
319
320 config CHIP_M32700_TS1
321         bool "Workaround code for the M32700 TS1 chip's bug"
322         depends on (CHIP_M32700 && SMP)
323         default n
324
325 config NR_CPUS
326         int "Maximum number of CPUs (2-32)"
327         range 2 32
328         depends on SMP
329         default "2"
330         help
331           This allows you to specify the maximum number of CPUs which this
332           kernel will support.  The maximum supported value is 32 and the
333           minimum value which makes sense is 2.
334
335           This is purely to save memory - each supported CPU adds
336           approximately eight kilobytes to the kernel image.
337
338 # Common NUMA Features
339 config NUMA
340         bool "Numa Memory Allocation Support"
341         depends on SMP && BROKEN
342         default n
343
344 config NODES_SHIFT
345         int
346         default "1"
347         depends on NEED_MULTIPLE_NODES
348
349 # turning this on wastes a bunch of space.
350 # Summit needs it only when NUMA is on
351 config BOOT_IOREMAP
352         bool
353         depends on NUMA
354         default n
355
356 endmenu
357
358
359 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
360
361 config PCI
362         bool "PCI support"
363         depends on BROKEN
364         default n
365         help
366           Find out whether you have a PCI motherboard. PCI is the name of a
367           bus system, i.e. the way the CPU talks to the other stuff inside
368           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
369           VESA. If you have PCI, say Y, otherwise N.
370
371 choice
372         prompt "PCI access mode"
373         depends on PCI
374         default PCI_GOANY
375
376 config PCI_GOBIOS
377         bool "BIOS"
378         ---help---
379           On PCI systems, the BIOS can be used to detect the PCI devices and
380           determine their configuration. However, some old PCI motherboards
381           have BIOS bugs and may crash if this is done. Also, some embedded
382           PCI-based systems don't have any BIOS at all. Linux can also try to
383           detect the PCI hardware directly without using the BIOS.
384
385           With this option, you can specify how Linux should detect the PCI
386           devices. If you choose "BIOS", the BIOS will be used, if you choose
387           "Direct", the BIOS won't be used, and if you choose "Any", the
388           kernel will try the direct access method and falls back to the BIOS
389           if that doesn't work. If unsure, go with the default, which is
390           "Any".
391
392 config PCI_GODIRECT
393         bool "Direct"
394
395 config PCI_GOANY
396         bool "Any"
397
398 endchoice
399
400 config PCI_BIOS
401         bool
402         depends on PCI && (PCI_GOBIOS || PCI_GOANY)
403         default y
404
405 config PCI_DIRECT
406         bool
407         depends on PCI && (PCI_GODIRECT || PCI_GOANY)
408         default y
409
410 source "drivers/pci/Kconfig"
411
412 config ISA
413         bool "ISA support"
414         help
415           Find out whether you have ISA slots on your motherboard.  ISA is the
416           name of a bus system, i.e. the way the CPU talks to the other stuff
417           inside your box.  If you have ISA, say Y, otherwise N.
418
419 source "drivers/pcmcia/Kconfig"
420
421 source "drivers/pci/hotplug/Kconfig"
422
423 endmenu
424
425
426 menu "Executable file formats"
427
428 source "fs/Kconfig.binfmt"
429
430 endmenu
431
432 source "net/Kconfig"
433
434 source "drivers/Kconfig"
435
436 source "fs/Kconfig"
437
438 source "arch/m32r/Kconfig.debug"
439
440 source "security/Kconfig"
441
442 source "crypto/Kconfig"
443
444 source "lib/Kconfig"