MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / arch / nios2nommu / Kconfig
blob8e87a1140c11760573a77fefb8ee729a5cef4d46
2 # For a description of the syntax of this configuration file,
3 # see the Configure script.
5 mainmenu 'uClinux/Nios2 (w/o MMU) Kernel Configuration'
7 config MMU
8         bool
9         default n
11 config FPU
12         bool
13         default n
15 config UID16
16         bool
17         default y
19 config RWSEM_GENERIC_SPINLOCK
20         bool
21         default y
23 config RWSEM_XCHGADD_ALGORITHM
24         bool
25         default n
27 config GENERIC_FIND_NEXT_BIT
28         bool
29         default y
31 config GENERIC_HWEIGHT
32         bool
33         default y
35 config GENERIC_CALIBRATE_DELAY
36         bool
37         default y
39 source "init/Kconfig"
41 menu "Processor type and features"
43 comment 'Platform dependant setup'
45 choice
46         prompt "CPU"
47         default NIOS2
49 config NIOS2
50         bool "NIOS2"
51         help
52           Altera Nios2 softcore processor.
54 endchoice
56 choice
57         prompt "Platform"
58         default ALTERA_STRATIX
60 config MICROTRONIX_UKIT
61         bool "Microtronix uKit board support"
62         depends on NIOS2
63         help
64           Support for the Microtronix uKit development board. Includes support 
65           for Sodimm SDRAM/FLASH, soft ethernet MAC & PHY.
67 config MICROTRONIX_STRATIX
68         bool "Microtronix Stratix board support"
69         depends on NIOS2
70         help
71           Support for the Microtronix Stratix board. Includes support 
72           for Sodimm SDRAM/FLASH, soft ethernet MAC & PHY, USB, LVDS
73           & analog/digital converters.
75 config MICROTRONIX_CYCLONE
76         bool "Microtronix Cyclone board support"
77         depends on NIOS2
78         help
79           Support for the Microtronix Cyclone board. Includes support 
80           for SDRAM, FLASH, soft ethernet MAC & PHY, USB,
81           & analog/digital converters.
83 config MICROTRONIX_PSK
84         bool "Microtronix PSK (Product Starter Kit) support"
85         depends on NIOS2
86         help
87           Support for the Microtronix PSK (Product Starter Kit), which
88           features firefly module (EP1C4 or EP1C12). Includes support 
89           for SDRAM, FLASH, and a variety of product expansion kits such
90           as USB, Ethernet etc.
92 config ALTERA_STRATIX
93         bool "Altera Stratix Development board support"
94         depends on NIOS2
95         help
96           Support for the Altera Stratix Development board. Includes
97           support for 10/100 ethernet, FLASH, SDRAM, compact flash.
99 config ALTERA_STRATIX_PRO
100         bool "Altera Stratix Pro Development board support"
101         depends on NIOS2
102         help
103           Support for the Altera Stratix 1s40 Development board. Includes
104           support for 10/100 ethernet, FLASH, SDRAM, compact flash.
106 config ALTERA_STRATIX_II
107         bool "Altera Stratix II Development board support"
108         depends on NIOS2
109         help
110           Support for the Altera Stratix II Development board. Includes
111           support for 10/100 ethernet, FLASH, SDRAM, compact flash.
113 config ALTERA_CYCLONE
114         bool "Altera Cyclone Development board support"
115         depends on NIOS2
116         help
117           Support for the Altera Cyclone Development board. Includes
118           support for 10/100 ethernet, FLASH, SDRAM, compact flash.
120 config ALTERA_CYCLONE_1C12_EVAL
121         bool "Altera Cyclone 1C12 Evaluation board support"
122         depends on NIOS2
123         help
124           Support for the Altera Cyclone 1C12 Evaluation board (with the
125           embedded processor module).
127 config ALTERA_DE2
128         bool "Altera DE2 Development board support"
129         depends on NIOS2
130         help
131           Support for the Altera Cyclone Development board. Includes
132           support for 10/100 ethernet, FLASH, SDRAM, VGA, I2C.
134 endchoice
136 choice
137         prompt "Nios II Hardware Multiply Support"
138         default NIOS2_HW_MULX
139         help
140           This option enables various assembler instructions based on your
141           selection.  The choice depends on what target hardware you'll be
142           running your applications on.  The default is 
143           "Enable mulx instruction".
144           
145           Here is an explanation of each option:
146           None = -mno-hw-mul -mno-hw-mulx
147            (no mul or mulx instructions used)
148           Enable mul instruction = -mhw-mul -mno-hw-mulx 
149            (use mul instructions)
150           Enable mul and mulx instructions = -mhw-mul -mhw-mulx
151            (use mul and mulx instructions)
152           
153           If you don't know what to choose, select "Enable mulx instruction".
154         
155 config NIOS2_HW_MUL_OFF
156         bool "None"
158 config NIOS2_HW_MUL
159         bool "Enable mul instruction"
161 config NIOS2_HW_MULX
162         bool "Enable mul and mulx instructions"
163         
164 endchoice
166 comment 'Platform drivers Options'
168 config AVALON_DMA
169         bool "Support of DMA controller with Avalon interface"
170         default y
171         help
172           This enables support of Altera's DMA controller with Avalon
173           interface, so that drivers of DMA-able device can use this 
174           interface.
175         
176 config PIO_DEVICES
177         bool "Enable leds, seven segment display"
178         default y
179         depends on (ALTERA_STRATIX || ALTERA_STRATIX_PRO || ALTERA_CYCLONE)
180         help
181           This enables example code to support leds, and seven segment
182           display as PIO devices. Once enabled, the kernel will show a
183           counter (increas once a second) on these devices.
185 source "arch/nios2nommu/drivers/Kconfig"
187 comment 'Miscellaneous Options'
189 config EXCALIBUR
190         bool
191         default y
192         depends on (NIOS2)
194 config BREAK_ON_START
195         bool "Include breakpoint trap on kernel startup"
196         help
197           Configures the kernel to trap to the GDB client on startup
198           before the kernel starts initialization. This allows you to
199           debug the kernel startup.
201 config LARGE_ALLOCS
202         bool "Allow allocating large blocks (> 1MB) of memory"
203         help
204           Allow the slab memory allocator to keep chains for very large
205           memory sizes - upto 32MB. You may need this if your system has
206           a lot of RAM, and you need to able to allocate very large
207           contiguous chunks. If unsure, say N.
209 choice
210         prompt "Kernel executes from"
211         ---help---
212           Choose the memory type that the kernel will be running in.
214 config RAMKERNEL
215         bool "RAM"
216         help
217           The kernel will be resident in RAM when running.
219 #config ROMKERNEL
220 #       bool "ROM"
221 #       help
222 #         The kernel will be resident in FLASH/ROM when running.
224 #config HIMEMKERNEL
225 #       bool "HIMEM"
226 #       help
227 #         The kernel will be resident in high memory when running.
229 endchoice
231 config PREEMPT
232         bool "Preemptible Kernel"
233         help
234           This option reduces the latency of the kernel when reacting to
235           real-time or interactive events by allowing a low priority process to
236           be preempted even if it is in kernel mode executing a system call.
237           This allows applications to run more reliably even when the system is
238           under load.
240           Say Y here if you are building a kernel for a desktop, embedded
241           or real-time system.  Say N if you are unsure.
243 config PREEMPT_TIMES
244         bool "Collect preemption latency times"
245         depends on PREEMPT
246         help
247           Allow collection for preemption latency times.
249 config CMDLINE
250         string "Default kernel command string"
251         default "CONSOLE=/dev/ttyS0 root=/dev/rom0 ro"
252         help
253           On some architectures, there is currently no way
254           for the boot loader to pass arguments to the kernel. For these
255           architectures, you should supply some command-line options at build
256           time by entering them here. As a minimum, you should specify the
257           memory size and the root device (e.g., mem=64M root=/dev/nfs).
259 config PASS_CMDLINE
260         bool "Passed kernel command line from u-boot"
261         default n
262         help
263           Use bootargs env variable from u-boot for kernel command line.
264           will override "Default kernel command string".
265           Say N if you are unsure.
267 source "mm/Kconfig"
269 config BOOT_LINK_OFFSET
270         hex "Link address offset for booting"
271         default "0x00800000"
272         help
273           This option allows you to set the link address offset of the zImage.
274           This can be useful if you are on a board which has a small amount of
275           memory.
277 endmenu
279 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
281 config PCI
282         bool "PCI support"
283         help
284           Support for PCI bus.
286 source "drivers/pci/Kconfig"
288 config HOTPLUG
289         bool "Support for hot-pluggable device"
290           ---help---
291           Say Y here if you want to plug devices into your computer while
292           the system is running, and be able to use them quickly.  In many
293           cases, the devices can likewise be unplugged at any time too.
295           One well known example of this is PCMCIA- or PC-cards, credit-card
296           size devices such as network cards, modems or hard drives which are
297           plugged into slots found on all modern laptop computers.  Another
298           example, used on modern desktops as well as laptops, is USB.
300           Enable HOTPLUG and KMOD, and build a modular kernel.  Get agent
301           software (at <http://linux-hotplug.sourceforge.net/>) and install it.
302           Then your kernel will automatically call out to a user mode "policy
303           agent" (/sbin/hotplug) to load modules and set up software needed
304           to use devices as you hotplug them.
306 source "drivers/pcmcia/Kconfig"
308 source "drivers/pci/hotplug/Kconfig"
310 endmenu
312 menu "Executable file formats"
314 config KCORE_AOUT
315         bool
316         default y
318 config KCORE_ELF
319         bool
320         default y
322 source "fs/Kconfig.binfmt"
324 endmenu
326 menu "Power management options"
328 config PM
329         bool "Power Management support"
330         help
331           Support processor power management modes
333 endmenu
336 source "net/Kconfig"
338 source "drivers/Kconfig"
340 source "fs/Kconfig"
342 menu "Kernel hacking"
344 config FULLDEBUG
345         bool "Full Symbolic/Source Debugging support"
346         help
347           Enable debuging symbols on kernel build.
349 config FRAME_POINTER
350         bool "Compile the kernel with frame pointers"
351         help
352           If you say Y here the resulting kernel image will be slightly larger
353           and slower, but it will give very useful debugging information.
354           If you don't debug the kernel, you can say N, but we may not be able
355           to solve problems without frame pointers.
357 config MAGIC_SYSRQ
358         bool "Magic SysRq key"
359         help
360           Enables console device to interpret special characters as
361           commands to dump state information.
363 config HIGHPROFILE
364         bool "Use fast second timer for profiling"
365         depends on COLDFIRE
366         help
367           Use a fast secondary clock to produce profiling information.
369 config NO_KERNEL_MSG
370         bool "Suppress Kernel BUG Messages"
371         help
372           Do not output any debug BUG messages within the kernel.
374 config LOG_BUF_SHIFT
375         int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
376         range 12 21
377         default 17 if ARCH_S390
378         default 16 if X86_NUMAQ || IA64
379         default 15 if SMP
380         default 14
381         help
382           Select kernel log buffer size as a power of 2.
383           Defaults and Examples:
384                      17 => 128 KB for S/390
385                      16 => 64 KB for x86 NUMAQ or IA-64
386                      15 => 32 KB for SMP
387                      14 => 16 KB for uniprocessor
388                      13 =>  8 KB
389                      12 =>  4 KB
391 endmenu
393 source "security/Kconfig"
395 source "crypto/Kconfig"
397 source "lib/Kconfig"