Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see Documentation/kbuild/kconfig-language.txt. |
| 4 | # |
| 5 | |
| 6 | mainmenu "Linux Kernel Configuration" |
| 7 | |
| 8 | config AVR32 |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 9 | def_bool y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 10 | # With EMBEDDED=n, we get lots of stuff automatically selected |
| 11 | # that we usually don't need on AVR32. |
| 12 | select EMBEDDED |
Mathieu Desnoyers | 42d4b83 | 2008-02-02 15:10:34 -0500 | [diff] [blame] | 13 | select HAVE_OPROFILE |
Mathieu Desnoyers | 3f55009 | 2008-02-02 15:10:35 -0500 | [diff] [blame] | 14 | select HAVE_KPROBES |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 15 | help |
| 16 | AVR32 is a high-performance 32-bit RISC microprocessor core, |
| 17 | designed for cost-sensitive embedded applications, with particular |
| 18 | emphasis on low power consumption and high code density. |
| 19 | |
| 20 | There is an AVR32 Linux project with a web page at |
| 21 | http://avr32linux.org/. |
| 22 | |
David Brownell | 0a938b9 | 2007-03-05 00:30:18 -0800 | [diff] [blame] | 23 | config GENERIC_GPIO |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 24 | def_bool y |
David Brownell | 0a938b9 | 2007-03-05 00:30:18 -0800 | [diff] [blame] | 25 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 26 | config GENERIC_HARDIRQS |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 27 | def_bool y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 28 | |
Haavard Skinnemoen | 2f02603 | 2007-11-23 20:01:59 +0100 | [diff] [blame] | 29 | config STACKTRACE_SUPPORT |
| 30 | def_bool y |
| 31 | |
Haavard Skinnemoen | 320516b | 2007-11-26 14:34:57 +0100 | [diff] [blame] | 32 | config LOCKDEP_SUPPORT |
| 33 | def_bool y |
| 34 | |
| 35 | config TRACE_IRQFLAGS_SUPPORT |
| 36 | def_bool y |
| 37 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 38 | config HARDIRQS_SW_RESEND |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 39 | def_bool y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 40 | |
| 41 | config GENERIC_IRQ_PROBE |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 42 | def_bool y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 43 | |
| 44 | config RWSEM_GENERIC_SPINLOCK |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 45 | def_bool y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 46 | |
| 47 | config GENERIC_TIME |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 48 | def_bool y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 49 | |
| 50 | config RWSEM_XCHGADD_ALGORITHM |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 51 | def_bool n |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 52 | |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 53 | config ARCH_HAS_ILOG2_U32 |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 54 | def_bool n |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 55 | |
| 56 | config ARCH_HAS_ILOG2_U64 |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 57 | def_bool n |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 58 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 59 | config GENERIC_HWEIGHT |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 60 | def_bool y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 61 | |
| 62 | config GENERIC_CALIBRATE_DELAY |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 63 | def_bool y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 64 | |
Haavard Skinnemoen | 623b035 | 2007-03-13 17:59:11 +0100 | [diff] [blame] | 65 | config GENERIC_BUG |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 66 | def_bool y |
Haavard Skinnemoen | 623b035 | 2007-03-13 17:59:11 +0100 | [diff] [blame] | 67 | depends on BUG |
| 68 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 69 | source "init/Kconfig" |
| 70 | |
| 71 | menu "System Type and features" |
| 72 | |
| 73 | config SUBARCH_AVR32B |
| 74 | bool |
| 75 | config MMU |
| 76 | bool |
| 77 | config PERFORMANCE_COUNTERS |
| 78 | bool |
| 79 | |
| 80 | config PLATFORM_AT32AP |
| 81 | bool |
| 82 | select SUBARCH_AVR32B |
| 83 | select MMU |
| 84 | select PERFORMANCE_COUNTERS |
| 85 | |
Haavard Skinnemoen | e8897bf | 2007-11-29 11:15:15 +0100 | [diff] [blame] | 86 | # |
| 87 | # CPU types |
| 88 | # |
| 89 | |
| 90 | # AP7000 derivatives |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 91 | config CPU_AT32AP700X |
| 92 | bool |
| 93 | select PLATFORM_AT32AP |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 94 | config CPU_AT32AP7000 |
Haavard Skinnemoen | e8897bf | 2007-11-29 11:15:15 +0100 | [diff] [blame] | 95 | bool |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 96 | select CPU_AT32AP700X |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 97 | config CPU_AT32AP7001 |
Haavard Skinnemoen | e8897bf | 2007-11-29 11:15:15 +0100 | [diff] [blame] | 98 | bool |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 99 | select CPU_AT32AP700X |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 100 | config CPU_AT32AP7002 |
Haavard Skinnemoen | e8897bf | 2007-11-29 11:15:15 +0100 | [diff] [blame] | 101 | bool |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 102 | select CPU_AT32AP700X |
| 103 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 104 | choice |
| 105 | prompt "AVR32 board type" |
| 106 | default BOARD_ATSTK1000 |
| 107 | |
| 108 | config BOARD_ATSTK1000 |
| 109 | bool "ATSTK1000 evaluation board" |
Haavard Skinnemoen | 9ca20a8 | 2007-04-12 17:26:57 +0200 | [diff] [blame] | 110 | |
| 111 | config BOARD_ATNGW100 |
| 112 | bool "ATNGW100 Network Gateway" |
Haavard Skinnemoen | e8897bf | 2007-11-29 11:15:15 +0100 | [diff] [blame] | 113 | select CPU_AT32AP7000 |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 114 | endchoice |
| 115 | |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 116 | if BOARD_ATSTK1000 |
| 117 | source "arch/avr32/boards/atstk1000/Kconfig" |
| 118 | endif |
| 119 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 120 | choice |
| 121 | prompt "Boot loader type" |
| 122 | default LOADER_U_BOOT |
| 123 | |
| 124 | config LOADER_U_BOOT |
| 125 | bool "U-Boot (or similar) bootloader" |
| 126 | endchoice |
| 127 | |
Haavard Skinnemoen | 228e845 | 2007-03-07 15:24:34 +0100 | [diff] [blame] | 128 | source "arch/avr32/mach-at32ap/Kconfig" |
| 129 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 130 | config LOAD_ADDRESS |
| 131 | hex |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 132 | default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 133 | |
| 134 | config ENTRY_ADDRESS |
| 135 | hex |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 136 | default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 137 | |
| 138 | config PHYS_OFFSET |
| 139 | hex |
Haavard Skinnemoen | 438ff3f | 2007-10-29 15:28:07 +0100 | [diff] [blame] | 140 | default 0x10000000 if CPU_AT32AP700X=y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 141 | |
| 142 | source "kernel/Kconfig.preempt" |
| 143 | |
| 144 | config HAVE_ARCH_BOOTMEM_NODE |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 145 | def_bool n |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 146 | |
| 147 | config ARCH_HAVE_MEMORY_PRESENT |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 148 | def_bool n |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 149 | |
| 150 | config NEED_NODE_MEMMAP_SIZE |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 151 | def_bool n |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 152 | |
| 153 | config ARCH_FLATMEM_ENABLE |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 154 | def_bool y |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 155 | |
| 156 | config ARCH_DISCONTIGMEM_ENABLE |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 157 | def_bool n |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 158 | |
| 159 | config ARCH_SPARSEMEM_ENABLE |
Haavard Skinnemoen | 58bd2bf | 2007-11-23 19:25:00 +0100 | [diff] [blame] | 160 | def_bool n |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 161 | |
| 162 | source "mm/Kconfig" |
| 163 | |
| 164 | config OWNERSHIP_TRACE |
| 165 | bool "Ownership trace support" |
| 166 | default y |
| 167 | help |
| 168 | Say Y to generate an Ownership Trace message on every context switch, |
| 169 | enabling Nexus-compliant debuggers to keep track of the PID of the |
| 170 | currently executing task. |
| 171 | |
Haavard Skinnemoen | e7ba176 | 2007-10-10 14:58:29 +0200 | [diff] [blame] | 172 | config NMI_DEBUGGING |
| 173 | bool "NMI Debugging" |
| 174 | default n |
| 175 | help |
| 176 | Say Y here and pass the nmi_debug command-line parameter to |
| 177 | the kernel to turn on NMI debugging. Depending on the value |
| 178 | of the nmi_debug option, various pieces of information will |
| 179 | be dumped to the console when a Non-Maskable Interrupt |
| 180 | happens. |
| 181 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 182 | # FPU emulation goes here |
| 183 | |
| 184 | source "kernel/Kconfig.hz" |
| 185 | |
| 186 | config CMDLINE |
| 187 | string "Default kernel command line" |
| 188 | default "" |
| 189 | help |
| 190 | If you don't have a boot loader capable of passing a command line string |
| 191 | to the kernel, you may specify one here. As a minimum, you should specify |
| 192 | the memory size and the root device (e.g., mem=8M, root=/dev/nfs). |
| 193 | |
| 194 | endmenu |
| 195 | |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 196 | menu "Power management options" |
Hans-Christian Egtvedt | 9e58e18 | 2007-06-04 16:10:57 +0200 | [diff] [blame] | 197 | |
| 198 | menu "CPU Frequency scaling" |
| 199 | |
| 200 | source "drivers/cpufreq/Kconfig" |
| 201 | |
| 202 | config CPU_FREQ_AT32AP |
| 203 | bool "CPU frequency driver for AT32AP" |
| 204 | depends on CPU_FREQ && PLATFORM_AT32AP |
| 205 | default n |
| 206 | help |
| 207 | This enables the CPU frequency driver for AT32AP processors. |
| 208 | |
| 209 | For details, take a look in <file:Documentation/cpu-freq>. |
| 210 | |
| 211 | If in doubt, say N. |
| 212 | |
| 213 | endmenu |
| 214 | |
| 215 | endmenu |
| 216 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 217 | menu "Bus options" |
| 218 | |
| 219 | config PCI |
| 220 | bool |
| 221 | |
| 222 | source "drivers/pci/Kconfig" |
| 223 | |
| 224 | source "drivers/pcmcia/Kconfig" |
| 225 | |
| 226 | endmenu |
| 227 | |
| 228 | menu "Executable file formats" |
| 229 | source "fs/Kconfig.binfmt" |
| 230 | endmenu |
| 231 | |
| 232 | source "net/Kconfig" |
| 233 | |
| 234 | source "drivers/Kconfig" |
| 235 | |
| 236 | source "fs/Kconfig" |
| 237 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 238 | source "arch/avr32/Kconfig.debug" |
| 239 | |
| 240 | source "security/Kconfig" |
| 241 | |
| 242 | source "crypto/Kconfig" |
| 243 | |
| 244 | source "lib/Kconfig" |