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