Merge branch 'master' into upstream.
[pandora-kernel.git] / arch / avr32 / Kconfig
1 config AVR32
2         def_bool y
3         # With EXPERT=n, we get lots of stuff automatically selected
4         # that we usually don't need on AVR32.
5         select EXPERT
6         select HAVE_CLK
7         select HAVE_OPROFILE
8         select HAVE_KPROBES
9         select HAVE_GENERIC_HARDIRQS
10         select GENERIC_IRQ_PROBE
11         select HARDIRQS_SW_RESEND
12         select GENERIC_IRQ_SHOW
13         help
14           AVR32 is a high-performance 32-bit RISC microprocessor core,
15           designed for cost-sensitive embedded applications, with particular
16           emphasis on low power consumption and high code density.
17
18           There is an AVR32 Linux project with a web page at
19           http://avr32linux.org/.
20
21 config GENERIC_GPIO
22         def_bool y
23
24 config STACKTRACE_SUPPORT
25         def_bool y
26
27 config LOCKDEP_SUPPORT
28         def_bool y
29
30 config TRACE_IRQFLAGS_SUPPORT
31         def_bool y
32
33 config RWSEM_GENERIC_SPINLOCK
34         def_bool y
35
36 config GENERIC_CLOCKEVENTS
37         def_bool y
38
39 config RWSEM_XCHGADD_ALGORITHM
40         def_bool n
41
42 config ARCH_HAS_ILOG2_U32
43         def_bool n
44
45 config ARCH_HAS_ILOG2_U64
46         def_bool n
47
48 config GENERIC_HWEIGHT
49         def_bool y
50
51 config GENERIC_CALIBRATE_DELAY
52         def_bool y
53
54 config GENERIC_BUG
55         def_bool y
56         depends on BUG
57
58 source "init/Kconfig"
59
60 source "kernel/Kconfig.freezer"
61
62 menu "System Type and features"
63
64 source "kernel/time/Kconfig"
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
78         select ARCH_REQUIRE_GPIOLIB
79         select GENERIC_ALLOCATOR
80         select HAVE_FB_ATMEL
81         select HAVE_NET_MACB
82
83 #
84 # CPU types
85 #
86
87 # AP7000 derivatives
88 config CPU_AT32AP700X
89         bool
90         select PLATFORM_AT32AP
91 config CPU_AT32AP7000
92         bool
93         select CPU_AT32AP700X
94 config CPU_AT32AP7001
95         bool
96         select CPU_AT32AP700X
97 config CPU_AT32AP7002
98         bool
99         select CPU_AT32AP700X
100
101 # AP700X boards
102 config BOARD_ATNGW100_COMMON
103         bool
104         select CPU_AT32AP7000
105
106 choice
107         prompt "AVR32 board type"
108         default BOARD_ATSTK1000
109
110 config BOARD_ATSTK1000
111         bool "ATSTK1000 evaluation board"
112
113 config BOARD_ATNGW100_MKI
114         bool "ATNGW100 Network Gateway"
115         select BOARD_ATNGW100_COMMON
116
117 config BOARD_ATNGW100_MKII
118         bool "ATNGW100 mkII Network Gateway"
119         select BOARD_ATNGW100_COMMON
120
121 config BOARD_HAMMERHEAD
122         bool "Hammerhead board"
123         select CPU_AT32AP7000
124         select USB_ARCH_HAS_HCD
125         help
126           The Hammerhead platform is built around an AVR32 32-bit microcontroller from Atmel.
127           It offers versatile peripherals, such as ethernet, usb device, usb host etc.
128
129           The board also incorporates a power supply and is a Power over Ethernet (PoE) Powered
130           Device (PD).
131
132           Additionally, a Cyclone III FPGA from Altera is integrated on the board. The FPGA is
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
137           For more information see: http://www.miromico.ch/index.php/hammerhead.html 
138
139 config BOARD_FAVR_32
140         bool "Favr-32 LCD-board"
141         select CPU_AT32AP7000
142
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
156 config BOARD_MIMC200
157         bool "MIMC200 CPU board"
158         select CPU_AT32AP7000
159 endchoice
160
161 source "arch/avr32/boards/atstk1000/Kconfig"
162 source "arch/avr32/boards/atngw100/Kconfig"
163 source "arch/avr32/boards/hammerhead/Kconfig"
164 source "arch/avr32/boards/favr-32/Kconfig"
165 source "arch/avr32/boards/merisc/Kconfig"
166
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
175 source "arch/avr32/mach-at32ap/Kconfig"
176
177 config LOAD_ADDRESS
178         hex
179         default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
180
181 config ENTRY_ADDRESS
182         hex
183         default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
184
185 config PHYS_OFFSET
186         hex
187         default 0x10000000 if CPU_AT32AP700X=y
188
189 source "kernel/Kconfig.preempt"
190
191 config QUICKLIST
192         def_bool y
193
194 config HAVE_ARCH_BOOTMEM
195         def_bool n
196
197 config ARCH_HAVE_MEMORY_PRESENT
198         def_bool n
199
200 config NEED_NODE_MEMMAP_SIZE
201         def_bool n
202
203 config ARCH_FLATMEM_ENABLE
204         def_bool y
205
206 config ARCH_DISCONTIGMEM_ENABLE
207         def_bool n
208
209 config ARCH_SPARSEMEM_ENABLE
210         def_bool n
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
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
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
246 menu "Power management options"
247
248 source "kernel/power/Kconfig"
249
250 config ARCH_SUSPEND_POSSIBLE
251         def_bool y
252
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
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"