Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 1 | # For a description of the syntax of this configuration file, |
Dirk Hohndel | e403149 | 2007-10-30 13:37:19 -0700 | [diff] [blame] | 2 | # see Documentation/kbuild/kconfig-language.txt. |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 3 | |
| 4 | mainmenu "Linux/Xtensa Kernel Configuration" |
| 5 | |
| 6 | config FRAME_POINTER |
| 7 | bool |
| 8 | default n |
| 9 | |
Christoph Lameter | 66701b1 | 2007-02-10 01:43:09 -0800 | [diff] [blame] | 10 | config ZONE_DMA |
| 11 | bool |
| 12 | default y |
| 13 | |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 14 | config XTENSA |
| 15 | bool |
| 16 | default y |
Sam Ravnborg | ec7748b | 2008-02-09 10:46:40 +0100 | [diff] [blame] | 17 | select HAVE_IDE |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 18 | help |
| 19 | Xtensa processors are 32-bit RISC machines designed by Tensilica |
| 20 | primarily for embedded systems. These processors are both |
| 21 | configurable and extensible. The Linux port to the Xtensa |
| 22 | architecture supports all processor configurations and extensions, |
| 23 | with reasonable minimum requirements. The Xtensa Linux project has |
| 24 | a home page at <http://xtensa.sourceforge.net/>. |
| 25 | |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 26 | config RWSEM_XCHGADD_ALGORITHM |
| 27 | bool |
| 28 | default y |
| 29 | |
Akinobu Mita | d4337aa | 2006-03-26 01:39:43 -0800 | [diff] [blame] | 30 | config GENERIC_FIND_NEXT_BIT |
| 31 | bool |
| 32 | default y |
| 33 | |
| 34 | config GENERIC_HWEIGHT |
| 35 | bool |
| 36 | default y |
| 37 | |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 38 | config GENERIC_HARDIRQS |
| 39 | bool |
| 40 | default y |
| 41 | |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 42 | config ARCH_HAS_ILOG2_U32 |
| 43 | bool |
| 44 | default n |
| 45 | |
| 46 | config ARCH_HAS_ILOG2_U64 |
| 47 | bool |
| 48 | default n |
| 49 | |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 50 | config NO_IOPORT |
| 51 | def_bool y |
| 52 | |
H. Peter Anvin | bdc8078 | 2008-02-08 04:21:26 -0800 | [diff] [blame] | 53 | config HZ |
| 54 | int |
| 55 | default 100 |
| 56 | |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 57 | source "init/Kconfig" |
Matt Helsley | dc52ddc | 2008-10-18 20:27:21 -0700 | [diff] [blame] | 58 | source "kernel/Kconfig.freezer" |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 59 | |
| 60 | menu "Processor type and features" |
| 61 | |
| 62 | choice |
| 63 | prompt "Xtensa Processor Configuration" |
Chris Zankel | 173d668 | 2006-12-10 02:18:48 -0800 | [diff] [blame] | 64 | default XTENSA_VARIANT_FSF |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 65 | |
Chris Zankel | 173d668 | 2006-12-10 02:18:48 -0800 | [diff] [blame] | 66 | config XTENSA_VARIANT_FSF |
Chris Zankel | 0025427 | 2008-10-21 09:11:43 -0700 | [diff] [blame] | 67 | bool "fsf - default (not generic) configuration" |
| 68 | |
| 69 | config XTENSA_VARIANT_DC232B |
| 70 | bool "dc232b - Diamond 232L Standard Core Rev.B (LE)" |
| 71 | help |
| 72 | This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE). |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 73 | endchoice |
| 74 | |
| 75 | config MMU |
| 76 | bool |
| 77 | default y |
| 78 | |
| 79 | config XTENSA_UNALIGNED_USER |
| 80 | bool "Unaligned memory access in use space" |
| 81 | ---help--- |
| 82 | The Xtensa architecture currently does not handle unaligned |
| 83 | memory accesses in hardware but through an exception handler. |
| 84 | Per default, unaligned memory accesses are disabled in user space. |
| 85 | |
| 86 | Say Y here to enable unaligned memory access in user space. |
| 87 | |
| 88 | config PREEMPT |
| 89 | bool "Preemptible Kernel" |
| 90 | ---help--- |
| 91 | This option reduces the latency of the kernel when reacting to |
| 92 | real-time or interactive events by allowing a low priority process to |
| 93 | be preempted even if it is in kernel mode executing a system call. |
| 94 | Unfortunately the kernel code has some race conditions if both |
| 95 | CONFIG_SMP and CONFIG_PREEMPT are enabled, so this option is |
| 96 | currently disabled if you are building an SMP kernel. |
| 97 | |
| 98 | Say Y here if you are building a kernel for a desktop, embedded |
| 99 | or real-time system. Say N if you are unsure. |
| 100 | |
| 101 | config MATH_EMULATION |
| 102 | bool "Math emulation" |
| 103 | help |
| 104 | Can we use information of configuration file? |
| 105 | |
| 106 | config HIGHMEM |
| 107 | bool "High memory support" |
| 108 | |
| 109 | endmenu |
| 110 | |
| 111 | menu "Platform options" |
| 112 | |
| 113 | choice |
| 114 | prompt "Xtensa System Type" |
| 115 | default XTENSA_PLATFORM_ISS |
| 116 | |
| 117 | config XTENSA_PLATFORM_ISS |
| 118 | bool "ISS" |
| 119 | help |
| 120 | ISS is an acronym for Tensilica's Instruction Set Simulator. |
| 121 | |
| 122 | config XTENSA_PLATFORM_XT2000 |
| 123 | bool "XT2000" |
| 124 | help |
| 125 | XT2000 is the name of Tensilica's feature-rich emulation platform. |
| 126 | This hardware is capable of running a full Linux distribution. |
| 127 | |
| 128 | endchoice |
| 129 | |
| 130 | |
| 131 | config XTENSA_CALIBRATE_CCOUNT |
| 132 | bool "Auto calibration of the CPU clock rate" |
| 133 | ---help--- |
| 134 | On some platforms (XT2000, for example), the CPU clock rate can |
| 135 | vary. The frequency can be determined, however, by measuring |
| 136 | against a well known, fixed frequency, such as an UART oscillator. |
| 137 | |
| 138 | config XTENSA_CPU_CLOCK |
| 139 | int "CPU clock rate [MHz]" |
| 140 | depends on !XTENSA_CALIBRATE_CCOUNT |
| 141 | default "16" |
| 142 | |
| 143 | config GENERIC_CALIBRATE_DELAY |
| 144 | bool "Auto calibration of the BogoMIPS value" |
| 145 | ---help--- |
Chris Zankel | 82300bf | 2005-06-30 02:58:58 -0700 | [diff] [blame] | 146 | The BogoMIPS value can easily be derived from the CPU frequency. |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 147 | |
| 148 | config CMDLINE_BOOL |
| 149 | bool "Default bootloader kernel arguments" |
| 150 | |
| 151 | config CMDLINE |
| 152 | string "Initial kernel command string" |
| 153 | depends on CMDLINE_BOOL |
| 154 | default "console=ttyS0,38400 root=/dev/ram" |
| 155 | help |
| 156 | On some architectures (EBSA110 and CATS), there is currently no way |
| 157 | for the boot loader to pass arguments to the kernel. For these |
| 158 | architectures, you should supply some command-line options at build |
| 159 | time by entering them here. As a minimum, you should specify the |
| 160 | memory size and the root device (e.g., mem=64M root=/dev/nfs). |
| 161 | |
| 162 | config SERIAL_CONSOLE |
| 163 | bool |
| 164 | depends on XTENSA_PLATFORM_ISS |
| 165 | default y |
| 166 | |
| 167 | config XTENSA_ISS_NETWORK |
| 168 | bool |
| 169 | depends on XTENSA_PLATFORM_ISS |
| 170 | default y |
| 171 | |
Chris Zankel | 82300bf | 2005-06-30 02:58:58 -0700 | [diff] [blame] | 172 | source "mm/Kconfig" |
| 173 | |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 174 | endmenu |
| 175 | |
| 176 | menu "Bus options" |
| 177 | |
| 178 | config PCI |
| 179 | bool "PCI support" if !XTENSA_PLATFORM_ISS |
| 180 | depends on !XTENSA_PLATFORM_ISS |
| 181 | default y |
| 182 | help |
| 183 | Find out whether you have a PCI motherboard. PCI is the name of a |
| 184 | bus system, i.e. the way the CPU talks to the other stuff inside |
| 185 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or |
| 186 | VESA. If you have PCI, say Y, otherwise N. |
| 187 | |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 188 | source "drivers/pci/Kconfig" |
| 189 | |
| 190 | config HOTPLUG |
| 191 | |
| 192 | bool "Support for hot-pluggable devices" |
| 193 | ---help--- |
| 194 | Say Y here if you want to plug devices into your computer while |
| 195 | the system is running, and be able to use them quickly. In many |
| 196 | cases, the devices can likewise be unplugged at any time too. |
| 197 | |
| 198 | One well known example of this is PCMCIA- or PC-cards, credit-card |
| 199 | size devices such as network cards, modems or hard drives which are |
| 200 | plugged into slots found on all modern laptop computers. Another |
| 201 | example, used on modern desktops as well as laptops, is USB. |
| 202 | |
Johannes Berg | a81792f | 2008-07-08 19:00:25 +0200 | [diff] [blame] | 203 | Enable HOTPLUG and build a modular kernel. Get agent software |
| 204 | (from <http://linux-hotplug.sourceforge.net/>) and install it. |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 205 | Then your kernel will automatically call out to a user mode "policy |
| 206 | agent" (/sbin/hotplug) to load modules and set up software needed |
| 207 | to use devices as you hotplug them. |
| 208 | |
| 209 | source "drivers/pcmcia/Kconfig" |
| 210 | |
| 211 | source "drivers/pci/hotplug/Kconfig" |
| 212 | |
| 213 | endmenu |
| 214 | |
Matt LaPlante | cab0089 | 2006-10-03 22:36:44 +0200 | [diff] [blame] | 215 | menu "Executable file formats" |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 216 | |
| 217 | # only elf supported |
| 218 | config KCORE_ELF |
| 219 | bool |
| 220 | depends on PROC_FS |
| 221 | default y |
| 222 | help |
| 223 | If you enabled support for /proc file system then the file |
| 224 | /proc/kcore will contain the kernel core image in ELF format. This |
| 225 | can be used in gdb: |
| 226 | |
| 227 | $ cd /usr/src/linux ; gdb vmlinux /proc/kcore |
| 228 | |
| 229 | This is especially useful if you have compiled the kernel with the |
| 230 | "-g" option to preserve debugging information. It is mainly used |
| 231 | for examining kernel data structures on the live kernel. |
| 232 | |
| 233 | source "fs/Kconfig.binfmt" |
| 234 | |
| 235 | endmenu |
| 236 | |
Sam Ravnborg | d5950b4 | 2005-07-11 21:03:49 -0700 | [diff] [blame] | 237 | source "net/Kconfig" |
| 238 | |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 239 | source "drivers/Kconfig" |
| 240 | |
| 241 | source "fs/Kconfig" |
| 242 | |
| 243 | menu "Xtensa initrd options" |
| 244 | depends on BLK_DEV_INITRD |
| 245 | |
| 246 | config EMBEDDED_RAMDISK |
| 247 | bool "Embed root filesystem ramdisk into the kernel" |
| 248 | |
| 249 | config EMBEDDED_RAMDISK_IMAGE |
Matt LaPlante | cab0089 | 2006-10-03 22:36:44 +0200 | [diff] [blame] | 250 | string "Filename of gzipped ramdisk image" |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 251 | depends on EMBEDDED_RAMDISK |
| 252 | default "ramdisk.gz" |
| 253 | help |
| 254 | This is the filename of the ramdisk image to be built into the |
| 255 | kernel. Relative pathnames are relative to arch/xtensa/boot/ramdisk/. |
| 256 | The ramdisk image is not part of the kernel distribution; you must |
| 257 | provide one yourself. |
| 258 | endmenu |
| 259 | |
Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 260 | source "arch/xtensa/Kconfig.debug" |
| 261 | |
| 262 | source "security/Kconfig" |
| 263 | |
| 264 | source "crypto/Kconfig" |
| 265 | |
| 266 | source "lib/Kconfig" |
| 267 | |
| 268 | |