[IPV4] fib_trie: apply fixes from fib_hash
[linux-2.6/x86.git] / arch / m32r / Kconfig
blobf7237c5f531e511806133f0223ecd48edb0399ab
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux/M32R Kernel Configuration"
8 config M32R
9         bool
10         default y
12 config SBUS
13         bool
15 config GENERIC_ISA_DMA
16         bool
17         default y
19 config ZONE_DMA
20         bool
21         default y
23 config GENERIC_HARDIRQS
24         bool
25         default y
27 config GENERIC_IRQ_PROBE
28         bool
29         default y
31 config NO_IOPORT
32         def_bool y
34 config NO_DMA
35         def_bool y
37 source "init/Kconfig"
40 menu "Processor type and features"
42 choice
43         prompt "Platform Type"
44         default PLAT_MAPPI
46 config PLAT_MAPPI
47         bool "Mappi-I"
48         help
49           The Mappi-I is an FPGA board for SOC (System-On-a-Chip) prototyping.
50           You can operate a Linux system on this board by using an M32R
51           softmacro core, which is a fully-synthesizable functional model
52           described in Verilog-HDL.
54           The Mappi-I board was the first platform, which had been used
55           to port and develop a Linux system for the M32R processor.
56           Currently, the Mappi-II, an heir to the Mappi-I, is available.
58 config PLAT_USRV
59         bool "uServer"
60         select PLAT_HAS_INT1ICU
62 config PLAT_M32700UT
63         bool "M32700UT"
64         select PLAT_HAS_INT0ICU
65         select PLAT_HAS_INT1ICU
66         select PLAT_HAS_INT2ICU
67         help
68           The M3T-M32700UT is an evaluation board based on uT-Engine
69           specification.  This board has an M32700 (Chaos) evaluation chip.
70           You can say Y for SMP, because the M32700 is a single chip
71           multiprocessor.
73 config PLAT_OPSPUT
74         bool "OPSPUT"
75         select PLAT_HAS_INT0ICU
76         select PLAT_HAS_INT1ICU
77         select PLAT_HAS_INT2ICU
78         help
79           The OPSPUT is an evaluation board based on uT-Engine
80           specification.  This board has a OPSP-REP chip.
82 config PLAT_OAKS32R
83         bool "OAKS32R"
84         help
85           The OAKS32R is a tiny, inexpensive evaluation board.
86           Please note that if you say Y here and choose chip "M32102",
87           say N for MMU and select a no-MMU version kernel, otherwise
88           a kernel with MMU support will not work, because the M32102
89           is a microcontroller for embedded systems and it has no MMU.
91 config PLAT_MAPPI2
92        bool "Mappi-II(M3A-ZA36/M3A-ZA52)"
94 config PLAT_MAPPI3
95        bool "Mappi-III(M3A-2170)"
97 config PLAT_M32104UT
98         bool "M32104UT"
99         select PLAT_HAS_INT1ICU
100         help
101           The M3T-M32104UT is an reference board based on uT-Engine
102           specification.  This board has a M32104 chip.
104 endchoice
106 choice
107         prompt "Processor family"
108         default CHIP_M32700
110 config CHIP_M32700
111         bool "M32700 (Chaos)"
113 config CHIP_M32102
114         bool "M32102"
116 config CHIP_M32104
117         bool "M32104"
118         depends on PLAT_M32104UT
120 config CHIP_VDEC2
121        bool "VDEC2"
123 config CHIP_OPSP
124        bool "OPSP"
126 endchoice
128 config MMU
129         bool "Support for memory management hardware"
130         depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
131         default y
133 config TLB_ENTRIES
134        int "TLB Entries"
135        depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
136        default 32 if CHIP_M32700 || CHIP_OPSP
137        default 16 if CHIP_VDEC2
140 config ISA_M32R
141         bool
142         depends on CHIP_M32102 || CHIP_M32104
143         default y
145 config ISA_M32R2
146         bool
147         depends on CHIP_M32700 || CHIP_VDEC2 || CHIP_OPSP
148         default y
150 config ISA_DSP_LEVEL2
151         bool
152         depends on CHIP_M32700 || CHIP_OPSP
153         default y
155 config ISA_DUAL_ISSUE
156         bool
157         depends on CHIP_M32700 || CHIP_OPSP
158         default y
160 config PLAT_HAS_INT0ICU
161         bool
162         default n
164 config PLAT_HAS_INT1ICU
165         bool
166         default n
168 config PLAT_HAS_INT2ICU
169         bool
170         default n
172 config BUS_CLOCK
173         int "Bus Clock [Hz] (integer)"
174         default "70000000" if PLAT_MAPPI
175         default "25000000" if PLAT_USRV
176         default "50000000" if PLAT_MAPPI3
177         default "50000000" if PLAT_M32700UT
178         default "50000000" if PLAT_OPSPUT
179         default "54000000" if PLAT_M32104UT
180         default "33333333" if PLAT_OAKS32R
181         default "20000000" if PLAT_MAPPI2
183 config TIMER_DIVIDE
184         int "Timer divider (integer)"
185         default "128"
187 config CPU_LITTLE_ENDIAN
188         bool "Generate little endian code"
189         default n
191 config MEMORY_START
192         hex "Physical memory start address (hex)"
193         default "08000000" if PLAT_MAPPI || PLAT_MAPPI2 || PLAT_MAPPI3
194         default "08000000" if PLAT_USRV
195         default "08000000" if PLAT_M32700UT
196         default "08000000" if PLAT_OPSPUT
197         default "04000000" if PLAT_M32104UT
198         default "01000000" if PLAT_OAKS32R
200 config MEMORY_SIZE
201         hex "Physical memory size (hex)"
202         default "08000000" if PLAT_MAPPI3
203         default "04000000" if PLAT_MAPPI || PLAT_MAPPI2
204         default "02000000" if PLAT_USRV
205         default "01000000" if PLAT_M32700UT
206         default "01000000" if PLAT_OPSPUT
207         default "01000000" if PLAT_M32104UT
208         default "00800000" if PLAT_OAKS32R
210 config NOHIGHMEM
211         bool
212         default y
214 config ARCH_DISCONTIGMEM_ENABLE
215         bool "Internal RAM Support"
216         depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104
217         default y
219 source "mm/Kconfig"
221 config IRAM_START
222         hex "Internal memory start address (hex)"
223         default "00f00000" if !CHIP_M32104
224         default "00700000" if CHIP_M32104
225         depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
227 config IRAM_SIZE
228         hex "Internal memory size (hex)"
229         depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM
230         default "00080000" if CHIP_M32700
231         default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104
232         default "00008000" if CHIP_VDEC2
235 # Define implied options from the CPU selection here
238 config GENERIC_LOCKBREAK
239         bool
240         default y
241         depends on SMP && PREEMPT
243 config RWSEM_GENERIC_SPINLOCK
244         bool
245         depends on M32R
246         default y
248 config RWSEM_XCHGADD_ALGORITHM
249         bool
250         default n
252 config ARCH_HAS_ILOG2_U32
253         bool
254         default n
256 config ARCH_HAS_ILOG2_U64
257         bool
258         default n
260 config GENERIC_FIND_NEXT_BIT
261         bool
262         default y
264 config GENERIC_HWEIGHT
265         bool
266         default y
268 config GENERIC_CALIBRATE_DELAY
269         bool
270         default y
272 config SCHED_NO_NO_OMIT_FRAME_POINTER
273         bool
274         default y
276 config PREEMPT
277         bool "Preemptible Kernel"
278         help
279           This option reduces the latency of the kernel when reacting to
280           real-time or interactive events by allowing a low priority process to
281           be preempted even if it is in kernel mode executing a system call.
282           This allows applications to run more reliably even when the system is
283           under load.
285           Say Y here if you are building a kernel for a desktop, embedded
286           or real-time system.  Say N if you are unsure.
288 config SMP
289         bool "Symmetric multi-processing support"
290         ---help---
291           This enables support for systems with more than one CPU. If you have
292           a system with only one CPU, like most personal computers, say N. If
293           you have a system with more than one CPU, say Y.
295           If you say N here, the kernel will run on single and multiprocessor
296           machines, but will use only one CPU of a multiprocessor machine. If
297           you say Y here, the kernel will run on many, but not all,
298           singleprocessor machines. On a singleprocessor machine, the kernel
299           will run faster if you say N here.
301           People using multiprocessor machines who say Y here should also say
302           Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
303           Management" code will be disabled if you say Y here.
305           See also the <file:Documentation/smp.txt>,
306           and the SMP-HOWTO available at
307           <http://www.linuxdoc.org/docs.html#howto>.
309           If you don't know what to do here, say N.
311 config CHIP_M32700_TS1
312         bool "Workaround code for the M32700 TS1 chip's bug"
313         depends on (CHIP_M32700 && SMP)
314         default n
316 config NR_CPUS
317         int "Maximum number of CPUs (2-32)"
318         range 2 32
319         depends on SMP
320         default "2"
321         help
322           This allows you to specify the maximum number of CPUs which this
323           kernel will support.  The maximum supported value is 32 and the
324           minimum value which makes sense is 2.
326           This is purely to save memory - each supported CPU adds
327           approximately eight kilobytes to the kernel image.
329 # Common NUMA Features
330 config NUMA
331         bool "Numa Memory Allocation Support"
332         depends on SMP && BROKEN
333         default n
335 config NODES_SHIFT
336         int
337         default "1"
338         depends on NEED_MULTIPLE_NODES
340 # turning this on wastes a bunch of space.
341 # Summit needs it only when NUMA is on
342 config BOOT_IOREMAP
343         bool
344         depends on NUMA
345         default n
347 endmenu
350 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
352 config PCI
353         bool "PCI support"
354         depends on BROKEN
355         default n
356         help
357           Find out whether you have a PCI motherboard. PCI is the name of a
358           bus system, i.e. the way the CPU talks to the other stuff inside
359           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
360           VESA. If you have PCI, say Y, otherwise N.
362           The PCI-HOWTO, available from
363           <http://www.linuxdoc.org/docs.html#howto>, contains valuable
364           information about which PCI hardware does work under Linux and which
365           doesn't.
367 choice
368         prompt "PCI access mode"
369         depends on PCI
370         default PCI_GOANY
372 config PCI_GOBIOS
373         bool "BIOS"
374         ---help---
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
386           "Any".
388 config PCI_GODIRECT
389         bool "Direct"
391 config PCI_GOANY
392         bool "Any"
394 endchoice
396 config PCI_BIOS
397         bool
398         depends on PCI && (PCI_GOBIOS || PCI_GOANY)
399         default y
401 config PCI_DIRECT
402         bool
403         depends on PCI && (PCI_GODIRECT || PCI_GOANY)
404         default y
406 source "drivers/pci/Kconfig"
408 config ISA
409         bool "ISA support"
410         help
411           Find out whether you have ISA slots on your motherboard.  ISA is the
412           name of a bus system, i.e. the way the CPU talks to the other stuff
413           inside your box.  If you have ISA, say Y, otherwise N.
415 source "drivers/pcmcia/Kconfig"
417 source "drivers/pci/hotplug/Kconfig"
419 endmenu
422 menu "Executable file formats"
424 source "fs/Kconfig.binfmt"
426 endmenu
428 source "net/Kconfig"
430 source "drivers/Kconfig"
432 source "fs/Kconfig"
434 source "kernel/Kconfig.instrumentation"
436 source "arch/m32r/Kconfig.debug"
438 source "security/Kconfig"
440 source "crypto/Kconfig"
442 source "lib/Kconfig"