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 | |
ec7748b5 | 13 | select HAVE_IDE |
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 HS |
47 | |
48 | config GENERIC_TIME | |
58bd2bfe | 49 | def_bool y |
5f97f7f9 HS |
50 | |
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 | ||
72 | menu "System Type and features" | |
73 | ||
74 | config SUBARCH_AVR32B | |
75 | bool | |
76 | config MMU | |
77 | bool | |
78 | config PERFORMANCE_COUNTERS | |
79 | bool | |
80 | ||
81 | config PLATFORM_AT32AP | |
82 | bool | |
83 | select SUBARCH_AVR32B | |
84 | select MMU | |
85 | select PERFORMANCE_COUNTERS | |
b98348bd | 86 | select HAVE_GPIO_LIB |
5f97f7f9 | 87 | |
e8897bfe HS |
88 | # |
89 | # CPU types | |
90 | # | |
91 | ||
92 | # AP7000 derivatives | |
438ff3f3 HS |
93 | config CPU_AT32AP700X |
94 | bool | |
95 | select PLATFORM_AT32AP | |
5f97f7f9 | 96 | config CPU_AT32AP7000 |
e8897bfe | 97 | bool |
438ff3f3 | 98 | select CPU_AT32AP700X |
438ff3f3 | 99 | config CPU_AT32AP7001 |
e8897bfe | 100 | bool |
438ff3f3 | 101 | select CPU_AT32AP700X |
438ff3f3 | 102 | config CPU_AT32AP7002 |
78693e47 | 103 | bool |
e8897bfe | 104 | select CPU_AT32AP700X |
5f97f7f9 HS |
105 | |
106 | choice | |
107 | prompt "AVR32 board type" | |
108 | default BOARD_ATSTK1000 | |
109 | ||
110 | config BOARD_ATSTK1000 | |
111 | bool "ATSTK1000 evaluation board" | |
9ca20a83 HS |
112 | |
113 | config BOARD_ATNGW100 | |
114 | bool "ATNGW100 Network Gateway" | |
e8897bfe | 115 | select CPU_AT32AP7000 |
5f97f7f9 HS |
116 | endchoice |
117 | ||
a8e93ed8 DB |
118 | if BOARD_ATSTK1000 |
119 | source "arch/avr32/boards/atstk1000/Kconfig" | |
120 | endif | |
121 | ||
5f97f7f9 HS |
122 | choice |
123 | prompt "Boot loader type" | |
124 | default LOADER_U_BOOT | |
125 | ||
126 | config LOADER_U_BOOT | |
127 | bool "U-Boot (or similar) bootloader" | |
128 | endchoice | |
129 | ||
228e845f HS |
130 | source "arch/avr32/mach-at32ap/Kconfig" |
131 | ||
5f97f7f9 HS |
132 | config LOAD_ADDRESS |
133 | hex | |
438ff3f3 | 134 | default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y |
5f97f7f9 HS |
135 | |
136 | config ENTRY_ADDRESS | |
137 | hex | |
438ff3f3 | 138 | default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y |
5f97f7f9 HS |
139 | |
140 | config PHYS_OFFSET | |
141 | hex | |
438ff3f3 | 142 | default 0x10000000 if CPU_AT32AP700X=y |
5f97f7f9 HS |
143 | |
144 | source "kernel/Kconfig.preempt" | |
145 | ||
146 | config HAVE_ARCH_BOOTMEM_NODE | |
58bd2bfe | 147 | def_bool n |
5f97f7f9 HS |
148 | |
149 | config ARCH_HAVE_MEMORY_PRESENT | |
58bd2bfe | 150 | def_bool n |
5f97f7f9 HS |
151 | |
152 | config NEED_NODE_MEMMAP_SIZE | |
58bd2bfe | 153 | def_bool n |
5f97f7f9 HS |
154 | |
155 | config ARCH_FLATMEM_ENABLE | |
58bd2bfe | 156 | def_bool y |
5f97f7f9 HS |
157 | |
158 | config ARCH_DISCONTIGMEM_ENABLE | |
58bd2bfe | 159 | def_bool n |
5f97f7f9 HS |
160 | |
161 | config ARCH_SPARSEMEM_ENABLE | |
58bd2bfe | 162 | def_bool n |
5f97f7f9 HS |
163 | |
164 | source "mm/Kconfig" | |
165 | ||
166 | config OWNERSHIP_TRACE | |
167 | bool "Ownership trace support" | |
168 | default y | |
169 | help | |
170 | Say Y to generate an Ownership Trace message on every context switch, | |
171 | enabling Nexus-compliant debuggers to keep track of the PID of the | |
172 | currently executing task. | |
173 | ||
e7ba176b HS |
174 | config NMI_DEBUGGING |
175 | bool "NMI Debugging" | |
176 | default n | |
177 | help | |
178 | Say Y here and pass the nmi_debug command-line parameter to | |
179 | the kernel to turn on NMI debugging. Depending on the value | |
180 | of the nmi_debug option, various pieces of information will | |
181 | be dumped to the console when a Non-Maskable Interrupt | |
182 | happens. | |
183 | ||
5f97f7f9 HS |
184 | # FPU emulation goes here |
185 | ||
186 | source "kernel/Kconfig.hz" | |
187 | ||
188 | config CMDLINE | |
189 | string "Default kernel command line" | |
190 | default "" | |
191 | help | |
192 | If you don't have a boot loader capable of passing a command line string | |
193 | to the kernel, you may specify one here. As a minimum, you should specify | |
194 | the memory size and the root device (e.g., mem=8M, root=/dev/nfs). | |
195 | ||
196 | endmenu | |
197 | ||
01dd2fbf | 198 | menu "Power management options" |
9e58e185 HCE |
199 | |
200 | menu "CPU Frequency scaling" | |
201 | ||
202 | source "drivers/cpufreq/Kconfig" | |
203 | ||
204 | config CPU_FREQ_AT32AP | |
205 | bool "CPU frequency driver for AT32AP" | |
206 | depends on CPU_FREQ && PLATFORM_AT32AP | |
207 | default n | |
208 | help | |
209 | This enables the CPU frequency driver for AT32AP processors. | |
210 | ||
211 | For details, take a look in <file:Documentation/cpu-freq>. | |
212 | ||
213 | If in doubt, say N. | |
214 | ||
215 | endmenu | |
216 | ||
217 | endmenu | |
218 | ||
5f97f7f9 HS |
219 | menu "Bus options" |
220 | ||
221 | config PCI | |
222 | bool | |
223 | ||
224 | source "drivers/pci/Kconfig" | |
225 | ||
226 | source "drivers/pcmcia/Kconfig" | |
227 | ||
228 | endmenu | |
229 | ||
230 | menu "Executable file formats" | |
231 | source "fs/Kconfig.binfmt" | |
232 | endmenu | |
233 | ||
234 | source "net/Kconfig" | |
235 | ||
236 | source "drivers/Kconfig" | |
237 | ||
238 | source "fs/Kconfig" | |
239 | ||
240 | source "arch/avr32/Kconfig.debug" | |
241 | ||
242 | source "security/Kconfig" | |
243 | ||
244 | source "crypto/Kconfig" | |
245 | ||
246 | source "lib/Kconfig" |