]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - arch/avr32/Kconfig
ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION
[mirror_ubuntu-zesty-kernel.git] / arch / avr32 / Kconfig
CommitLineData
5f97f7f9 1config 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 26config GENERIC_GPIO
58bd2bfe 27 def_bool y
0a938b97 28
2f026037
HS
29config STACKTRACE_SUPPORT
30 def_bool y
31
320516b7
HS
32config LOCKDEP_SUPPORT
33 def_bool y
34
35config TRACE_IRQFLAGS_SUPPORT
36 def_bool y
37
5f97f7f9 38config RWSEM_GENERIC_SPINLOCK
58bd2bfe 39 def_bool y
5f97f7f9 40
5f97f7f9 41config RWSEM_XCHGADD_ALGORITHM
58bd2bfe 42 def_bool n
5f97f7f9 43
f0d1b0b3 44config ARCH_HAS_ILOG2_U32
58bd2bfe 45 def_bool n
f0d1b0b3
DH
46
47config ARCH_HAS_ILOG2_U64
58bd2bfe 48 def_bool n
f0d1b0b3 49
5f97f7f9 50config GENERIC_HWEIGHT
58bd2bfe 51 def_bool y
5f97f7f9
HS
52
53config GENERIC_CALIBRATE_DELAY
58bd2bfe 54 def_bool y
5f97f7f9 55
623b0355 56config GENERIC_BUG
58bd2bfe 57 def_bool y
623b0355
HS
58 depends on BUG
59
5f97f7f9
HS
60source "init/Kconfig"
61
dc52ddc0
MH
62source "kernel/Kconfig.freezer"
63
5f97f7f9
HS
64menu "System Type and features"
65
66config SUBARCH_AVR32B
67 bool
68config MMU
69 bool
70config PERFORMANCE_COUNTERS
71 bool
72
73config 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
88config CPU_AT32AP700X
89 bool
90 select PLATFORM_AT32AP
5f97f7f9 91config CPU_AT32AP7000
e8897bfe 92 bool
438ff3f3 93 select CPU_AT32AP700X
438ff3f3 94config CPU_AT32AP7001
e8897bfe 95 bool
438ff3f3 96 select CPU_AT32AP700X
438ff3f3 97config CPU_AT32AP7002
78693e47 98 bool
e8897bfe 99 select CPU_AT32AP700X
5f97f7f9 100
3550b931
HCE
101# AP700X boards
102config BOARD_ATNGW100_COMMON
103 bool
104 select CPU_AT32AP7000
105
5f97f7f9
HS
106choice
107 prompt "AVR32 board type"
108 default BOARD_ATSTK1000
109
110config BOARD_ATSTK1000
111 bool "ATSTK1000 evaluation board"
9ca20a83 112
3550b931 113config BOARD_ATNGW100_MKI
9ca20a83 114 bool "ATNGW100 Network Gateway"
3550b931
HCE
115 select BOARD_ATNGW100_COMMON
116
117config BOARD_ATNGW100_MKII
118 bool "ATNGW100 mkII Network Gateway"
119 select BOARD_ATNGW100_COMMON
45c349b5 120
dd5e1339
AR
121config 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
139config BOARD_FAVR_32
140 bool "Favr-32 LCD-board"
141 select CPU_AT32AP7000
5b50c166 142
a16fffdd
JL
143config 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
156config BOARD_MIMC200
157 bool "MIMC200 CPU board"
158 select CPU_AT32AP7000
5f97f7f9
HS
159endchoice
160
a8e93ed8 161source "arch/avr32/boards/atstk1000/Kconfig"
a3bee42f 162source "arch/avr32/boards/atngw100/Kconfig"
dd5e1339 163source "arch/avr32/boards/hammerhead/Kconfig"
45c349b5 164source "arch/avr32/boards/favr-32/Kconfig"
a16fffdd 165source "arch/avr32/boards/merisc/Kconfig"
a8e93ed8 166
5f97f7f9
HS
167choice
168 prompt "Boot loader type"
169 default LOADER_U_BOOT
170
171config LOADER_U_BOOT
172 bool "U-Boot (or similar) bootloader"
173endchoice
174
228e845f
HS
175source "arch/avr32/mach-at32ap/Kconfig"
176
5f97f7f9
HS
177config LOAD_ADDRESS
178 hex
438ff3f3 179 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
5f97f7f9
HS
180
181config ENTRY_ADDRESS
182 hex
438ff3f3 183 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
5f97f7f9
HS
184
185config PHYS_OFFSET
186 hex
438ff3f3 187 default 0x10000000 if CPU_AT32AP700X=y
5f97f7f9
HS
188
189source "kernel/Kconfig.preempt"
190
5a4d5292
HS
191config QUICKLIST
192 def_bool y
193
c1329375 194config HAVE_ARCH_BOOTMEM
58bd2bfe 195 def_bool n
5f97f7f9
HS
196
197config ARCH_HAVE_MEMORY_PRESENT
58bd2bfe 198 def_bool n
5f97f7f9
HS
199
200config NEED_NODE_MEMMAP_SIZE
58bd2bfe 201 def_bool n
5f97f7f9
HS
202
203config ARCH_FLATMEM_ENABLE
58bd2bfe 204 def_bool y
5f97f7f9
HS
205
206config ARCH_DISCONTIGMEM_ENABLE
58bd2bfe 207 def_bool n
5f97f7f9
HS
208
209config ARCH_SPARSEMEM_ENABLE
58bd2bfe 210 def_bool n
5f97f7f9
HS
211
212source "mm/Kconfig"
213
214config 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
222config 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
234source "kernel/Kconfig.hz"
235
236config 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
244endmenu
245
01dd2fbf 246menu "Power management options"
9e58e185 247
02a00cf6
HS
248source "kernel/power/Kconfig"
249
250config ARCH_SUSPEND_POSSIBLE
251 def_bool y
252
9e58e185
HCE
253menu "CPU Frequency scaling"
254
255source "drivers/cpufreq/Kconfig"
256
257config 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
268endmenu
269
270endmenu
271
5f97f7f9
HS
272menu "Bus options"
273
274config PCI
275 bool
276
277source "drivers/pci/Kconfig"
278
279source "drivers/pcmcia/Kconfig"
280
281endmenu
282
283menu "Executable file formats"
284source "fs/Kconfig.binfmt"
285endmenu
286
287source "net/Kconfig"
288
289source "drivers/Kconfig"
290
291source "fs/Kconfig"
292
293source "arch/avr32/Kconfig.debug"
294
295source "security/Kconfig"
296
297source "crypto/Kconfig"
298
299source "lib/Kconfig"