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'
19 config RWSEM_GENERIC_SPINLOCK
23 config RWSEM_XCHGADD_ALGORITHM
27 config GENERIC_FIND_NEXT_BIT
31 config GENERIC_HWEIGHT
35 config GENERIC_CALIBRATE_DELAY
41 menu "Processor type and features"
43 comment 'Platform dependant setup'
52 Altera Nios2 softcore processor.
58 default ALTERA_STRATIX
60 config MICROTRONIX_UKIT
61 bool "Microtronix uKit board support"
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"
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"
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"
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
93 bool "Altera Stratix Development board support"
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"
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"
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"
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"
124 Support for the Altera Cyclone 1C12 Evaluation board (with the
125 embedded processor module).
128 bool "Altera DE2 Development board support"
131 Support for the Altera Cyclone Development board. Includes
132 support for 10/100 ethernet, FLASH, SDRAM, VGA, I2C.
137 prompt "Nios II Hardware Multiply Support"
138 default NIOS2_HW_MULX
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".
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)
153 If you don't know what to choose, select "Enable mulx instruction".
155 config NIOS2_HW_MUL_OFF
159 bool "Enable mul instruction"
162 bool "Enable mul and mulx instructions"
166 comment 'Platform drivers Options'
169 bool "Support of DMA controller with Avalon interface"
172 This enables support of Altera's DMA controller with Avalon
173 interface, so that drivers of DMA-able device can use this
177 bool "Enable leds, seven segment display"
179 depends on (ALTERA_STRATIX || ALTERA_STRATIX_PRO || ALTERA_CYCLONE)
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'
194 config BREAK_ON_START
195 bool "Include breakpoint trap on kernel startup"
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.
202 bool "Allow allocating large blocks (> 1MB) of memory"
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.
210 prompt "Kernel executes from"
212 Choose the memory type that the kernel will be running in.
217 The kernel will be resident in RAM when running.
222 # The kernel will be resident in FLASH/ROM when running.
227 # The kernel will be resident in high memory when running.
232 bool "Preemptible Kernel"
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
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.
244 bool "Collect preemption latency times"
247 Allow collection for preemption latency times.
250 string "Default kernel command string"
251 default "CONSOLE=/dev/ttyS0 root=/dev/rom0 ro"
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).
260 bool "Passed kernel command line from u-boot"
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.
269 config BOOT_LINK_OFFSET
270 hex "Link address offset for booting"
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
279 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
286 source "drivers/pci/Kconfig"
289 bool "Support for hot-pluggable device"
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"
312 menu "Executable file formats"
322 source "fs/Kconfig.binfmt"
326 menu "Power management options"
329 bool "Power Management support"
331 Support processor power management modes
338 source "drivers/Kconfig"
342 menu "Kernel hacking"
345 bool "Full Symbolic/Source Debugging support"
347 Enable debuging symbols on kernel build.
350 bool "Compile the kernel with frame pointers"
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.
358 bool "Magic SysRq key"
360 Enables console device to interpret special characters as
361 commands to dump state information.
364 bool "Use fast second timer for profiling"
367 Use a fast secondary clock to produce profiling information.
370 bool "Suppress Kernel BUG Messages"
372 Do not output any debug BUG messages within the kernel.
375 int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
377 default 17 if ARCH_S390
378 default 16 if X86_NUMAQ || IA64
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
387 14 => 16 KB for uniprocessor
393 source "security/Kconfig"
395 source "crypto/Kconfig"