blob: ead727e7f4df21c05a6e1019f6759c6119cd4a2f [file] [log] [blame]
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07001config AVR32
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +01002 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07003 # With EMBEDDED=n, we get lots of stuff automatically selected
4 # that we usually don't need on AVR32.
5 select EMBEDDED
David Brownell9483a572008-07-23 21:26:48 -07006 select HAVE_CLK
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -05007 select HAVE_OPROFILE
Mathieu Desnoyers3f550092008-02-02 15:10:35 -05008 select HAVE_KPROBES
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07009 help
10 AVR32 is a high-performance 32-bit RISC microprocessor core,
11 designed for cost-sensitive embedded applications, with particular
12 emphasis on low power consumption and high code density.
13
14 There is an AVR32 Linux project with a web page at
15 http://avr32linux.org/.
16
David Brownell0a938b92007-03-05 00:30:18 -080017config GENERIC_GPIO
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010018 def_bool y
David Brownell0a938b92007-03-05 00:30:18 -080019
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070020config GENERIC_HARDIRQS
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010021 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070022
Haavard Skinnemoen2f026032007-11-23 20:01:59 +010023config STACKTRACE_SUPPORT
24 def_bool y
25
Haavard Skinnemoen320516b2007-11-26 14:34:57 +010026config LOCKDEP_SUPPORT
27 def_bool y
28
29config TRACE_IRQFLAGS_SUPPORT
30 def_bool y
31
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070032config HARDIRQS_SW_RESEND
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010033 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070034
35config GENERIC_IRQ_PROBE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010036 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070037
38config RWSEM_GENERIC_SPINLOCK
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010039 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070040
41config GENERIC_TIME
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010042 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070043
David Brownelle723ff62008-02-14 11:24:02 -080044config GENERIC_CLOCKEVENTS
45 def_bool y
46
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070047config RWSEM_XCHGADD_ALGORITHM
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010048 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070049
David Howellsf0d1b0b2006-12-08 02:37:49 -080050config ARCH_HAS_ILOG2_U32
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010051 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080052
53config ARCH_HAS_ILOG2_U64
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010054 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080055
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070056config GENERIC_HWEIGHT
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010057 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070058
59config GENERIC_CALIBRATE_DELAY
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010060 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070061
Haavard Skinnemoen623b0352007-03-13 17:59:11 +010062config GENERIC_BUG
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +010063 def_bool y
Haavard Skinnemoen623b0352007-03-13 17:59:11 +010064 depends on BUG
65
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070066source "init/Kconfig"
67
Matt Helsleydc52ddc2008-10-18 20:27:21 -070068source "kernel/Kconfig.freezer"
69
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070070menu "System Type and features"
71
David Brownelle723ff62008-02-14 11:24:02 -080072source "kernel/time/Kconfig"
73
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070074config SUBARCH_AVR32B
75 bool
76config MMU
77 bool
78config PERFORMANCE_COUNTERS
79 bool
80
81config PLATFORM_AT32AP
82 bool
83 select SUBARCH_AVR32B
84 select MMU
85 select PERFORMANCE_COUNTERS
Michael Buesch7444a722008-07-25 01:46:11 -070086 select ARCH_REQUIRE_GPIOLIB
Haavard Skinnemoenb83d6ee12008-03-05 10:00:28 +010087 select GENERIC_ALLOCATOR
Nicolas Ferre0912e532009-06-23 16:30:56 +020088 select HAVE_FB_ATMEL
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070089
Haavard Skinnemoene8897bf2007-11-29 11:15:15 +010090#
91# CPU types
92#
93
94# AP7000 derivatives
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +010095config CPU_AT32AP700X
96 bool
97 select PLATFORM_AT32AP
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070098config CPU_AT32AP7000
Haavard Skinnemoene8897bf2007-11-29 11:15:15 +010099 bool
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100100 select CPU_AT32AP700X
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100101config CPU_AT32AP7001
Haavard Skinnemoene8897bf2007-11-29 11:15:15 +0100102 bool
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100103 select CPU_AT32AP700X
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100104config CPU_AT32AP7002
Haavard Skinnemoene8897bf2007-11-29 11:15:15 +0100105 bool
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100106 select CPU_AT32AP700X
107
Hans-Christian Egtvedt3550b932009-12-03 14:58:20 +0100108# AP700X boards
109config BOARD_ATNGW100_COMMON
110 bool
111 select CPU_AT32AP7000
112
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700113choice
114 prompt "AVR32 board type"
115 default BOARD_ATSTK1000
116
117config BOARD_ATSTK1000
118 bool "ATSTK1000 evaluation board"
Haavard Skinnemoen9ca20a82007-04-12 17:26:57 +0200119
Hans-Christian Egtvedt3550b932009-12-03 14:58:20 +0100120config BOARD_ATNGW100_MKI
Haavard Skinnemoen9ca20a82007-04-12 17:26:57 +0200121 bool "ATNGW100 Network Gateway"
Hans-Christian Egtvedt3550b932009-12-03 14:58:20 +0100122 select BOARD_ATNGW100_COMMON
123
124config BOARD_ATNGW100_MKII
125 bool "ATNGW100 mkII Network Gateway"
126 select BOARD_ATNGW100_COMMON
Hans-Christian Egtvedt45c349b2008-07-29 09:25:37 +0000127
Alex Raimondidd5e1332008-12-09 16:17:13 +0100128config BOARD_HAMMERHEAD
129 bool "Hammerhead board"
130 select CPU_AT32AP7000
131 select USB_ARCH_HAS_HCD
132 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100133 The Hammerhead platform is built around an AVR32 32-bit microcontroller from Atmel.
Alex Raimondidd5e1332008-12-09 16:17:13 +0100134 It offers versatile peripherals, such as ethernet, usb device, usb host etc.
135
Matt LaPlante692105b2009-01-26 11:12:25 +0100136 The board also incorporates a power supply and is a Power over Ethernet (PoE) Powered
Alex Raimondidd5e1332008-12-09 16:17:13 +0100137 Device (PD).
138
Matt LaPlante692105b2009-01-26 11:12:25 +0100139 Additionally, a Cyclone III FPGA from Altera is integrated on the board. The FPGA is
Alex Raimondidd5e1332008-12-09 16:17:13 +0100140 mapped into the 32-bit AVR memory bus. The FPGA offers two DDR2 SDRAM interfaces, which
141 will cover even the most exceptional need of memory bandwidth. Together with the onboard
142 video decoder the board is ready for video processing.
143
144 For more information see: http://www.miromico.com/hammerhead
145
Hans-Christian Egtvedt45c349b2008-07-29 09:25:37 +0000146config BOARD_FAVR_32
147 bool "Favr-32 LCD-board"
148 select CPU_AT32AP7000
Mark Jackson5b50c162008-10-13 13:14:50 +0000149
Jonas Larssona16fffdd2009-03-27 10:18:14 +0100150config BOARD_MERISC
151 bool "Merisc board"
152 select CPU_AT32AP7000
153 help
154 Merisc is the family name for a range of AVR32-based boards.
155
156 The boards are designed to be used in a man-machine
157 interfacing environment, utilizing a touch-based graphical
158 user interface. They host a vast range of I/O peripherals as
159 well as a large SDRAM & Flash memory bank.
160
161 For more information see: http://www.martinsson.se/merisc
162
Mark Jackson5b50c162008-10-13 13:14:50 +0000163config BOARD_MIMC200
164 bool "MIMC200 CPU board"
165 select CPU_AT32AP7000
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700166endchoice
167
David Brownella8e93ed2007-06-12 14:34:47 +0200168source "arch/avr32/boards/atstk1000/Kconfig"
Hans-Christian Egtvedta3bee422008-07-01 08:29:27 +0000169source "arch/avr32/boards/atngw100/Kconfig"
Alex Raimondidd5e1332008-12-09 16:17:13 +0100170source "arch/avr32/boards/hammerhead/Kconfig"
Hans-Christian Egtvedt45c349b2008-07-29 09:25:37 +0000171source "arch/avr32/boards/favr-32/Kconfig"
Jonas Larssona16fffdd2009-03-27 10:18:14 +0100172source "arch/avr32/boards/merisc/Kconfig"
David Brownella8e93ed2007-06-12 14:34:47 +0200173
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700174choice
175 prompt "Boot loader type"
176 default LOADER_U_BOOT
177
178config LOADER_U_BOOT
179 bool "U-Boot (or similar) bootloader"
180endchoice
181
Haavard Skinnemoen228e8452007-03-07 15:24:34 +0100182source "arch/avr32/mach-at32ap/Kconfig"
183
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700184config LOAD_ADDRESS
185 hex
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100186 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700187
188config ENTRY_ADDRESS
189 hex
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100190 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700191
192config PHYS_OFFSET
193 hex
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +0100194 default 0x10000000 if CPU_AT32AP700X=y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700195
196source "kernel/Kconfig.preempt"
197
Haavard Skinnemoen5a4d5292008-01-14 23:33:44 +0100198config QUICKLIST
199 def_bool y
200
Tejun Heoc1329372009-02-24 11:57:20 +0900201config HAVE_ARCH_BOOTMEM
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100202 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700203
204config ARCH_HAVE_MEMORY_PRESENT
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100205 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700206
207config NEED_NODE_MEMMAP_SIZE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100208 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700209
210config ARCH_FLATMEM_ENABLE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100211 def_bool y
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700212
213config ARCH_DISCONTIGMEM_ENABLE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100214 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700215
216config ARCH_SPARSEMEM_ENABLE
Haavard Skinnemoen58bd2bf2007-11-23 19:25:00 +0100217 def_bool n
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700218
219source "mm/Kconfig"
220
221config OWNERSHIP_TRACE
222 bool "Ownership trace support"
223 default y
224 help
225 Say Y to generate an Ownership Trace message on every context switch,
226 enabling Nexus-compliant debuggers to keep track of the PID of the
227 currently executing task.
228
Haavard Skinnemoene7ba1762007-10-10 14:58:29 +0200229config NMI_DEBUGGING
230 bool "NMI Debugging"
231 default n
232 help
233 Say Y here and pass the nmi_debug command-line parameter to
234 the kernel to turn on NMI debugging. Depending on the value
235 of the nmi_debug option, various pieces of information will
236 be dumped to the console when a Non-Maskable Interrupt
237 happens.
238
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700239# FPU emulation goes here
240
241source "kernel/Kconfig.hz"
242
243config CMDLINE
244 string "Default kernel command line"
245 default ""
246 help
247 If you don't have a boot loader capable of passing a command line string
248 to the kernel, you may specify one here. As a minimum, you should specify
249 the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
250
251endmenu
252
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200253menu "Power management options"
Hans-Christian Egtvedt9e58e182007-06-04 16:10:57 +0200254
Haavard Skinnemoen02a00cf2008-02-24 13:51:38 +0100255source "kernel/power/Kconfig"
256
257config ARCH_SUSPEND_POSSIBLE
258 def_bool y
259
Hans-Christian Egtvedt9e58e182007-06-04 16:10:57 +0200260menu "CPU Frequency scaling"
261
262source "drivers/cpufreq/Kconfig"
263
264config CPU_FREQ_AT32AP
265 bool "CPU frequency driver for AT32AP"
266 depends on CPU_FREQ && PLATFORM_AT32AP
267 default n
268 help
269 This enables the CPU frequency driver for AT32AP processors.
270
271 For details, take a look in <file:Documentation/cpu-freq>.
272
273 If in doubt, say N.
274
275endmenu
276
277endmenu
278
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700279menu "Bus options"
280
281config PCI
282 bool
283
284source "drivers/pci/Kconfig"
285
286source "drivers/pcmcia/Kconfig"
287
288endmenu
289
290menu "Executable file formats"
291source "fs/Kconfig.binfmt"
292endmenu
293
294source "net/Kconfig"
295
296source "drivers/Kconfig"
297
298source "fs/Kconfig"
299
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -0700300source "arch/avr32/Kconfig.debug"
301
302source "security/Kconfig"
303
304source "crypto/Kconfig"
305
306source "lib/Kconfig"