]>
Commit | Line | Data |
---|---|---|
5f97f7f9 HS |
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 | |
58bd2bfe | 9 | def_bool y |
5f97f7f9 HS |
10 | # With EMBEDDED=n, we get lots of stuff automatically selected |
11 | # that we usually don't need on AVR32. | |
12 | select EMBEDDED | |
9483a578 | 13 | select HAVE_CLK |
42d4b839 | 14 | select HAVE_OPROFILE |
3f550096 | 15 | select HAVE_KPROBES |
5f97f7f9 HS |
16 | help |
17 | AVR32 is a high-performance 32-bit RISC microprocessor core, | |
18 | designed for cost-sensitive embedded applications, with particular | |
19 | emphasis on low power consumption and high code density. | |
20 | ||
21 | There is an AVR32 Linux project with a web page at | |
22 | http://avr32linux.org/. | |
23 | ||
0a938b97 | 24 | config GENERIC_GPIO |
58bd2bfe | 25 | def_bool y |
0a938b97 | 26 | |
5f97f7f9 | 27 | config GENERIC_HARDIRQS |
58bd2bfe | 28 | def_bool y |
5f97f7f9 | 29 | |
2f026037 HS |
30 | config STACKTRACE_SUPPORT |
31 | def_bool y | |
32 | ||
320516b7 HS |
33 | config LOCKDEP_SUPPORT |
34 | def_bool y | |
35 | ||
36 | config TRACE_IRQFLAGS_SUPPORT | |
37 | def_bool y | |
38 | ||
5f97f7f9 | 39 | config HARDIRQS_SW_RESEND |
58bd2bfe | 40 | def_bool y |
5f97f7f9 HS |
41 | |
42 | config GENERIC_IRQ_PROBE | |
58bd2bfe | 43 | def_bool y |
5f97f7f9 HS |
44 | |
45 | config RWSEM_GENERIC_SPINLOCK | |
58bd2bfe | 46 | def_bool y |
5f97f7f9 | 47 | |
e723ff66 DB |
48 | config GENERIC_CLOCKEVENTS |
49 | def_bool y | |
50 | ||
5f97f7f9 | 51 | config RWSEM_XCHGADD_ALGORITHM |
58bd2bfe | 52 | def_bool n |
5f97f7f9 | 53 | |
f0d1b0b3 | 54 | config ARCH_HAS_ILOG2_U32 |
58bd2bfe | 55 | def_bool n |
f0d1b0b3 DH |
56 | |
57 | config ARCH_HAS_ILOG2_U64 | |
58bd2bfe | 58 | def_bool n |
f0d1b0b3 | 59 | |
5f97f7f9 | 60 | config GENERIC_HWEIGHT |
58bd2bfe | 61 | def_bool y |
5f97f7f9 HS |
62 | |
63 | config GENERIC_CALIBRATE_DELAY | |
58bd2bfe | 64 | def_bool y |
5f97f7f9 | 65 | |
623b0355 | 66 | config GENERIC_BUG |
58bd2bfe | 67 | def_bool y |
623b0355 HS |
68 | depends on BUG |
69 | ||
5f97f7f9 HS |
70 | source "init/Kconfig" |
71 | ||
dc52ddc0 MH |
72 | source "kernel/Kconfig.freezer" |
73 | ||
5f97f7f9 HS |
74 | menu "System Type and features" |
75 | ||
e723ff66 DB |
76 | source "kernel/time/Kconfig" |
77 | ||
5f97f7f9 HS |
78 | config SUBARCH_AVR32B |
79 | bool | |
80 | config MMU | |
81 | bool | |
82 | config PERFORMANCE_COUNTERS | |
83 | bool | |
84 | ||
85 | config PLATFORM_AT32AP | |
86 | bool | |
87 | select SUBARCH_AVR32B | |
88 | select MMU | |
89 | select PERFORMANCE_COUNTERS | |
7444a72e | 90 | select ARCH_REQUIRE_GPIOLIB |
b83d6ee1 | 91 | select GENERIC_ALLOCATOR |
0912e535 | 92 | select HAVE_FB_ATMEL |
ee621dd6 | 93 | select HAVE_NET_MACB |
5f97f7f9 | 94 | |
e8897bfe HS |
95 | # |
96 | # CPU types | |
97 | # | |
98 | ||
99 | # AP7000 derivatives | |
438ff3f3 HS |
100 | config CPU_AT32AP700X |
101 | bool | |
102 | select PLATFORM_AT32AP | |
5f97f7f9 | 103 | config CPU_AT32AP7000 |
e8897bfe | 104 | bool |
438ff3f3 | 105 | select CPU_AT32AP700X |
438ff3f3 | 106 | config CPU_AT32AP7001 |
e8897bfe | 107 | bool |
438ff3f3 | 108 | select CPU_AT32AP700X |
438ff3f3 | 109 | config CPU_AT32AP7002 |
78693e47 | 110 | bool |
e8897bfe | 111 | select CPU_AT32AP700X |
5f97f7f9 | 112 | |
3550b931 HCE |
113 | # AP700X boards |
114 | config BOARD_ATNGW100_COMMON | |
115 | bool | |
116 | select CPU_AT32AP7000 | |
117 | ||
5f97f7f9 HS |
118 | choice |
119 | prompt "AVR32 board type" | |
120 | default BOARD_ATSTK1000 | |
121 | ||
122 | config BOARD_ATSTK1000 | |
123 | bool "ATSTK1000 evaluation board" | |
9ca20a83 | 124 | |
3550b931 | 125 | config BOARD_ATNGW100_MKI |
9ca20a83 | 126 | bool "ATNGW100 Network Gateway" |
3550b931 HCE |
127 | select BOARD_ATNGW100_COMMON |
128 | ||
129 | config BOARD_ATNGW100_MKII | |
130 | bool "ATNGW100 mkII Network Gateway" | |
131 | select BOARD_ATNGW100_COMMON | |
45c349b5 | 132 | |
dd5e1339 AR |
133 | config BOARD_HAMMERHEAD |
134 | bool "Hammerhead board" | |
135 | select CPU_AT32AP7000 | |
136 | select USB_ARCH_HAS_HCD | |
137 | help | |
692105b8 | 138 | The Hammerhead platform is built around an AVR32 32-bit microcontroller from Atmel. |
dd5e1339 AR |
139 | It offers versatile peripherals, such as ethernet, usb device, usb host etc. |
140 | ||
692105b8 | 141 | The board also incorporates a power supply and is a Power over Ethernet (PoE) Powered |
dd5e1339 AR |
142 | Device (PD). |
143 | ||
692105b8 | 144 | Additionally, a Cyclone III FPGA from Altera is integrated on the board. The FPGA is |
dd5e1339 AR |
145 | mapped into the 32-bit AVR memory bus. The FPGA offers two DDR2 SDRAM interfaces, which |
146 | will cover even the most exceptional need of memory bandwidth. Together with the onboard | |
147 | video decoder the board is ready for video processing. | |
148 | ||
50a23e6e | 149 | For more information see: http://www.miromico.ch/index.php/hammerhead.html |
dd5e1339 | 150 | |
45c349b5 HCE |
151 | config BOARD_FAVR_32 |
152 | bool "Favr-32 LCD-board" | |
153 | select CPU_AT32AP7000 | |
5b50c166 | 154 | |
a16fffdd JL |
155 | config BOARD_MERISC |
156 | bool "Merisc board" | |
157 | select CPU_AT32AP7000 | |
158 | help | |
159 | Merisc is the family name for a range of AVR32-based boards. | |
160 | ||
161 | The boards are designed to be used in a man-machine | |
162 | interfacing environment, utilizing a touch-based graphical | |
163 | user interface. They host a vast range of I/O peripherals as | |
164 | well as a large SDRAM & Flash memory bank. | |
165 | ||
166 | For more information see: http://www.martinsson.se/merisc | |
167 | ||
5b50c166 MJ |
168 | config BOARD_MIMC200 |
169 | bool "MIMC200 CPU board" | |
170 | select CPU_AT32AP7000 | |
5f97f7f9 HS |
171 | endchoice |
172 | ||
a8e93ed8 | 173 | source "arch/avr32/boards/atstk1000/Kconfig" |
a3bee42f | 174 | source "arch/avr32/boards/atngw100/Kconfig" |
dd5e1339 | 175 | source "arch/avr32/boards/hammerhead/Kconfig" |
45c349b5 | 176 | source "arch/avr32/boards/favr-32/Kconfig" |
a16fffdd | 177 | source "arch/avr32/boards/merisc/Kconfig" |
a8e93ed8 | 178 | |
5f97f7f9 HS |
179 | choice |
180 | prompt "Boot loader type" | |
181 | default LOADER_U_BOOT | |
182 | ||
183 | config LOADER_U_BOOT | |
184 | bool "U-Boot (or similar) bootloader" | |
185 | endchoice | |
186 | ||
228e845f HS |
187 | source "arch/avr32/mach-at32ap/Kconfig" |
188 | ||
5f97f7f9 HS |
189 | config LOAD_ADDRESS |
190 | hex | |
438ff3f3 | 191 | default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y |
5f97f7f9 HS |
192 | |
193 | config ENTRY_ADDRESS | |
194 | hex | |
438ff3f3 | 195 | default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y |
5f97f7f9 HS |
196 | |
197 | config PHYS_OFFSET | |
198 | hex | |
438ff3f3 | 199 | default 0x10000000 if CPU_AT32AP700X=y |
5f97f7f9 HS |
200 | |
201 | source "kernel/Kconfig.preempt" | |
202 | ||
5a4d5292 HS |
203 | config QUICKLIST |
204 | def_bool y | |
205 | ||
c1329375 | 206 | config HAVE_ARCH_BOOTMEM |
58bd2bfe | 207 | def_bool n |
5f97f7f9 HS |
208 | |
209 | config ARCH_HAVE_MEMORY_PRESENT | |
58bd2bfe | 210 | def_bool n |
5f97f7f9 HS |
211 | |
212 | config NEED_NODE_MEMMAP_SIZE | |
58bd2bfe | 213 | def_bool n |
5f97f7f9 HS |
214 | |
215 | config ARCH_FLATMEM_ENABLE | |
58bd2bfe | 216 | def_bool y |
5f97f7f9 HS |
217 | |
218 | config ARCH_DISCONTIGMEM_ENABLE | |
58bd2bfe | 219 | def_bool n |
5f97f7f9 HS |
220 | |
221 | config ARCH_SPARSEMEM_ENABLE | |
58bd2bfe | 222 | def_bool n |
5f97f7f9 HS |
223 | |
224 | source "mm/Kconfig" | |
225 | ||
226 | config OWNERSHIP_TRACE | |
227 | bool "Ownership trace support" | |
228 | default y | |
229 | help | |
230 | Say Y to generate an Ownership Trace message on every context switch, | |
231 | enabling Nexus-compliant debuggers to keep track of the PID of the | |
232 | currently executing task. | |
233 | ||
e7ba176b HS |
234 | config NMI_DEBUGGING |
235 | bool "NMI Debugging" | |
236 | default n | |
237 | help | |
238 | Say Y here and pass the nmi_debug command-line parameter to | |
239 | the kernel to turn on NMI debugging. Depending on the value | |
240 | of the nmi_debug option, various pieces of information will | |
241 | be dumped to the console when a Non-Maskable Interrupt | |
242 | happens. | |
243 | ||
5f97f7f9 HS |
244 | # FPU emulation goes here |
245 | ||
246 | source "kernel/Kconfig.hz" | |
247 | ||
248 | config CMDLINE | |
249 | string "Default kernel command line" | |
250 | default "" | |
251 | help | |
252 | If you don't have a boot loader capable of passing a command line string | |
253 | to the kernel, you may specify one here. As a minimum, you should specify | |
254 | the memory size and the root device (e.g., mem=8M, root=/dev/nfs). | |
255 | ||
256 | endmenu | |
257 | ||
01dd2fbf | 258 | menu "Power management options" |
9e58e185 | 259 | |
02a00cf6 HS |
260 | source "kernel/power/Kconfig" |
261 | ||
262 | config ARCH_SUSPEND_POSSIBLE | |
263 | def_bool y | |
264 | ||
9e58e185 HCE |
265 | menu "CPU Frequency scaling" |
266 | ||
267 | source "drivers/cpufreq/Kconfig" | |
268 | ||
269 | config CPU_FREQ_AT32AP | |
270 | bool "CPU frequency driver for AT32AP" | |
271 | depends on CPU_FREQ && PLATFORM_AT32AP | |
272 | default n | |
273 | help | |
274 | This enables the CPU frequency driver for AT32AP processors. | |
275 | ||
276 | For details, take a look in <file:Documentation/cpu-freq>. | |
277 | ||
278 | If in doubt, say N. | |
279 | ||
280 | endmenu | |
281 | ||
282 | endmenu | |
283 | ||
5f97f7f9 HS |
284 | menu "Bus options" |
285 | ||
286 | config PCI | |
287 | bool | |
288 | ||
289 | source "drivers/pci/Kconfig" | |
290 | ||
291 | source "drivers/pcmcia/Kconfig" | |
292 | ||
293 | endmenu | |
294 | ||
295 | menu "Executable file formats" | |
296 | source "fs/Kconfig.binfmt" | |
297 | endmenu | |
298 | ||
299 | source "net/Kconfig" | |
300 | ||
301 | source "drivers/Kconfig" | |
302 | ||
303 | source "fs/Kconfig" | |
304 | ||
305 | source "arch/avr32/Kconfig.debug" | |
306 | ||
307 | source "security/Kconfig" | |
308 | ||
309 | source "crypto/Kconfig" | |
310 | ||
311 | source "lib/Kconfig" |