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